|
|
(не показаны 34 промежуточные версии 8 участников) |
Строка 1: |
Строка 1: |
− | <span class="wp-templatelink">{{</span>{{#if: {{{1|}}} | {{#ifeq: Шаблон:{{ucfirst:{{{1|}}}}}|'''{{#titleparts:{{FULLPAGENAME}}|1}}|{{{1}}}'''|[[Шаблон:{{{1}}}|{{{1}}}]]}} | '''{{lcfirst:{{#titleparts:{{PAGENAME}}|1}}'''}} }}{{#if:{{{2|}}}|<tt class="wp-templatelink">|</tt>{{{2}}}}}{{#if:{{{3|}}}|<tt class="wp-templatelink">|</tt>{{{3}}}}}{{#if:{{{4|}}}|<tt class="wp-templatelink">|</tt>{{{4}}}}}{{#if:{{{5|}}}|<tt class="wp-templatelink">|</tt>{{{5}}}}}{{#if:{{{6|}}}|<tt class="wp-templatelink">|</tt>{{{6}}}}}{{#if:{{{7|}}}|<tt class="wp-templatelink">|</tt>{{{7}}}}}{{#if:{{{8|}}}|<tt class="wp-templatelink">|</tt>{{{8}}}}}{{#if:{{{9|}}}|<tt class="wp-templatelink">|</tt>{{{9}}}}}{{#if:{{{10|}}}|<tt class="wp-templatelink">|</tt><i>и т. д.</i>}}<span class="wp-templatelink">}}</span><noinclude>
| + | {{{{{|safesubst:}}}#invoke: Template call code | withParams | _tag = {{{_tag|code}}} }}<noinclude> |
− | | + | {{doc}} |
− | {{doc-inline}}
| |
− | Это гибрид шаблонов {{tl|tlp}} и {{tl|t}}: вывод кода, по которому вызывается заданный шаблон, с указанием параметров, без всяких ссылок (если только шаблон не помещён на страницу, отличную от заданной в первом параметре).
| |
− | | |
− | == Примеры ==
| |
− | * <code><nowiki>{{tp|tp|one|two|''three''||&nbsp;|name{{=}}five}}</nowiki></code> → {{tp|tp|one|two|''three''| |name{{=}}five}}
| |
− | * <code><nowiki>{{tp|test|smth}}</nowiki></code> → {{tp|test|smth}}
| |
− | | |
− | ----
| |
− | Более подробную документацию см. на странице шаблона {{tl|tlp}}.
| |
− | {{doc-end}} | |
| </noinclude> | | </noinclude> |