Template
Template link/doc
From Dogcraft Wiki
No edit summary |
m (Text replacement - "Category:Templates" to "Category:Documented templates") |
||
(8 intermediate revisions by the same user not shown) | |||
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. | |||
=== Description === | === Description === | ||
A template link with a variable number of example parameters (0-20), which can be used to show example inputs. | A template link with a variable number of example parameters (0-20), which can be used to show example inputs. | ||
Line 15: | Line 20: | ||
[[w:c:wow:Template:T|Template:T]] on WoWWiki | [[w:c:wow:Template:T|Template:T]] on WoWWiki | ||
<includeonly>[[Category: | <includeonly>[[Category:Documented templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>[[Category:Documentation templates]] |
Latest revision as of 07:17, 4 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