Шаблон:Tlsp: различия между версиями
en>Alison м (Protected Template:Tlsp: High risk template [edit=sysop:move=sysop]) |
en>Alison (+pp) |
||
| Строка 1: | Строка 1: | ||
{{[[Wikipedia:Template substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||<i>etc.</i>}}{{#if:{{{subst|}}}||subst={{{subst}}}}}}}<noinclude> | {{[[Wikipedia:Template substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||<i>etc.</i>}}{{#if:{{{subst|}}}||subst={{{subst}}}}}}}<noinclude> | ||
---- | ---- | ||
{{pp-template}} | |||
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 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. | ||
Версия 10:26, 25 октября 2007
{{subst:Tlsp{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||etc.}}{{#if:||subst={{{subst}}}}}}}
Шаблон:Pp-template
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 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: ||...}}}}