Content deleted Content added
update doc |
Added parm=value workaround of a more readable style. Also cleaned up the | workarounds in this page source. |
||
Line 12:
:{{Tlx|{{PAGENAME}}|template name|param}}
:{{Tlx|{{PAGENAME}}|template name|1|2|3|4|5}}
:{{Tlx|{{PAGENAME}}|template name|3=2=param=value}} Note: start from 2 because the "name" is parameter 1. Or...
:{{Tlx|{{PAGENAME}}|template name|param=value}}
;For templates supporting [[Help:Substitution#Optional_substitution|optional substitution]] just add <tt>subst=subst:</tt>
:{{Tlx|{{PAGENAME}}|template name|1
=== Example ===
Line 28 ⟶ 29:
| {{Tlx|tlsp|template|1st|2nd|3rd|4th|5th}}
| {{tlsp|template|1st|2nd|3rd|4th|5th}}
|-
| {{Tlx|tlsp|template|3=2=param=value}}
| {{tlsp|template|2=param=value}}
|-
| {{Tlx|tlsp|template|param&#61;value}}
| {{tlsp|template|param=value}}
|-
| {{Tlx|tlsp|template|1
| {{tlsp|template|1|2|3|okay}}
|-
Line 61 ⟶ 65:
| {{tlsp|x3|1st|2nd|3rd|4th|5th}}
|-
| {{Tlx|tlu|template:x3|1st
| {{tlu|template:x3|1st|2nd|3rd}}
|-
| {{Tlx|tlx|x3|1st
| {{tlx|x3|1st|2nd|3rd}}
|}{{-}}
|