Template:Spoiler section: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| class="collapsible {{#if:{{{collapsed|}}}|collapsed}}" style="width: 100%;" | {| class="mw-collapsible {{#if:{{{collapsed|}}}|collapsed}}" style="width: 100%;" | ||
|- | |- | ||
|{{box|<p style{{=}}"margin-left: 64px; margin-right: 64px;">''Warning: the following text contains major '''[[Pikipedia:Spoiler policy|spoilers]]'''{{#if:{{{2|}}}| about {{{2}}}}}.''</p>|||text-align:center;|class=collapsiblebutton}} | |{{box|<p style{{=}}"margin-left: 64px; margin-right: 64px;">''Warning: the following text contains major '''[[Pikipedia:Spoiler policy|spoilers]]'''{{#if:{{{2|}}}| about {{{2}}}}}.''</p>|||text-align:center;|class=collapsiblebutton}} |
Revision as of 08:35, March 25, 2017
| |
{{{1}}} |
Info
Use this template to make a block of text that contains spoilers collapsible.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | Yes | Text | The text to make collapsible. | |
2 | No | Specifics | Specific content or game that could get spoiled. e.g. "Pikmin 3" or "the final boss". | |
collapsed | No | Collapsed | Give this a value, like "y", to make it collapsed (hidden) by default. |