Template
Template link/doc
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
''For template links including the barckets, see the {{tt|tt}} template.''<br /> | |||
''For expanded template links, see {{template link|tlx}}.'' | |||
The {{t|t}}, {{t|tl}} and {{t|template}} templates serve as an alias for this template and redirect to it. The {{t|t}}, {{t|tl}} and {{t|template}} templates can still be used on pages if someone prefers a shorter version, they will function. | The {{t|t}}, {{t|tl}} and {{t|template}} templates serve as an alias for this template and redirect to it. The {{t|t}}, {{t|tl}} and {{t|template}} templates can still be used on pages if someone prefers a shorter version, they will function. | ||
Revision as of 23:26, 3 December 2023
For template links including the barckets, see the {{tt}} template.
For expanded template links, see {{tlx}}.
The {{t}}, {{tl}} and {{template}} templates serve as an alias for this template and redirect to it. The {{t}}, {{tl}} and {{template}} templates can still be used on pages if someone prefers a shorter version, they will function.
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|infobox}}
gives...
{{Infobox character}}
{{t|Infobox character|Item1|Item2|Item3|Item4|Item5|...}}
gives...
{{Infobox character|<Item1>|<Item2>|<Item3>|<Item4>|<Item5>|<...>}}
See also
Template:T on WoWWiki