قالب:Tlsp/شرح

من ويكيبيديا، الموسوعة الحرة

{{Tlsp/شرح}} is used in template lists. Unlike {{قاو}} it includes "ويكيبيديا:نسخ". Unlike {{نقا}} 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:
{{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:}}

مثال[عدل]

Code Result
{{tlsp|template}} {{نسخ:template}}
{{tlsp|template|1st|2nd|3rd|4th|5th}} {{نسخ:template|1st|2nd|3rd|4th|5th}}
{{tlsp|template|2=param=value}} {{نسخ:template|param=value}}
{{tlsp|template|param=value}} {{نسخ:template}}
{{tlsp|template|1|2|3|okay}} {{نسخ:template|1|2|3|okay}}
{{tlsp|template|1|2|3|4|5|too many}} {{نسخ:template|1|2|3|4|5}}{{tlsp}} يدعم فقط 5 معلمات
{{tlsp|template|1|2|3|4|5|subst=subst:}} {{نسخ:template|1|2|3|4|5|subst=subst:}}

For similar examples see Tlx.

Comparison[عدل]

Code Result
{{قا|x0}} {{فارغ}}
{{قاو|x1|param}} {{x1|param}}
{{نقا|x0}} {{نسخ:فارغ}}
{{tlsp|x3|1st|2nd|3rd|4th|5th}} {{نسخ: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}}

طالع أيضاً[عدل]