Jump to content

Template:T: Difference between revisions

From WikiPocoyo
PinkPugPrincess (talk | contribs)
Fixed an issue that caused these categories to be added to every template that contained this template.
PinkPugPrincess (talk | contribs)
mNo edit summary
 
Line 20: Line 20:
-->{{#if:{{{20|}}}|&#124;<span style="color:#555;">''&lt;{{{20}}}&gt;''</span>}}<!--
-->{{#if:{{{20|}}}|&#124;<span style="color:#555;">''&lt;{{{20}}}&gt;''</span>}}<!--
-->{{#if:{{{21|}}}|&#124;<span style="color:#555;">''&lt;{{{21}}}&gt;''</span>}}<!--
-->{{#if:{{{21|}}}|&#124;<span style="color:#555;">''&lt;{{{21}}}&gt;''</span>}}<!--
--><nowiki>}}</nowiki></onlyinclude><noinclude>[[Category:General wiki templates]][[Category:Templates]]</noinclude>
--><nowiki>}}</nowiki></onlyinclude><noinclude>{{documentation}}</noinclude>

Latest revision as of 22:25, 27 August 2025

{{[[Template:{{{1}}}|{{{1}}}]]}}

Description

A template link with a variable number of parameters (0-20).

Syntax
{{t|<parameter1>|<parameter2>|<parameter3>|<parameter4>|<...>|<parameter20>}}
Source
Improved version not needing t/piece subtemplate developed on Templates Wiki. The revision history lists the authors. Copied here via CC-BY-SA 3.0 licence.
Example
{{t|<param1>|<param2>}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.