Template:T/doc: Difference between revisions
m (Djinnet moved page T/doc to Template:T/doc without leaving a redirect: fixing the doc path error) |
m (Update from general wiki category to the base category for templates) |
||
Line 14: | Line 14: | ||
:<code><nowiki>{{t|t|style=code}}</nowiki></code> gives... | :<code><nowiki>{{t|t|style=code}}</nowiki></code> gives... | ||
:{{t|t|style=code}} | :{{t|t|style=code}} | ||
<includeonly>[[Category: | <includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 12:35, 11 October 2024
- Description
- A template link with a variable number of example parameters (0–20), which can be used to show example inputs.
- Syntax
{{t}}
- Sample code
{{t|t}}
gives...{{t}}
{{t|t|Item1|Item2|Item3|Item4|Item5|...}}
gives...{{t}}
{{t|t|2=param1=Item1}}
gives...{{t}}
{{t|t|prefix=subst}}
gives...{{t}}
{{t|t|style=code}}
gives...{{t}}