Jump to content

साचा:Tlsp/doc

विकिपीडिया, मुक्‍त ज्ञानकोशातून


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

Up to three placeholders for parameters of the specified template name
{{Tlsp/doc|template name}}
{{Tlsp/doc|template name|param}}
{{Tlsp/doc|template name|1|2|3}}
{{Tlsp/doc|template name|1|2|3|more}}
{{Tlsp/doc|template name|param=value}}
For templates supporting optional substitution just add subst=subst:
{{Tlsp/doc|template name|1|2|3|subst=subst:}}
Code Result
{{tlsp|template}} {{subst:template}}
{{tlsp|template|1st|2nd|3rd}} {{subst:template|1st|2nd|3rd}}
{{tlsp|template|param=value}} {{subst:template|param=value}}
{{tlsp|template|1|2|3|okay}} {{subst:template|1|2|3|okay}}
{{tlsp|template|1|2|3|too much}} {{subst:template|1|2|3|etc.}}
{{tlsp|template|1|2|3|subst=subst:}} {{subst:template|1|2|3|subst=subst:}}

For similar examples see Tlx.

Comparison

[संपादन]
Code Result
{{tl|x0}} {{x0}}
{{tlp|x1|param}} {{x1|param}}
{{tls|x0}} {{subst:x0}}
{{tlsp|x3|1st|2nd|3rd}} {{subst:x3|1st|2nd|3rd}}
{{tlu|template:x3|1st|2nd|3rd}}   साचा:Tlu
{{tlx|x3|1st|2nd|3rd}} {{x3|1st|2nd|3rd}}