Template:Attr
Revision as of 03:00, 29 June 2022 by Naginreed (talk | contribs) (Created page with "<code class="mw-highlight"><onlyinclude>{{{{{|safesubst:}}}#tag:span|{{{1}}}|class="na"}}{{{{{|safesubst:}}}#if:{{{2|}}}<noinclude>1</noinclude>|{{{{{|safesubst:}}}#tag:span|=|class="o"}}{{{{{|safesubst:}}}#tag:span|{{{2}}}|class="s"}}}}</onlyinclude></code> <noinclude> {{doc}} Category:Formatting templates </noinclude>")
{{{1}}}={{{2}}}
Usage
Examples
TemplateData
This template provides a quick way to mention an XML-style attribute in a preformatted way. Mainly used with the {{tag}} and {{xtag}} templates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 | The name of the X/HT/ML attribute.
| Content | required |
Value | 2 | The value of the X/HT/ML attribute.
| Content | suggested |
The above documentation is transcluded from Template:Attr/doc. (edit | history)