Шаблон:Tlsp: различия между версиями
en>Tariqabjotu м (- unnecessary characters @ beginning and end) |
(Added four) |
||
| Строка 2: | Строка 2: | ||
---- | ---- | ||
Usage: {{Tlx|Tlsp|template name|first parameter|...}}<br /> | Usage: {{Tlx|Tlsp|template name|first parameter|...}}<br /> | ||
Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "<tt>|</tt>''etc.''", for details see {{Tlx|Tlx}} and the [[{{TALKPAGENAME}}|talk]] page. | Up to three through four parameters for the specified template are displayed as placeholders, more parameters are shown as "<tt>|</tt>''etc.''", for details see {{Tlx|Tlx}} and the [[{{TALKPAGENAME}}|talk]] page. | ||
;If the template supports [[Help:Substitution#Optional_substitution|optional substitution]] with <tt>subst=subst:</tt> just add this info: | ;If the template supports [[Help:Substitution#Optional_substitution|optional substitution]] with <tt>subst=subst:</tt> just add this info: | ||
Версия 09:19, 21 марта 2007
{{subst:Tlsp{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||etc.}}{{#if:||subst={{{subst}}}}}}}
Usage: {{{{#if: |subst:}}Tlsp{{#if:template name ||template name}}{{#if:first parameter ||first parameter}}{{#if:... ||...}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
Up to three through four parameters for the specified template are displayed as placeholders, more parameters are shown as "|etc.", for details see {{{{#if: |subst:}}Tlx{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}} and the talk page.
- If the template supports optional substitution with subst=subst: just add this info:
{{{{#if: |subst:}}Tlsp{{#if:template name ||template name}}{{#if:up to three parameters ||up to three parameters}}{{#if:subst=subst: ||subst=subst:}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}