Шаблон:Tlp

{{Tlp}}

Документация

Использование:

    {{Tlp|имя шаблона|первый параметр|...}}

Для указанного шаблона отображается до пяти параметров, остальные параметры отображаются как «| и т. д.».

Использование

{{Tlp|template name}}
{{Tlp|template name|param}}
{{Tlp|template name|1|2|3}}
{{Tlp|template name|1|2|3|more}}
{{Tlp|template name|param=value}}

Up to three placeholders for parameters of the specified template

Примеры

Code Result Remark
{{Tlx|x0}} {{x0}}  
{{Tlx|x1|one}} {{x1|one}}  
{{Tlx|x2|one|two}} {{x2|one|two}}  
{{Tlx|x3|1|2|3}} {{x3|1|2|3}}  
{{Tlx|x4|1|2|3|4}} {{x4|1|2|3|4}} up to 3 parameters
{{Tlx|x4|1|2|3|4}} {{x4|1|2|3|4}} | for more
{{Tlx|x1|x=u}} {{x1}} = won't work
{{Tlx|x1|x=u}} {{x1|x=u}} = is okay
{{Tlx|x1|<nowiki>x=u</nowiki>}} {{x1|x=u}} sticky nowiki is okay
{{Tlx|x2| |two}} {{x2|two}} empty won't work
{{Tlx|x2|&#32;|two}} {{x2| |two}} &#32; is okay
{{Tlx|x2|&nbsp;|two}} {{x2| |two}} &nbsp; is okay
{{Tlx|x2| &#124; two}} {{x2| | two}} &#124; is okay
{{Tlx|x2| {{!}} two}} {{x2| | two}} {{!}} is dubious
{{Tlx|x2|2=|3=two}} {{x2|two}} empty really doesn't work
{{Tlx|x2|2=one|two}} {{x2|two}} two clobbers 2=one
{{Tlx|x2|3=two|2=one}} {{x2|one|two}} right to left okay

Comparison

As usual we got a zoo of similar templates, * marks redirects to {{Tlx}}:
Usage Code Result
0 Tlx {{Tlx|Tl}} {{Tl}}
0 Tl {{Tl|Tlx}} {{Tlx}}
1 Tlx {{Tlx|Tlp|one}} {{Tlp|one}}
1 Tlp {{Tlp|Tlp|one}} {{Tlp|one}}
1 Tetl {{Tetl|Tlp|one}} Шаблон:Tetl
2 Tlx {{Tlx|Tl2|one|two}} {{Tl2|one|two}}
2 Tlp2 * {{Tlp2|Tlp|Tl|param}} Шаблон:Tlp2
2 Tl2 * {{Tl2|Tlp|Tl|param}}
3 Tlx {{Tlx|Tl3|1|2|3}} {{Tl3|1|2|3}}
3 Tlp3 * {{Tlp3|Tl3|1|2|3}} Шаблон:Tlp3
3 Tl3 * {{Tl3|x3|1|2|3}} Шаблон:Tl3

См. также

  • Шаблон {{tl}}