Difference between revisions of "Template:T/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(updated format and category links)
m (re-cat)
Line 22: Line 22:
  
 
<includeonly>[[Category:Templates]][[Category:Template Utility]]</includeonly>
 
<includeonly>[[Category:Templates]][[Category:Template Utility]]</includeonly>
<noinclude>[[Category:Template Documentation]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 14:35, 1 August 2019

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>}}

Samples

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

{{welcome}}


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

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

See Also