Code
|
Result
|
Remark
|
{{Tlg|Abc}}
|
{{Template:!((:Template:Abc|Abc]]}}
|
|
{{Tlg|abC}}
|
{{Template:!((:Template:AbC|abC]]}}
|
template names are case-sensitive
|
{{Tlg|abc}}
|
{{Template:!((:Template:Abc|abc]]}}
|
first letter is case-insensitive though
|
{{Tlg|x0}}
|
{{Template:!((:Template:X0|x0]]}}
|
|
{{Tlg|x0|code=yes}}
|
{{Template:!((:Template:X0|x0]]}}
|
code style
|
{{Tlg|x0|bold=yes}}
|
{{Template:!((:Template:X0|x0]]}}
|
bold style
|
{{Tlg|x1|one|italic=yes}}
|
{{Template:!((:Template:X1|x1]]|one}}
|
italic style
|
{{Tlg|x0|nolink=yes}}
|
{{x0}}
|
|
{{Tlg|x0|subst=yes}}
|
{{subst:Template:!((:Template:X0|x0]]}}
|
|
{{Tlg|x0|braceinside=yes}}
|
{Template:!((:Template:X0|{x0}]]}
|
|
{{Tlg|x0|alttext=Link to x0 template}}
|
{{Template:!((:Template:X0|Link to x0 template]]}}
|
|
{{Tlg|x0|bold=yes|code=yes|braceinside=yes}}
|
{Template:!((:Template:X0|{x0}]]}
|
No reason you can't combine multiple parameter settings.
|
{{Tlg|x1|one}}
|
{{Template:!((:Template:X1|x1]]|one}}
|
|
{{Tlg|x2|one|two}}
|
{{Template:!((:Template:X2|x2]]|one|two}}
|
|
{{Tlg|x2|bold=yes|code=yes|one|two}}
|
{{Template:!((:Template:X2|x2]]|one|two}}
|
Can combine named and anonymous parameters …
|
{{Tlg|x2|one|two|bold=yes|code=yes}}
|
{{Template:!((:Template:X2|x2]]|one|two}}
|
… in any order …
|
{{Tlg|x2|one|code=yes|two|bold=yes|three}}
|
{{Template:!((:Template:X2|x2]]|one|two|three}}
|
… even intermixed …
|
{{Tlg|x2|one|code=yes|two|bold=yes|three|italic=yes}}
|
{{Template:!((:Template:X2|x2]]|one|two|three}}
|
… with many different configurations.
|
{{Tlg|x3|1|2|3|4|5|6|7|8|9|10}}
|
{{Template:!((:Template:X3|x3]]|1|2|3|4|5|6|7|8|9|10}}
|
|
{{Tlg|x4|1|2|3|4|5|6|7|8|9|10|11}}
|
{{Template:!((:Template:X4|x4]]|1|2|3|4|5|6|7|8|9|10|…}}
|
up to 10 parameters, then …
|
{{Tlg|x5|1|2|3|4|5|6|7|8|9|10|11}}
|
{{Template:!((:Template:X5|x5]]|1|2|3|4|5|6|7|8|9|10|11}}
|
| for more
|
{{Tlg|convert|<nowiki>14|m|ftin|abbr=out|sp=us</nowiki>}}
|
unlimited parameters as one nowiki string
|
{{Tlg}}
|
{{Template:!((:Template:Tlg/doc|Tlg/doc]]}}
|
with no arguments, the current page name is substituted
|
{{Tlg|x1|x=u}}
|
{{Template:!((:Template:X1|x1]]}}
|
= won't work
|
{{Tlg|x1|x=u}}
|
{{Template:!((:Template:X1|x1]]|x=u}}
|
= is okay
|
{{Tlg|x1|x{{=}}u}}
|
{{Template:!((:Template:X1|x1]]|x=u}}
|
{{=}} is okay
|
{{Tlg|x1|x<nowiki>=</nowiki>u}}
|
{{Template:!((:Template:X1|x1]]|x=u}}
|
sticky nowiki is okay
|
{{Tlg|x2||two||}}
|
{{Template:!((:Template:X2|x2]]||two||}}
|
empty parameters work too, even at the end
|
{{Tlg|x2|2=one|two}}
|
{{Template:!((:Template:X2|x2]]|two}}
|
two clobbers 2=one
|
{{Tlg|x2|3=two|2=one}}
|
{{Template:!((:Template:X2|x2]]|one|two}}
|
right to left okay
|