Template:T: Difference between revisions

From The Coffin of Andy and Leyley

fandom>FANDOM
No edit summary
 
m (Spelling fix)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude><nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!--
<includeonly><nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!--
-->{{#if:{{{2|}}}|&#124;<span style="color:#555;">''&lt;{{{2}}}&gt;''</span>}}<!--
-->{{#if:{{{2|}}}|&#124;<span style="color:#555;">''&lt;{{{2}}}&gt;''</span>}}<!--
-->{{#if:{{{3|}}}|&#124;<span style="color:#555;">''&lt;{{{3}}}&gt;''</span>}}<!--
-->{{#if:{{{3|}}}|&#124;<span style="color:#555;">''&lt;{{{3}}}&gt;''</span>}}<!--
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>{{documentation}}</noinclude>
--><nowiki>}}</nowiki></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 15:06, 7 January 2024

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.
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 see the list of authors. Copied here via CC-By-SA 3.0 license.
Example
{{t|<param1>|<param2>}}