Difference between revisions of "Template:Spoiler/doc"
Jump to navigation
Jump to search
WikimanBot (talk | contribs) (template doc) |
(note about links) |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
;Example | ;Example | ||
− | :Normal text before spoiler and {{spoiler|the spoiler text. [[ | + | :Normal text before spoiler and {{spoiler|the spoiler text. [[Main Page|Internal]] and [http://underrail.com external] links look like this inside spoilers.}} And some more text after spoiler. |
+ | :Spoilers can also be included inside piped links to obscure a part of the link: <code><nowiki>[[Destroy Tchort|Destroy {{Spoiler|Tchort}}]]</nowiki></code> results in [[Destroy Tchort|Destroy {{Spoiler|Tchort}}]]. | ||
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 05:10, 15 October 2017
- Description
- This template is used for short and/or inline spoilers.
- Syntax
- Insert this template using
{{spoiler|<hidden text>}}
- Example
- Normal text before spoiler and the spoiler text. Internal and external links look like this inside spoilers. And some more text after spoiler.
- Spoilers can also be included inside piped links to obscure a part of the link:
[[Destroy Tchort|Destroy {{Spoiler|Tchort}}]]
results in Destroy Tchort.