Template:Spoilerbox: Difference between revisions
Jump to navigation
Jump to search
(Add an optional about= parameter) |
m (Don't strip whitespace before "about") |
||
Line 1: | Line 1: | ||
{|class="mw-collapsible mw-collapsed wikitable" style="width:100%;" | {|class="mw-collapsible mw-collapsed wikitable" style="width:100%;" | ||
|- | |- | ||
!style="text-align:left; padding:10px;"|Warning, this section contains spoilers{{#if:{{{about|}}}| about {{{about}}}|}}. | !style="text-align:left; padding:10px;"|Warning, this section contains spoilers{{#if:{{{about|}}}|<nowiki/> about {{{about}}}|}}. | ||
|- | |- | ||
|style="padding:10px; background:#fff;"| | |style="padding:10px; background:#fff;"| | ||
{{{1|<noinclude>Just wrap any text in <nowiki>{{Spoilerbox|</nowiki>...<nowiki>}}</nowiki> to put it in a box like this. Optionally add <nowiki>|about=</nowiki> to add a phrased describing the spoilers.</noinclude>}}} | {{{1|<noinclude>Just wrap any text in <nowiki>{{Spoilerbox|</nowiki>...<nowiki>}}</nowiki> to put it in a box like this. Optionally add <nowiki>|about=</nowiki> to add a phrased describing the spoilers.</noinclude>}}} | ||
|} | |} |
Revision as of 05:54, 7 March 2022
Warning, this section contains spoilers. |
---|
Just wrap any text in {{Spoilerbox|...}} to put it in a box like this. Optionally add |about= to add a phrased describing the spoilers. |