Template:T: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
imported>Screamer Nerd
m (1 revision)
m (newline)
Line 1: Line 1:
A template link with a variable number of parameters (0-20).
<code>&#123;&#123;[[Template:{{{1}}}|{{{1}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}]]&#125;&#125;</code><noinclude>


Use:
{{/doc}}</noinclude>
:{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}} <!-- self-referential examples! -->
 
Example:
:See the discussion page.
 
Template:
:<onlyinclude><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]{{t/piece|{{{2|---}}}}}{{t/piece|{{{3|---}}}}}{{t/piece|{{{4|---}}}}}{{t/piece|{{{5|---}}}}}{{t/piece|{{{6|---}}}}}{{t/piece|{{{7|---}}}}}{{t/piece|{{{8|---}}}}}{{t/piece|{{{9|---}}}}}{{t/piece|{{{10|---}}}}}{{t/piece|{{{11|---}}}}}{{t/piece|{{{12|---}}}}}{{t/piece|{{{13|---}}}}}{{t/piece|{{{14|---}}}}}{{t/piece|{{{15|---}}}}}{{t/piece|{{{16|---}}}}}{{t/piece|{{{17|---}}}}}{{t/piece|{{{18|---}}}}}{{t/piece|{{{19|---}}}}}{{t/piece|{{{20|---}}}}}{{t/piece|{{{21|---}}}}}<nowiki>}}</nowiki></onlyinclude>
 
[[Category:General wiki templates|Template link]]

Revision as of 14:34, 8 September 2016

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

Description
A template link with a variable number of parameters (0-20).
Syntax
{{t|parameter1}}