w:c:strategywiki>Prod m (added clear before, fixed css) |
m (22 revisions imported: Imported from https://strategywiki.org/) |
||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
< | <templatestyles src="Template:Spoiler/styles.css" />{{-}}<div class="mw-collapsible mw-collapsed spoiler_box"><div class="spoiler_box_title">{{{title|Spoiler}}}</div><div class="mw-collapsible-content"> | ||
{{{content|{{{1|}}}}}} | |||
{{{content|{{{1}}}}}} | {{-}}</div></div><noinclude> | ||
{{TemplateStyles|Template:Spoiler/styles.css}} | |||
Template for hiding small spoiler sections. If a whole page is a spoiler, use | Template for hiding small spoiler sections. If a whole page is a spoiler, use {{t|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 <code>title</code> parameter. | The first parameter is the information to hide in the spoiler box. To change the title of the box to something else, set the <code>title</code> parameter. | ||
[[Category:Templates | [[Category:Templates]]</noinclude> |
Latest revision as of 18:29, 28 October 2023
Spoiler
This template uses TemplateStyles: |
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.