Jump to content

Template:Tlsp/doc: Difference between revisions

m
Text replacement - "|" to "|"
(Created page with '{{Documentation subpage}} {{Tlx|{{PAGENAME}}}} is used in template lists. Unlike {{Tlx|Tlp}} it includes "subst". Unlike {{Tlx|Tls}} it allow…')
 
m (Text replacement - "|" to "|")
 
(2 intermediate revisions by one other user not shown)
Line 14: Line 14:
:{{Tlx|{{PAGENAME}}|template name|param=value}}
:{{Tlx|{{PAGENAME}}|template name|param=value}}
;For templates supporting [[Help:Substitution#Optional_substitution|optional substitution]] just add <tt>subst=subst:</tt>
;For templates supporting [[Help:Substitution#Optional_substitution|optional substitution]] just add <tt>subst=subst:</tt>
:{{Tlx|{{PAGENAME}}|template name|1<tt>&#124;</tt>2<tt>&#124;</tt>3|4=subst=subst:}}
:{{Tlx|{{PAGENAME}}|template name|1<tt>|</tt>2<tt>|</tt>3|4=subst=subst:}}


=== Example ===
=== Example ===
Line 32: Line 32:
| {{tlsp|template|param&#61;value}}
| {{tlsp|template|param&#61;value}}
|-
|-
| {{Tlx|tlsp|template|1<tt>&#124;</tt>2<tt>&#124;</tt>3&amp;#124;okay}}
| {{Tlx|tlsp|template|1<tt>|</tt>2<tt>|</tt>3&amp;#124;okay}}
| {{tlsp|template|1|2|3&#124;okay}}
| {{tlsp|template|1|2|3|okay}}
|-
|-
| {{Tlx|tlsp|template|1|2|3|4|5|too many}}
| {{Tlx|tlsp|template|1|2|3|4|5|too many}}
Line 61: Line 61:
| {{tlsp|x3|1st|2nd|3rd|4th|5th}}
| {{tlsp|x3|1st|2nd|3rd|4th|5th}}
|-
|-
| {{Tlx|tlu|template:x3|1st<tt>&#124;</tt>2nd<tt>&#124;</tt>3rd}} &#160;
| Tlx tlu template:x3 1st<tt>|</tt>2nd<tt>|</tt>3rd &#160;
| {{tlu|template:x3|1st|2nd|3rd}}
| tlu template:x3 1st 2nd 3rd
|-
|-
| {{Tlx|tlx|x3|1st<tt>&#124;</tt>2nd<tt>&#124;</tt>3rd}}
| {{Tlx|tlx|x3|1st<tt>|</tt>2nd<tt>|</tt>3rd}}
| {{tlx|x3|1st|2nd|3rd}}
| {{tlx|x3|1st|2nd|3rd}}
|}{{-}}
|}{{-}}
Line 74: Line 74:
* {{Lts|Tlp}} Tl + parameter
* {{Lts|Tlp}} Tl + parameter
* {{Lts|Tls}} Tl + subst
* {{Lts|Tls}} Tl + subst
* {{Lts|Tlu}} like Tlx in any namespace
* Lts Tlu like Tlx in any namespace
* {{Lts|Tlx}} like Tlsp without subst
* {{Lts|Tlx}} like Tlsp without subst