Template:HideSpoiler/doc
Jump to navigation
Jump to search
Description
The HideSpoiler template allows you to place hidden text on a wiki page, which forces the reader to click on it to view the information.
Usage
{{HideSpoiler|text}} {{HideSpoiler|text|type}} {{HideSpoiler|text|type|width}} {{HideSpoiler|text|type|width|translation}}
Examples
{{HideSpoiler|Wynncraft is the greatest RPG ever!}}
will produce:
Spoiler! The hidden text contains spoilers relating to HideSpoiler/doc.
|
Wynncraft is the greatest RPG ever!
|
{{HideSpoiler|The king is found in Ragni Castle|King's Recruit quest}}
will produce:
Spoiler! The hidden text contains spoilers relating to King's Recruit quest.
|
The king is found in Ragni Castle
|
{{HideSpoiler|There is an easter egg in Troms|Easter Eggs|60}}
will produce:
Spoiler! The hidden text contains spoilers relating to Easter Eggs.
|
There is an easter egg in Troms
|
{{HideSpoiler|jk jk jk|Colin's Cipher|100|'''Spoiler alert:''' the hidden text contains spoilers relating to}}
will produce:
Spoiler alert: the hidden text contains spoilers relating to Colin's Cipher.
|
jk jk jk
|
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.