Difference between revisions of "Template:Spoiler/doc"

From Underrail Wiki
Jump to navigation Jump to search
m
(note about links)
 
Line 7: Line 7:
 
;Example
 
;Example
 
: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.
 
: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 06: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.