Template:Spoiler section: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="collapsible" style="width: 100%;"
{| class="mw-collapsible {{#if:{{{collapsed|}}}|mw-collapsed}}"
|-
!
!
{| class="wikitable" style="text-align: center; margin: 0 auto; width: 400px;"
<div class="pikipediaBox show" style="margin-left: 64px; margin-right: 64px !important; font-weight: normal; padding: 8px; max-width: max-content;">''Warning: the following text contains major '''[[Pikipedia:Spoiler policy|spoilers]]'''{{#if:{{{2|}}}|&nbsp;about {{{2}}}}}.''</div>
|''Warning: this text contains '''[[Pikipedia:Spoiler policy|spoilers]]'''''.
|}
|-
|-
| {{{1}}}
| style="border-left: dotted 2px; padding-left: 1em;" | {{{1}}}
|}<noinclude>
|}<noinclude>


{{todo|Update this, or delete it altogether.}}
==Info==
Use this template to make a block of text that contains spoilers collapsible.
 
==Parameters==
{| class="wikitable"
! 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.
|}


[[Category:Templates]]
[[Category:Templates]]</noinclude>
</noinclude>

Latest revision as of 10:50, August 4, 2023

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.