Template:Spoilerbox: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Add an optional about= parameter)
m (typo)
 
(2 intermediate revisions by the same user not shown)
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 <pre><nowiki>{{Spoilerbox|</nowiki>...<nowiki>}}</nowiki></pre> to put it in a box like this. Optionally add <pre><nowiki>|about=</nowiki></pre> to add a phrase describing the spoilers.</noinclude>}}}
|}
|}

Latest revision as of 05:56, 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 phrase describing the spoilers.