Content deleted Content added
update doc |
Funandtrvl (talk | contribs) add template |
||
(15 intermediate revisions by 14 users not shown) | |||
Line 1:
{{Documentation subpage}}
▲{{Tlx|{{PAGENAME}}}} is used in template lists. Unlike
{{Tlx|Tlp}} it includes "[[WP:SUBST|subst]]". Unlike
{{Tlx|Tls}} it allows to specify a parameter. These
features are hints how to use the specified template.
;Up to five placeholders for parameters of the specified template name:
:{{Tlx|
:{{Tlx|
:{{Tlx|
:{{Tlx|
:{{Tlx|Tlsp|template name|param=value}}
;For templates supporting [[Help:Substitution#Optional_substitution|optional substitution]] just add <
:{{Tlx|
<!-- some magic here where Tlx talks about Tlsp,
Tlx has the same limitations wrt parameters -->
Line 28 ⟶ 27:
| {{Tlx|tlsp|template|1st|2nd|3rd|4th|5th}}
| {{tlsp|template|1st|2nd|3rd|4th|5th}}
|-
| {{Tlx|tlsp|template|3=2=param=value}}
|-
| {{Tlx|tlsp|template|param&#61;value}}
| {{tlsp|template|param=value}}
|-
| {{Tlx|tlsp|template|1
| {{tlsp|template|1|2|3|okay}}
|-
Line 44 ⟶ 46:
''For similar examples see [[Template talk:Tlx#Example|Tlx]].''
{|
| '''Code'''
Line 61 ⟶ 63:
| {{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}}
|}{{-}}
▲* {{Lts|{{PAGENAME}}}} up to four parameters
* {{Lts|Tl}} no parameter and no subst
* {{Lts|Tlp}} Tl + parameter
Line 77 ⟶ 78:
* {{Lts|Tlx}} like Tlsp without subst
{{Template-linking templates}}
<includeonly>▼
[[Category:Internal link templates|Tlsp]]▼
<includeonly>{{Sandbox other||
▲}}</includeonly>
▲{{Pp-template|small=yes}}
▲</includeonly>
|