Template:Spoiler section: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
m (Text replacement - "<div class="pikipediaBox" style="margin-left: 64px;" to "<div class="pikipediaBox show" style="margin-left: 64px;")
Line 2: Line 2:
|-
|-
!
!
<div class="pikipediaBox" style="margin-left: 64px; margin-right: 64px; font-weight: normal; padding: 8px; width: 300px;">''Warning: the following text contains major '''[[Pikipedia:Spoiler policy|spoilers]]'''{{#if:{{{2|}}}|&nbsp;about {{{2}}}}}.''</div>
<div class="pikipediaBox show" style="margin-left: 64px; margin-right: 64px; font-weight: normal; padding: 8px; width: 300px;">''Warning: the following text contains major '''[[Pikipedia:Spoiler policy|spoilers]]'''{{#if:{{{2|}}}|&nbsp;about {{{2}}}}}.''</div>
|-
|-
| style="border-left: dotted 2px; padding-left: 1em;" | {{{1}}}
| style="border-left: dotted 2px; padding-left: 1em;" | {{{1}}}

Revision as of 07:14, October 22, 2020

Warning: the following text contains major spoilers.
{{{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.