Difference between revisions of "Template:Spoiler"
Pickysaurus (talk | contribs) (Created page with "<noinclude> = Usage = Useful for hiding content in a collapsed banner either to compact the page or conceal spoilers. = Parameters = * title = Replaces Spoiler with your own...") |
Pickysaurus (talk | contribs) m (→Example) |
||
Line 14: | Line 14: | ||
<pre>{{Spoiler | <pre>{{Spoiler | ||
|Spoiler text | |Spoiler text | ||
− | | title = Custom Title | + | | title = Custom Title 250px wide |
| width = 250px | | width = 250px | ||
| hidden = N | | hidden = N |
Latest revision as of 15:55, 13 August 2019
Usage
Useful for hiding content in a collapsed banner either to compact the page or conceal spoilers.
Parameters
- title = Replaces Spoiler with your own title
- hidden = Set to "N" to have the content expanded by default.
- width = Set width of the spoiler.
Example
{{Spoiler|Spoiler text}}
Spoiler
Spoiler text
{{Spoiler |Spoiler text | title = Custom Title 250px wide | width = 250px | hidden = N }}
Custom Title 250px wide
Shown by default