Difference between revisions of "Template:T"
From Hgames Wiki
m (1 revision) |
(removed optional 20 parameters as we have now parserFunctions) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]<nowiki>}}</nowiki><noinclude> | |
− | [[Category: | + | A template link <strike>with a variable number of parameters (0-20).</strike> |
− | + | ||
+ | Use: | ||
+ | :{{t|t|parameter1|parameter2|parameter3|parameter4|...|parameter20}} <!-- self-referential examples! --> | ||
+ | |||
+ | Example: | ||
+ | <code><nowiki>{{t|Welcome}}</nowiki></code> | ||
+ | :{{t|Welcome}} | ||
+ | |||
+ | <code><nowiki>{{t|Welcome|Item1|Item2|Item3|Item4|Item5|...}}</nowiki></code> | ||
+ | :{{t|Welcome|Item1|Item2|Item3|Item4|Item5|...}} | ||
+ | |||
+ | Template: | ||
+ | :<onlyinclude><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]<nowiki>}}</nowiki></onlyinclude> | ||
+ | [[Category:Templates]] |
Latest revision as of 14:33, 3 March 2014
{{[[Template:{{{1}}}|{{{1}}}]]}}
A template link with a variable number of parameters (0-20).
Use:
- {{t}}
Example:
{{t|Welcome}}
- {{Welcome}}
{{t|Welcome|Item1|Item2|Item3|Item4|Item5|...}}
- {{Welcome}}
Template:
- {{[[Template:{{{1}}}|{{{1}}}]]}}