Template:Attr
Appearance
{{{1}}}={{{2}}}
Usage
Examples
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Attr
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 |