Imperialhare (talk | contribs) m (Imperialhare moved page Template:Spoiler Block to Template:Spoiler block) |
Imperialhare (talk | contribs) mNo edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<div class="spoiler-block spoiler-hidden" style="min-height:75px; clear:left"> <div style="border-radius: 75px; padding:2px" class="spoiler-warning"> <div style="display:flex; border-radius:75px; border: 2px solid var(--color-{{{theme|primary}}});align-items:center;background-color:var(--color-{{#if: {{{theme|}}}|{{{theme}}}2|background}})"> {{#if: {{{theme|}}} | [[File:{{{theme}}}cover.jpg|frameless|75px|link=]] | [[File:Fatt_logo_purple_background.png|frameless|75px|link=]]}} <div class="spoiler-warning-text" style="border-radius:75px; align-items:center; padding-left:2em; padding-right:2em"> <p>'''This section contains spoilers for {{{spoiling}}}.'''<br>Click here to reveal.</p> </div> </div> </div> <div class="spoiler-text">{{{text}}}</div> </div><templatestyles src="Spoiler | <div class="spoiler-block spoiler-hidden" style="min-height:75px; clear:left"> <div style="border-radius: 75px; padding:2px" class="spoiler-warning"> <div style="display:flex; border-radius:75px; border: 2px solid var(--color-{{{theme|primary}}});align-items:center;background-color:var(--color-{{#if: {{{theme|}}}|{{{theme}}}2|background}})"> {{#if: {{{theme|}}} | [[File:{{{theme}}}cover.jpg|frameless|75px|link=]] | [[File:Fatt_logo_purple_background.png|frameless|75px|link=]]}} <div class="spoiler-warning-text" style="border-radius:75px; align-items:center; padding-left:2em; padding-right:2em"> <p>'''This section contains spoilers for {{{spoiling}}}.'''<br>Click here to reveal.</p> </div> </div> </div> <div class="spoiler-text">{{{text}}}</div> </div><templatestyles src="Spoiler block/style.css"></templatestyles> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Templates]][[Category:Spoiler templates]] | [[Category:Templates]][[Category:Spoiler templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:07, 23 July 2022
This section contains spoilers for {{{spoiling}}}.
Click here to reveal.
{{{text}}}
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Empty template
{{ Spoiler block | spoiling = | theme = | text = }}
Usage example
This section contains spoilers for Autumn in Hieron.
Click here to reveal.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{Spoiler block | spoiling = Autumn in Hieron | theme = aih | text = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}
Template style
Template:Spoiler block/style.css
Template data
This template is used to hide spoilers. Readers can click on the spoiler warning to reveal the spoiler text. They can click on the image again to re-hide the spoiler.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Spoilers for | spoiling | What season/episode/arc this is a spoiler for.
| Unknown | required |
Spoiler text | text | The hidden spoiler text.
| Unknown | required |
Theme (season) | theme | The season color theme you want to use. This automatically applies the season's cover art and wiki color. See [[Getting Started#Colors]] for a list of options.
| Unknown | suggested |