Jump to content
šŸ—³ļøšŸ–„ļø Initial Site Layout

Template:Attr

From wikiNonStop
Revision as of 06:56, 27 December 2024 by Majestix (talk | contribs) (1 revision imported: Initial )
(diff) ā† Older revision | Latest revision (diff) | Newer revision ā†’ (diff)

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

Template documentation

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