Difference between revisions of "Template:T/doc"

From Underrail Wiki
Jump to navigation Jump to search
(new template doc)
 
m
 
Line 5: Line 5:
 
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}}
 
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}}
 
;Sample code
 
;Sample code
:<code><nowiki>{{t|welcome}}</nowiki></code> gives...
+
:<code><nowiki>{{t|stub}}</nowiki></code> gives...
:{{t|welcome}}
+
:{{t|stub}}
:<code><nowiki>{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives...
 
:{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}
 
  
 
<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 08:00, 8 August 2013

Description
A template link with a variable number of example parameters (0-20), which can be used to show example inputs.
Utilises Template:T/piece.
Syntax
{{t|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<...>|<parameter20>}}
Sample code
{{t|stub}} gives...
{{stub}}