Template:Spoiler: Difference between revisions

Template page
w:c:strategywiki>Prod
(adding optional title incase someone wants to change title)
w:c:strategywiki>Prod
(rv back to prev version)
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;">{{qif|test={{{title|}}}|then={{{title}}}|else=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;">Spoiler</div>
<div class="NavContent" style="text-align: left">
<div class="NavContent" style="text-align: left">
----
----

Revision as of 21:57, 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.