Jump to content

Template:Attr

From Meta, a Wikimedia project coordination wiki

{{{1}}}={{{2}}}

Template documentation

Usage

[edit]

Examples

[edit]
  • {{tag|ref|open|params={{attr|group|"note"}}}}<ref group="note">

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for Attr

This template provides a quick way to mention an XML-style attribute in a preformatted way. Mainly used by the {{Tag}} template.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

The name of the X/HTML attribute.

Example
foo
Linerequired
Value2

The value of the X/HTML attribute.

Example
"bar"
Linesuggested

See also

[edit]