Difference between revisions of "Template:Spoilerheader"
Jump to navigation
Jump to search
m |
|||
Line 2: | Line 2: | ||
<div class="toccolours mw-collapsible mw-collapsed " style="width:relative; overflow: hidden;"> | <div class="toccolours mw-collapsible mw-collapsed " style="width:relative; overflow: hidden;"> | ||
{{{1}}} | {{{1}}} | ||
− | </div> | + | <div class="mw-collapsible-content">{{{2}}} |
+ | </div></div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
[[Main Page]] / [[:Category:Template|Templates]] / {{PAGENAME}} | [[Main Page]] / [[:Category:Template|Templates]] / {{PAGENAME}} | ||
− | A spoiler with | + | A spoiler with a header |
'''Usage''': | '''Usage''': | ||
− | + | <span style="background:#E6FFE6;"><nowiki>{{Spoilerheader|Visible header|collapsible hidden text}}</nowiki></span> produces a {{Spoilerheader|Visible header|collapsible hidden text}} | |
− | <span style="background:#E6FFE6;"><nowiki>{{ | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |