Template:Spoiler section: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| class="collapsible" style="width: 100%;" | {| class="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}} | ||
Line 18: | Line 18: | ||
! 2 | ! 2 | ||
| No || || Specifics || Specific content or game that could get spoiled. e.g. "Pikmin 3" or "the final boss". | | 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. | |||
|} | |} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 11:21, June 18, 2015
| |
{{{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. |