Predloga:Tlsp
((Tlsp))
se uporablja za sezname predlog. Za razliko od
((Tlp))
vključuje "subst". Za razliko od
((Tls))
dovoljuje opredelitev parametrov.
Usage
[uredi kodo]- Up to five placeholders for parameters of the specified template name:
((Tlsp|template name))
((Tlsp|template name|param))
((Tlsp|template name|1|2|3|4|5))
((Tlsp|template name|2=param=value))
Note: start from 2 because the "name" is parameter 1. Or...((Tlsp|template name|param=value))
- For templates supporting optional substitution just add subst=subst:
((Tlsp|template name|1|2|3|subst=subst:))
Example
[uredi kodo]Code | Result |
((tlsp|predloga))
|
((subst:predloga)) |
((tlsp|predloga|1st|2nd|3rd|4th|5th))
|
((subst:predloga|1st|2nd|3rd|4th|5th)) |
((tlsp|predloga|2=param=value))
|
((subst:predloga|param=value)) |
((tlsp|predloga|param=value))
|
((subst:predloga|param=value)) |
((tlsp|predloga|1|2|3|okay))
|
((subst:predloga|1|2|3|okay)) |
((tlsp|predloga|1|2|3|4|5|too many))
|
((subst:predloga|1|2|3|4|5))((tlsp)) podpira do 5 predloginih parametrov |
((tlsp|predloga|1|2|3|4|5|subst=subst:))
|
((subst:predloga|1|2|3|4|5|subst=subst:)) |
For similar examples see Tlx.
Comparison
[uredi kodo]Code | Result |
((tl|x0))
|
((x0)) |
((tlp|x1|param))
|
((x1|param)) |
((tls|x0))
|
((subst:x0)) |
((tlsp|x3|1st|2nd|3rd|4th|5th))
|
((subst:x3|1st|2nd|3rd|4th|5th)) |
((tlu|template:x3|1st|2nd|3rd))
|
((template:x3|1st|2nd|3rd)) |
((tlx|x3|1st|2nd|3rd))
|
((x3|1st|2nd|3rd))
|
See also
[uredi kodo]- Predloga:Tlsp(uredi pogovor povezave zgodovina) up to four parameters
- Predloga:Tl(uredi pogovor povezave zgodovina) no parameter and no subst
- Predloga:Tlp(uredi pogovor povezave zgodovina) Tl + parameter
- Predloga:Tls(uredi pogovor povezave zgodovina) Tl + subst
- Predloga:Tlu(uredi pogovor povezave zgodovina) like Tlx in any namespace
- Predloga:Tlx(uredi pogovor povezave zgodovina) like Tlsp without subst
Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.