Jump to navigation
Jump to search
(made with help from http://en.wikipedia.org/wiki/Template:Hidden) |
(should use contents instead of content) |
||
(21 intermediate revisions by 5 users 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"> | ||
<div class=" | {{{contents|{{{content|{{{1|}}}}}}}}} | ||
{{-}}</div></div><noinclude> | |||
{{{content|{{{1}}}}}}</div></div> | {{TemplateStyles|Template:Spoiler/styles.css}} | ||
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. This can also be provided with the <code>contents</code> parameter. To change the title of the box to something else, set the <code>title</code> parameter. | |||
[[Category:Templates]]</noinclude> |
Latest revision as of 16:07, 29 May 2024
Spoiler
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. This can also be provided with the contents
parameter. To change the title of the box to something else, set the title
parameter.