Difference between revisions of "Template:Spoiler"

From Wurmpedia
Jump to navigation Jump to search
(Spoiler template)
 
m (fixed broken links)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
<includeonly>
 
<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>
 +
</includeonly><noinclude>
 +
[[Main Page]] / [[:Category:Template|Templates]] / {{PAGENAME}}
 +
 +
A spoiler with no header
 +
 +
'''Usage''':
 +
 +
<span style="background:#E6FFE6;"><nowiki>{{Spoiler|hidden text}}</nowiki></span> produces a {{Spoiler|collapsible hidden text}}
 +
 +
[[Category:Template]]
 +
</noinclude>

Latest revision as of 16:04, 3 November 2016

Main Page / Templates / Spoiler

A spoiler with no header

Usage:

{{Spoiler|hidden text}} produces a

collapsible hidden text