Template:Spoiler: Difference between revisions

Template page
w:c:strategywiki>DrBob
m (Cleanup)
w:c:strategywiki>Prod
(adding optional title incase someone wants to change title)
Line 1: Line 1:
<div class="NavFrame" style= border: 1px solid #bc7d7d; "><div class="NavHead" style="text-align: center; font-weight: bold; background-color: #f1d0d0; font-size: 1.2em;">Spoiler</div>
<div class="NavFrame" style= border: 1px solid #bc7d7d; "><div class="NavHead" style="text-align: center; font-weight: bold; background-color: #f1d0d0; font-size: 1.2em;">{{qif|test={{{title|}}}|then={{{title}}}|else=Spoiler}}</div>
<div class="NavContent" style="text-align: left">
<div class="NavContent" style="text-align: left">
----
----
Line 5: Line 5:


Template for hiding small spoiler sections. If a whole page is a spoiler, use the [[Template:Spoilers]] template.
Template for hiding small spoiler sections. If a whole page is a spoiler, use the [[Template:Spoilers]] template.
To change the title of the box to something else, set the |title parameter.


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

Revision as of 21:48, 11 October 2006

Template for hiding small spoiler sections. If a whole page is a spoiler, use the Template:Spoilers template.

To change the title of the box to something else, set the |title parameter.