Текущая версия |
Ваш текст |
Строка 1: |
Строка 1: |
| <includeonly>{{#invoke:Tlx|tlx}}</includeonly><noinclude>{{doc-inline}}{{Tlx|Tlx}} is used to explain different parameters for other templates.
| | #перенаправление [[Шаблон:Tlp]] |
| | |
| == Использование ==
| |
| <code><nowiki>{{Tlx|название шаблона|первый параметр|2=значение=параметр|...}}</nowiki></code>
| |
| | |
| * Any number of parameters for the specified template are displayed as placeholders, more parameters are shown sperated by «|''etc.''».
| |
| * If you want one of the prefixes such as subst: to be shown then add prefix=subst to the parameters.
| |
| * Alternatively, subst: prefix can be added by setting <code>|subst=true</code>
| |
| * You can wrap the entire explanation inside <code><nowiki><code>...</code></nowiki></code> tags by setting <code>|style=code</code>
| |
| * If you wish to explain a named parameter then add the number of the parameter you are at and an = sign (as shown below).
| |
| | |
| == Examples ==
| |
| * <nowiki>{{Tlx|PolicyWarn|Policy Name|subst=true}}</nowiki> → {{Tlx|delete|Policy Name|subst=true}}
| |
| | |
| * <nowiki>{{Tlx|delete|2=quick=true|3=reason=Some reason|prefix=myprefix}}</nowiki> → {{Tlx|delete|2=quick=true|3=reason=Some reason|prefix=myprefix}}
| |
| | |
| * <nowiki>{{Tlx|PolicyWarn|Policy Name|subst=true|style=code}}</nowiki> → {{Tlx|delete|Policy Name|subst=true|style=code}}
| |
| | |
| | |
| [[Категория:Шаблоны:Для шаблонов|{{PAGENAME}}]] | |
| [[Категория:Викимультия:Шаблоны:Внутренние ссылки|{{PAGENAME}}]]
| |
| {{doc-end}}</noinclude>
| |