Template:Attr
Jump to navigation
Jump to search
{{{1}}}={{{2}}}
Template documentation
|
---|
View or edit this documentation. (About template documentation)
Portions of the template sample may not be visible without values provided. |
source: https://www.mediawiki.org/wiki/Template:Attr
Usage
Examples
{{tag|ref|open|params={{attr|group|"note"}}}}
→<ref group="note">
{{tag|ref|open|params={{attr|group|"note"}} {{attr|foo|"bar"}}}}
→<ref group="note" foo="bar">
Allows to adds attributes to Template:Tag tags.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Attribute name | 1 | no description | String | required |
Attribute value | 2 | no description | Content | required |