Template:Tlx/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Park commons Tlx here pending reconciling both for all sisters)
 
m (Attempt to clear duplicate parameter tracking category)
 
(97 intermediate revisions by 63 users not shown)
Line 1: Line 1:
{{Interwiki doc page pattern}}
{| style="margin: 1.5em auto; width: fit-content;"
This is commons (somewhat more dated logic...) parked here pending time to cycle back and make fixups as a proper doc file, reconcile the best logic, and then redistribute interwiki again. <b>[[User:Fabartus|Fra]]</b><font color="green">[[User talk:Fabartus|nkB]]</font> 04:47, 2 February 2007 (UTC)
! colspan="2" scope="col" | Wiki markup
! scope="col" | Output
{{[[{{ns:Template}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]{{#if:{{{2|}}}|<tt>&#124;</tt>{{{2}}}}}{{#if:{{{3|}}}|<tt>&#124;</tt>{{{3}}}}}{{#if:{{{4|}}}|<tt>&#124;</tt>{{{4}}}}}{{#if:{{{5|}}}|<tt>&#124;</tt><i>etc.</i>}}}}<noinclude> {{interwikitmp-grp|V=0}}
|-
----
| style="text-align: right;" | <kbd><nowiki>{{Tlx|Template|first parameter|second|third||tenth}}</nowiki></kbd>
Usage: {{Tlx|Tlx|template name|first parameter|...}}<br />
| ⇒
Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "<tt>|</tt>''etc.''", for details see the [http://en.wikipedia.org/wiki/Template_talk:Tlx en.talk] page.
| {{Tlx|Template|first parameter|second|third|…|tenth}}
==Documentation==
|-
| style="text-align: right;" | <kbd><nowiki>{{Tlx|first parameter|…|third|tenth}}</nowiki></kbd>
| ⇒
| {{Tlx|Template|first parameter|second|third|…|tenth}} if they might contain an equality sign (<code>=</code>)
|-
| style="text-align: right;" | <kbd><nowiki>{{Tlx|Template|&lt;nowiki>first|second|…|999th&lt;/nowiki>}}</nowiki></pre>
|
| {{Tlx|Template|<nowiki>first|second||999th</nowiki>}} (when you need to show more than ten parameters)
|}
== Purpose and naming ==
[[wikt:mnemonic|Mnemonically]] ''''T'''emplate '''l'''ink e'''x'''panded', after {{Tlx|Tl}}'s ''''T'''emplate '''l'''ink'.


{&#123;[[Template:{{PAGENAME}}|{{PAGENAME}}]]&#125;}
This template takes another template's name and some associated [[wikipedia:Help:Pipe trick|pipe-tricked]] positional parameters (or 'pass parameters'), and displays them as a demonstrative example of how the template could be coded, literally. Its primary use is in instruction and documentation.
is a generalization of {{Tlx|Tl|x}}, {{Tlx|Tlp|x|y}},
* '''''Specifics:''''' Up to ten pass parameters (numbered or nowiki'd keywords) for the specified template are displayed as 'placeholders', and more than ten parameters can be displayed using a coded vertical-bar (<code>&amp;vert;</code>/<code>&amp;verbar;</code>/<code>&amp;#124;</code>/<code>&amp;VerticalLine;…</code>). A keyword parameter can be used with the equality sign HTML entity (<code>&amp;equals;</code>, <code>&amp;#61;</code> or <code><nowiki>{{=}}</nowiki></code> or in nowiki tags: "&lt;nowiki>param=<var>value</var>&lt;/nowiki>"; see ''[[#Examples|§ Examples]]'' below.
{{Tlx|Tl2|x|y|z}}, etc. with arguably better readable
* '''''Exceptions:''''' If the intended template lists numerous parameters, then perhaps this template should really ''not'' be used, and just hardcode the usage with {{Tag|code|content={{Tag|nowiki|style=plain}}}}, for example: {{Tag|code|content={{Tag|nowiki|style=plain|content=<nowiki>{{</nowiki>Template&vert;param1=<var>23</var>&vert;size=<var>250px</var>&vert;<var>otherparams…</var><nowiki>}}</nowiki>}}}}. If a vertical display with parameters on their own lines is desired, this can also be laid out manually in this manner, or more rapidly done with {{Tag|pre}} tags.
output. This depends on the browser, but too narrow
uses of "'''{'''", "'''|'''", "'''}'''" in conjunction
with links can be hard to read.


=== Usage ===
<hr style="background-color: #a2a9b1; display: block; height: 2px; margin: 1.25em auto; max-width: 75vmax;" />


:<tt>{&#123;{{PAGENAME}}|template name&#125;}</tt>
* If given no additional parameters except the template name, as in <code><nowiki>{{Tlx|Template&nbsp;name}}</nowiki></code> or <code><nowiki>{{Tlx|1=Template&nbsp;name}}</nowiki></code>, the output is functionally equivalent to the {{Tl|Tl}} macro template: a blue hyperlink nested in [[wikipedia:Bracket#Curly brackets|double braces]] — the same as a user would apply the template (without parameters) — but with a noticably clearer font and more character spacing on most modern browsers.
:<tt>{&#123;{{PAGENAME}}|template name|param&#125;}</tt>
** Comparing the output of the two templates side-by-side: Tl ⇒ {{Tl|Template}} versus Tlx ⇒ {{Tlx|Template}}
:<tt>{&#123;{{PAGENAME}}|template name|1|2|3&#125;}</tt>
* Comparatively, {{Tlx|Tl}} will not take or display additional parameters, and for minor technical reasons, may be preferred for mere listing and referencing in long pages involving a lot of template expansions.
:<tt>{&#123;{{PAGENAME}}|template name|1|2|3&amp;#124;more&#125;}</tt>
* {{Tlx|Tlx}} has a named parameter, {{Para|subst}}, which when set to any value will place the string <code>subst:</code> before the template name, linked to [[wikipedia:Help:Substitution|Help:Substitution]]. This is useful to indicate when a template should be substituted; for example {{Tlx|Tlx|Template|3=subst=y}} will display {{Tlx|Template|subst=y}}.
:<tt>{&#123;{{PAGENAME}}|template name|param&amp;#61;value&#125;}</tt>
''Up to three placeholders for parameters of the specified template''


=== Example ===
== Usage ==
;Note: On the source sister project, en.wikipedia, '''X0, X1, X2,..., X9 are sandbox templates''' for experimentation. Here they show as redlinks, as no auto-cleansing software facility exists.
<kbd>'''&lbrace;{[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]}&rbrace;'''</kbd> is a generalization of &lbrace;&lbrace;[[Template:Tl|Tl]]|x&rbrace;&rbrace;, et cetera, with arguably more readable output. This depends on the browser, but most of them use too narrow a form of <code>'''{'''</code>, <code>'''|'''</code> and <code>'''}'''</code> in conjunction with hyperlinks tend to be hard to read.


{| border="1" cellpadding="4" class="wikitable"
=== Invocation ===
! Code
:<kbd>{&lbrace;{{BASEPAGENAME}}&vert;Template name&rbrace;}</kbd>
! Result
:<kbd>{&lbrace;{{BASEPAGENAME}}&vert;Template name&vert;param&rbrace;}</kbd>
! Remark
:<kbd>{&lbrace;{{BASEPAGENAME}}&vert;Template name&vert;1&vert;2&vert;3&vert;4&vert;5&vert;6&vert;7&vert;8&vert;9&vert;10&rbrace;}</kbd>
|-
:<kbd>{&lbrace;{{BASEPAGENAME}}&vert;Template name&vert;1&vert;2&vert;3&vert;4&vert;5&vert;6&vert;7&vert;8&vert;9&vert;10&amp;vert;more&rbrace;}</kbd>
|{{Tlx|Tlx|x0}}
:<kbd>{&lbrace;{{BASEPAGENAME}}&vert;Template name&vert;param&amp;equals;<var>value</var>&rbrace;}</kbd>
|{{Tlx|x0}}
''Up to 10 placeholders for parameters of the specified template''
||&#160;
 
|-
=== Examples ===
|{{Tlx|Tlx|x1|one}}
{| class="wikitable" style="border: 1px solid #000; border-collapse: collapse; margin: 1em auto;"
|{{Tlx|x1|one}}
! scope="col" | Code
||&#160;
! scope="col" | Result
|-
! scope="col" | Remark
|{{Tlx|Tlx|x2|one|two}}
|-
|{{Tlx|x2|one|two}}
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template}}</nowiki></kbd>
||&#160;
| {{Tlx|Template}} ||
|-
|-
|{{Tlx|Tlx|x3|1<tt>&#124;</tt>2<tt>&#124;</tt>3}}
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Abc}}</nowiki></kbd>
|{{Tlx|x3|1|2|3}}
| class="plainlinks" | <kbd><nowiki>{{</nowiki>[https://kodi.wiki/index.php?title=Template:Abc Abc]<nowiki>}}</nowiki></kbd> ||
||&#160;
|-
|-
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|ABC}}</nowiki></kbd>
|{{Tlx|Tlx|x4|1<tt>&#124;</tt>2<tt>&#124;</tt>3|4}}
| class="plainlinks" | <kbd><nowiki>{{</nowiki>[https://kodi.wiki/index.php?title=Template:ABC ABC]<nowiki>}}</nowiki></kbd> ||
|{{Tlx|x4|1|2|3|4}}
|-
|up to 3 parameters
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|AbC}}</nowiki></kbd>
|-
| class="plainlinks" | <kbd><nowiki>{{</nowiki>[https://kodi.wiki/index.php?title=Template:AbC AbC]<nowiki>}}</nowiki></kbd> ||
|{{Tlx|Tlx|x4|1<tt>&#124;</tt>2<tt>&#124;</tt>3&amp;#124;4}}
|-
|{{Tlx|x4|1|2|3&#124;4}}
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|one}}</nowiki></kbd>
|align="right"|<tt>&amp;#124;</tt> for more
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|one}}</nowiki></kbd> ||
|-
|-
|{{Tlx|Tlx|x1|x&#61;u}}
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|one|two}}</nowiki></kbd>
|{{Tlx|x1|x=u}}
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|one|two}}</nowiki></kbd> ||
|'''=''' won't work
|-
|-
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|1|2|3|4|5|6|7|8|9|10}}</nowiki></kbd>
|{{Tlx|Tlx|x1|x&amp;#61;u}}
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|1|2|3|4|5|6|7|8|9|10}}</nowiki></kbd> ||
|{{Tlx|x1|x&#61;u}}
|-
|align="right"|<tt>&amp;#61;</tt> is okay
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|1|2|3|4|5|6|7|8|9|10|11}}</nowiki></kbd>
|-
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|1|2|3|4|5|6|7|8|9|10|…}}</nowiki></kbd>
|{{Tlx|Tlx|x1|&lt;nowiki&gt;x&#61;u&lt;/nowiki&gt;}}
| Accepts up to ten parameters, then <code>…</code>
|{{Tlx|x1|<nowiki>x=u</nowiki>}}
|-
|align="right"|sticky nowiki is okay
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|1|2|3|4|5|6|7|8|9|10&amp;#124;11}}</nowiki></kbd>
|-
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|1|2|3|4|5|6|7|8|9|10|11}}</nowiki></kbd>
|{{Tlx|Tlx|x2|&#160;|two}}
| But <code>&amp;#124;</code> instead of the pipe character will let you simulate more
|{{Tlx|x2| |two}}
|-
|empty won't work
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|&lt;nowiki>14|m|ftin|abbr=out|sp=us&lt;/nowiki>}}</nowiki></kbd>
|-
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|14|m|ftin|abbr=out|sp=us}}</nowiki></kbd>
|{{Tlx|Tlx|x2|&amp;#32;|two}}
| You can also show an unlimited no. of parameters as a single {{Tag|nowiki}} string
|{{Tlx|x2|&#32;|two}}
|-
|align="right"|<tt>&amp;#32;</tt> is okay
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|x=u}}</nowiki></kbd>
|-
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>}}</nowiki></kbd>
|{{Tlx|Tlx|x2|&amp;nbsp;|two}}
| Trying to show parameters with set values using a normal <code>=</code> won't work
|{{Tlx|x2|&nbsp;|two}}
|-
|align="right"|<tt>&amp;nbsp;</tt> is okay
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|x&amp;equals;u}}</nowiki></kbd>
|-
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|x&equals;u}}</nowiki></kbd>
|{{Tlx|Tlx|x2| &amp;#124; two}}
| However, using the HTML entity for the equality sign (<code>&amp;equals;</code> or <code>&amp;#61;</code>) works just fine for that
|{{Tlx|x2| &#124; two}}
|-
|align="right"|<tt>&amp;#124;</tt> is okay
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|x{{=}}u}}</nowiki></kbd>
|-
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|x=u}}</nowiki></kbd>
|| {{Tlx|Tlx|x2| {&#123;!&#125;} two}}
| <code><nowiki>{{=}}</nowiki></code> costs a few more ms of parser time per page load, but is okay too
|| {{Tlx|x2| {{!}} two}}
|-
|align="right"|{{Tlx|!}} is dubious
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|&lt;nowiki&gt;x&#61;u&lt;/nowiki&gt;}}</nowiki></kbd>
|-
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|x=u}}</nowiki></kbd>
|| {{Tlx|Tlx|x2|<nowiki>2=</nowiki>|<nowiki>3=two</nowiki>}}
| Sticky {{Tag|nowiki}} is a little messy, but works all the same
|| {{Tlx|x2|2=|3=two}}
|-
|empty really doesn't work
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|&nbsp;|two}}</nowiki></kbd>
|-
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|two}}</nowiki></kbd>
|| {{Tlx|Tlx|x2|<nowiki>2=one</nowiki>|two}}
| Trying to show an empty positional parameter won't work using just a space
|| {{Tlx|x2|2=one|two}}
|-
|'''two''' clobbers '''2=one'''
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|2=|3=two}}</nowiki></kbd>
|-
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|two}}</nowiki></kbd>
|| {{Tlx|Tlx|x2|<nowiki>3=two</nowiki>|<nowiki>2=one</nowiki>}}
| Setting a named positional parameter to a null value is sneaky, but doesn't work either
|| {{Tlx|x2|3=two|2=one}}
|-
|align="right"|right to left okay
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|&amp;nbsp;|two}}</nowiki></kbd>
|}{{-}}
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|&nbsp;|two}}</nowiki></kbd>
[[Category:Typing-aid templates |{{PAGENAME}}]]
| But the HTML entity for a non-breaking space (<code>&amp;nbsp;</code>) will get it done
[[Category:Internal link templates|{{PAGENAME}}]]
|-
[[Category:Templates using ParserFunctions|{{{PAGENAME}}}]]
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|&amp;#8288;|two}}</nowiki></kbd>
</noinclude>
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|&#8288;|two}}</nowiki></kbd>
| A true WikiNinja&trade; will always prefer the invisible Word Joiner character (<code>&amp;#8288;</code>) for that, though
|-
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|&amp;vert;two}}</nowiki></kbd>
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|&vert;two}}</nowiki></kbd>
| The HTML entity for a pipe (<code>&amp;vert;</code>/<code>&amp;verbar;</code>/<code>&amp;#124;</code>/<code>&amp;VerticalLine;</code>), though a [[wikt:kludge|kludge]], looks okay too
|-
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|{{!}}two}}</nowiki></kbd>
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|&vert;two}}</nowiki></kbd>
| And speaking of kludges, {{Tlx|!}} is much worse, since it costs extra parser time on each page load again
|-
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|2=one|two}}</nowiki></kbd>
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|two}}</nowiki></kbd>
| If a named and an unnamed positional parameter end up in a knife fight, the last one supplied always wins
|-
| <kbd><nowiki>{{</nowiki>'''Tlx'''<nowiki>|Template|3=two|2=one}}</nowiki></kbd>
| <kbd><nowiki>{{</nowiki>[[Template:Template|Template]]<nowiki>|one|two}}</nowiki></kbd>
| The order they're specified in doesn't matter, positional parameters are shown in numerical order by name
|}<includeonly>
 
 
[[Category:Wiki templates]]</includeonly>

Latest revision as of 21:49, 13 September 2022

Wiki markup Output
{{Tlx|Template|first parameter|second|third|…|tenth}} {{Template|first parameter|second|third|…|tenth}}
{{Tlx|first parameter|…|third|tenth}} {{Template|first parameter|second|third|…|tenth}} if they might contain an equality sign (=)
{{Tlx|Template|<nowiki>first|second|…|999th</nowiki>}} {{Template|first|second|…|999th}} (when you need to show more than ten parameters)

Purpose and naming

Mnemonically 'Template link expanded', after {{Tl}}'s 'Template link'.

This template takes another template's name and some associated pipe-tricked positional parameters (or 'pass parameters'), and displays them as a demonstrative example of how the template could be coded, literally. Its primary use is in instruction and documentation.

  • Specifics: Up to ten pass parameters (numbered or nowiki'd keywords) for the specified template are displayed as 'placeholders', and more than ten parameters can be displayed using a coded vertical-bar (&vert;/&verbar;/&#124;/&VerticalLine;…). A keyword parameter can be used with the equality sign HTML entity (&equals;, &#61; or {{=}} or in nowiki tags: "<nowiki>param=value</nowiki>"; see § Examples below.
  • Exceptions: If the intended template lists numerous parameters, then perhaps this template should really not be used, and just hardcode the usage with <code><nowiki>...</nowiki></code>, for example: <code><nowiki>{{Template|param1=23|size=250px|otherparams…}}</nowiki></code>. If a vertical display with parameters on their own lines is desired, this can also be laid out manually in this manner, or more rapidly done with <pre>...</pre> tags.

  • If given no additional parameters except the template name, as in {{Tlx|Template name}} or {{Tlx|1=Template name}}, the output is functionally equivalent to the {{Tl}} macro template: a blue hyperlink nested in double braces — the same as a user would apply the template (without parameters) — but with a noticably clearer font and more character spacing on most modern browsers.
    • Comparing the output of the two templates side-by-side: Tl ⇒ {{Template}} versus Tlx ⇒ {{Template}}
  • Comparatively, {{Tl}} will not take or display additional parameters, and for minor technical reasons, may be preferred for mere listing and referencing in long pages involving a lot of template expansions.
  • {{Tlx}} has a named parameter, |subst=, which when set to any value will place the string subst: before the template name, linked to Help:Substitution. This is useful to indicate when a template should be substituted; for example {{Tlx|Template|subst=y}} will display {{subst:Template}}.

Usage

{{Tlx}} is a generalization of {{Tl|x}}, et cetera, with arguably more readable output. This depends on the browser, but most of them use too narrow a form of {, | and } in conjunction with hyperlinks tend to be hard to read.

Invocation

{{Tlx|Template name}}
{{Tlx|Template name|param}}
{{Tlx|Template name|1|2|3|4|5|6|7|8|9|10}}
{{Tlx|Template name|1|2|3|4|5|6|7|8|9|10&vert;more}}
{{Tlx|Template name|param&equals;value}}

Up to 10 placeholders for parameters of the specified template

Examples

Code Result Remark
{{Tlx|Template}} {{Template}}
{{Tlx|Abc}}
{{Tlx|ABC}}
{{Tlx|AbC}}
{{Tlx|Template|one}} {{Template|one}}
{{Tlx|Template|one|two}} {{Template|one|two}}
{{Tlx|Template|1|2|3|4|5|6|7|8|9|10}} {{Template|1|2|3|4|5|6|7|8|9|10}}
{{Tlx|Template|1|2|3|4|5|6|7|8|9|10|11}} {{Template|1|2|3|4|5|6|7|8|9|10|…}} Accepts up to ten parameters, then
{{Tlx|Template|1|2|3|4|5|6|7|8|9|10&#124;11}} {{Template|1|2|3|4|5|6|7|8|9|10|11}} But &#124; instead of the pipe character will let you simulate more
{{Tlx|Template|<nowiki>14|m|ftin|abbr=out|sp=us</nowiki>}} {{Template|14|m|ftin|abbr=out|sp=us}} You can also show an unlimited no. of parameters as a single <nowiki>...</nowiki> string
{{Tlx|Template|x=u}} {{Template}} Trying to show parameters with set values using a normal = won't work
{{Tlx|Template|x&equals;u}} {{Template|x=u}} However, using the HTML entity for the equality sign (&equals; or &#61;) works just fine for that
{{Tlx|Template|x{{=}}u}} {{Template|x=u}} {{=}} costs a few more ms of parser time per page load, but is okay too
{{Tlx|Template|<nowiki>x=u</nowiki>}} {{Template|x=u}} Sticky <nowiki>...</nowiki> is a little messy, but works all the same
{{Tlx|Template| |two}} {{Template|two}} Trying to show an empty positional parameter won't work using just a space
{{Tlx|Template|2=|3=two}} {{Template|two}} Setting a named positional parameter to a null value is sneaky, but doesn't work either
{{Tlx|Template|&nbsp;|two}} {{Template| |two}} But the HTML entity for a non-breaking space (&nbsp;) will get it done
{{Tlx|Template|&#8288;|two}} {{Template|⁠|two}} A true WikiNinja™ will always prefer the invisible Word Joiner character (&#8288;) for that, though
{{Tlx|Template|&vert;two}} {{Template||two}} The HTML entity for a pipe (&vert;/&verbar;/&#124;/&VerticalLine;), though a kludge, looks okay too
{{Tlx|Template|{{!}}two}} {{Template||two}} And speaking of kludges, {{!}} is much worse, since it costs extra parser time on each page load again
{{Tlx|Template|2=one|two}} {{Template|two}} If a named and an unnamed positional parameter end up in a knife fight, the last one supplied always wins
{{Tlx|Template|3=two|2=one}} {{Template|one|two}} The order they're specified in doesn't matter, positional parameters are shown in numerical order by name