Difference between revisions of "Template:T/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (1 revision: Full import of Wikia (that might sting a bit))
 
(Changed category.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
;Description
+
__NOTOC__
:A template link with a variable number of example parameters (0-20), which can be used to show example inputs.
+
==Description==
:Utilises [[Template:T/piece]].
+
A template link with a variable number of example parameters (0-20), which can be used to show example inputs.
;Syntax
 
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}}
 
;Sample code
 
:<code><nowiki>{{t|welcome}}</nowiki></code> gives...
 
:{{t|welcome}}
 
:<code><nowiki>{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> gives...
 
:{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}
 
;See also
 
:[[w:c:wow:Template:T|Template:T]] on WoWWiki
 
  
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
Utilises [[Template:T/piece]].
 +
 
 +
==Syntax==
 +
{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}}
 +
 
 +
==Samples==
 +
<code><nowiki>{{t|welcome}}</nowiki></code> results in...
 +
 
 +
{{t|welcome}}
 +
 
 +
 
 +
<code><nowiki>{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> results in...
 +
 
 +
{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}}
 +
 
 +
==See Also==
 +
* [http://wowwiki.wikia.com/wiki/Template:T WoWWiki Template:T]
 +
* [[Template:T/piece]]
 +
 
 +
<includeonly>[[Category:Formatting templates]]</includeonly>
 +
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 20:28, 10 February 2021

Description[edit]

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[edit]

{{t|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<...>|<parameter20>}}

Samples[edit]

{{t|welcome}} results in...

{{welcome}}


{{t|welcome|Item1|Item2|Item3|Item4|Item5|...}} results in...

{{welcome|<Item1>|<Item2>|<Item3>|<Item4>|<Item5>|<...>}}

See Also[edit]