Jump to content

Template:Attr/doc: Difference between revisions

From wikiNonStop
m Reverted edits by 120.21.137.247 (talk) to last version by Rebulka
 
m 1 revision imported: Initial
 
(No difference)

Latest revision as of 05:46, 28 December 2024

Usage

Examples

  • {{tag|ref|open|params={{attr|group|"note"}}}}‎<ref group="note">

TemplateData

Lua error: expandTemplate: template loop detected.

This template provides a quick way to mention an XML-style attribute in a preformatted way. Mainly used with the {{tag}} and {{xtag}} templates.

Template parameters

ParameterDescriptionTypeStatus
Name1

The name of the X/HT/ML attribute.

Example
foo
Contentrequired
Value2

The value of the X/HT/ML attribute.

Example
"bar"
Contentsuggested

Edit parameter translations

See also

  • {{tag}} — for HTML/XML tags
  • {{para}} — for MediaWiki template parameters