Jump to content
🗳️🖥️ The Wikimedia Foundation December 2024 Developer Satisfaction Survey closes on the 2025-01-03. This survey helps us measure developer satisfaction, and prioritize work on tools and platforms for our technical contributors.

Template:Attr/doc

From wikiNonStop
Revision as of 17:02, 28 May 2023 by en>Mainframe98 (Reverted edits by 120.21.137.247 (talk) to last version by Rebulka)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Examples

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

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.

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