Template

Template link/doc

From Dogcraft Wiki

(Added category: Documentation templates)
m (Text replacement - "Category:Templates" to "Category:Documented templates")
 
Line 20: Line 20:
[[w:c:wow:Template:T|Template:T]] on WoWWiki
[[w:c:wow:Template:T|Template:T]] on WoWWiki


<includeonly>[[Category:Templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>[[Category:Documentation templates]]
<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

Background SRN Opening by Montenator