Template:Spoiler block: Difference between revisions

From fattwiki
TwilightMirageWiki>Macroura
(Created page with "{| width=100% class="mwCollapsibleAltered mw-collapsible mw-collapsed" data-expandtext="Show" data-collapsetext="Hide" style="border: 1px solid; width:100%; margin:auto; borde...")
 
TwilightMirageWiki>Macroura
No edit summary
Line 1: Line 1:
{| width=100% class="mwCollapsibleAltered mw-collapsible mw-collapsed" data-expandtext="Show" data-collapsetext="Hide" style="border: 1px solid; width:100%; margin:auto; border-radius:5px; border: 1px solid #BCBCBC;"
{| width=100% class="mwCollapsibleAltered mw-collapsible mw-collapsed" data-expandtext="Show" data-collapsetext="Hide" style="border: 1px solid; width:100%; margin:auto; border-radius:5px; border: 1px solid #BCBCBC;"
! style="text-align:left;"|[[Spoiler Alert]]{{#if:{{{1|}}}|Spoiler: {{{1}}}|Spoiler}}  
! style="text-align:left;"|{{#if:{{{1|}}}|Spoiler: {{{1}}}|Spoiler}}  
|-
|-
|<hr style="background-color: #BCBCBC; border: 0px; height: 1px">{{#if:{{{2|}}}|{{{2}}}|''Please insert content.''}}
|<hr style="background-color: #BCBCBC; border: 0px; height: 1px">{{#if:{{{2|}}}|{{{2}}}|''Please insert content.''}}
|}<noinclude>
|}<noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 01:18, 8 May 2018

Spoiler

Please insert content.

Empty template

{{ Spoiler block
| spoiling =
| theme = 
| text =
}}

Usage example

Spoiler

Please insert content.
{{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.

Template parameters

ParameterDescriptionTypeStatus
Spoilers forspoiling

What season/episode/arc this is a spoiler for.

Example
the COUNTER/Weight finale
Unknownrequired
Spoiler texttext

The hidden spoiler text.

Example
Darth Vader is Luke's father. Sorry it seemed silly to use a FatT example here
Unknownrequired
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.

Default
Defaults to placeholder FatT logo and default color of the wiki.
Example
aih
Unknownsuggested