Stampa:Tlsp

Nga Wikipedia, enciklopedia e lirë
Jump to navigation Jump to search

{{subst:Tlsp}}

Udhëzuesi i stampës[shiko] [redakto] [historiku] [rifresko]

{{Tlsp}} is used in stampa lists. Unlike {{Tlp}} it includes "subst". Unlike {{Tls}} it allows to specify a parameter. These features are hints how to use the specified stampa.

Usage[Redakto nëpërmjet kodit]

Up to five placeholders for parameters of the specified titulli i stampës:
{{Tlsp|titulli i stampës}}
{{Tlsp|titulli i stampës|param}}
{{Tlsp|titulli i stampës|1|2|3|4|5}}
{{Tlsp|titulli i stampës|2=param=value}} Note: start from 2 because the "name" is parameter 1. Or...
{{Tlsp|titulli i stampës|param=value}}
For stampas supporting optional substitution just add subst=subst:
{{Tlsp|titulli i stampës|1|2|3|subst=subst:}}

Example[Redakto nëpërmjet kodit]

Code Result
{{tlsp|stampa}} {{subst:stampa}}
{{tlsp|stampa|1st|2nd|3rd|4th|5th}} {{subst:stampa|1st|2nd|3rd|4th|5th}}
{{tlsp|stampa|2=param=value}} {{subst:stampa|param=value}}
{{tlsp|stampa|param=value}} {{subst:stampa|param=value}}
{{tlsp|stampa|1|2|3|okay}} {{subst:stampa|1|2|3|okay}}
{{tlsp|stampa|1|2|3|4|5|too many}} {{subst:stampa|1|2|3|4|5}}{{tlsp}} only supports up to 5 template parameters
{{tlsp|stampa|1|2|3|4|5|subst=subst:}} {{subst:stampa|1|2|3|4|5|subst=subst:}}

For similar examples see Tlx.

Comparison[Redakto nëpërmjet kodit]

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|stampa:x3|1st|2nd|3rd}}   {{stampa:x3|1st|2nd|3rd}}
{{tlx|x3|1st|2nd|3rd}} {{x3|1st|2nd|3rd}}

See also[Redakto nëpërmjet kodit]

up to five parameters
no parameter and no subst
Tl + parameter
Tl + subst
like Tlx in any namespace
like Tlsp without subst