Все мы знаем, какой пиздец сейчас происходит с Украиной и одной известной вам страной-победительницей-фашизма. Если вы хотите почитать об этом, помочь актуализировать информацию или высказать свое мнение — можете сделать это в статье Война в Украине и в обсуждении.
Шаблон:Dtag/Документация: различия между версиями
Перейти к навигации
Перейти к поиску
Нет описания правки |
Нет описания правки |
||
| Строка 6: | Строка 6: | ||
Should be substituted only within an <code><includeonly /></code> block. | Should be substituted only within an <code><includeonly /></code> block. | ||
<nowiki>{{</nowiki>{{ | <nowiki>{{</nowiki>{{PAGENAME}}|'''tag'''|attributes='''attribs'''|'''content'''<nowiki>}}</nowiki> | ||
* '''tag''' is the name of the tag, to be enclosed in angled brackets. | * '''tag''' is the name of the tag, to be enclosed in angled brackets. | ||
* '''attribs''' is a list of attribute names and values separated by equals signs, to be inserted within the first set of angled brackets. Example: <code>attributes=class="error" style="font-weight: normal"</code> | * '''attribs''' is a list of attribute names and values separated by equals signs, to be inserted within the first set of angled brackets. Example: <code>attributes=class="error" style="font-weight: normal"</code> | ||
* '''content''' is the code to be enclosed between the start and end tags. Can be omitted to create a <code><self-closing /></code> tag. | * '''content''' is the code to be enclosed between the start and end tags. Can be omitted to create a <code><self-closing /></code> tag. | ||
Текущая версия от 17:03, 12 апреля 2022
Delays the evaluation of a tag. A tag's text can be generated dynamically, and then evaluated after the next substitution. Unlike the code generated by {{#tag:}}, the tag will not be evaluated immediately.
Usage
[править]Should be substituted only within an <includeonly /> block.
{{Dtag/Документация|tag|attributes=attribs|content}}
- tag is the name of the tag, to be enclosed in angled brackets.
- attribs is a list of attribute names and values separated by equals signs, to be inserted within the first set of angled brackets. Example:
attributes=class="error" style="font-weight: normal" - content is the code to be enclosed between the start and end tags. Can be omitted to create a
<self-closing />tag.