Template:Dtag: Difference between revisions
Appearance
m Added categories |
m Replacing old documentation reference with new Documentation template. |
||
| Line 1: | Line 1: | ||
<includeonly>{{subst:#if:{{{1|}}}|{{{|<}}}{{{1}}}{{subst:#if:{{{attributes|}}}| {{{attributes}}}}}{{subst:#if:{{{2|}}}|{{{|>}}}{{{2}}}{{{|<}}}/{{{1}}}{{{|>}}}|{{{| }}}/{{{|>}}}}}|<strong class="error">{{tl2|dtag}} requires at least one argument.</strong>}}</includeonly> | <includeonly>{{subst:#if:{{{1|}}}|{{{|<}}}{{{1}}}{{subst:#if:{{{attributes|}}}| {{{attributes}}}}}{{subst:#if:{{{2|}}}|{{{|>}}}{{{2}}}{{{|<}}}/{{{1}}}{{{|>}}}|{{{| }}}/{{{|>}}}}}|<strong class="error">{{tl2|dtag}} requires at least one argument.</strong>}}</includeonly> | ||
<noinclude> | <noinclude> | ||
{{ | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
<noinclude> | <noinclude> | ||
Latest revision as of 22:54, 5 August 2020
The Dtag template is used to delay the evaluation of a tag. An example of a template that uses this template is Template:Nowiki.
Usage
{{Dtag|tag|attributes=...|content}}
tag- the tag that should be delayedattributes- the attributes of the tagcontent- the content that should be enclosed between the start and ending tags