Template:Template link general/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
tidy table style |
update |
||
Line 55: | Line 55: | ||
====Unnamed (Positional)==== |
====Unnamed (Positional)==== |
||
This template |
This template can take any number of [[unnamed parameter]]s as parameters accompanying the template link (or name); see Examples below. |
||
===Examples=== |
===Examples=== |
||
Line 92: | Line 92: | ||
| {{tlx|{{{1|tlg}}}|x2|one|code{{=}}on|two|bold{{=}}on|three|italic{{=}}on}} | {{{{{1|tlg}}}|x2|one|code=on|two|bold=on|three|italic=on}} | … with many different configurations. |
| {{tlx|{{{1|tlg}}}|x2|one|code{{=}}on|two|bold{{=}}on|three|italic{{=}}on}} | {{{{{1|tlg}}}|x2|one|code=on|two|bold=on|three|italic=on}} | … with many different configurations. |
||
| {{tlx|{{{1|tlg}}}|x3|1|2|3|4|5|6|7|8|9|10}} | {{{{{1|tlg}}}|x3|1|2|3|4|5|6|7|8|9|10}} | |
| {{tlx|{{{1|tlg}}}|x3|1|2|3|4|5|6|7|8|9|10}} | {{{{{1|tlg}}}|x3|1|2|3|4|5|6|7|8|9|10}} | |
||
| <code><nowiki>{{tlg|x4|1|2|3|4|5|6|7|8|9|10|11}}</nowiki></code> | {{{{{1|tlg}}}|x4|1|2|3|4|5|6|7|8|9|10|11}} | up to 10 parameters, then … |
|||
| <code><nowiki>{{tlg|x5|1|2|3|4|5|6|7|8|9|10&#124;11}}</nowiki></code> | {{{{{1|tlg}}}|x5|1|2|3|4|5|6|7|8|9|10|11}} | {{align|right|<code>&#124;</code> for more}} |
|||
| {{tlx|{{{1|tlg}}}}} | {{{1|tlg}}} | with no arguments, the current page name is substituted |
| {{tlx|{{{1|tlg}}}}} | {{{1|tlg}}} | with no arguments, the current page name is substituted |
||
| {{tlx|{{{1|tlg}}}|x1|x=u}} | {{{{{1|tlg}}}|x1|x=u}} | '''{{=}}''' won't work |
| {{tlx|{{{1|tlg}}}|x1|x=u}} | {{{{{1|tlg}}}|x1|x=u}} | '''{{=}}''' won't work |