From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(moved to common.css)
(use TemplateStyles)
Line 1: Line 1:
{{-}}<div class="NavFrame" style="padding: 0; border: 1px solid #bc7d7d"><div class="NavHead" style="background-color: #f1d0d0; font-size: 1.2em;">'''{{{title|Spoiler}}}'''</div><div class="NavContent" style="text-align: left; display: none; border-top: 1px solid #ccc; padding: 1em;">{{{content|{{{1|}}}}}}</div></div><noinclude>
<templatestyles src="Template:Spoiler/styles.css" />{{-}}<div class="NavFrame spoiler_box"><div class="NavHead">{{{title|Spoiler}}}</div><div class="NavContent" style="display:none">{{{content|{{{1|}}}}}}</div></div><noinclude>
{{TemplateStyles|Template:Spoiler/styles.css}}
Template for hiding small spoiler sections. If a whole page is a spoiler, use {{t|spoilerspage}}.
Template for hiding small spoiler sections. If a whole page is a spoiler, use {{t|spoilerspage}}.



Revision as of 04:43, 30 December 2020

Template for hiding small spoiler sections. If a whole page is a spoiler, use {{spoilerspage}}.

The first parameter is the information to hide in the spoiler box. To change the title of the box to something else, set the title parameter.