Template:Attr

From Linux Web Expert

Revision as of 07:07, 31 October 2023 by imported>MathXplore (Reverted edits by 2001:8F8:1539:AE2:82B2:91CA:1848:5E02 (talk) to last version by ExE Boss: unnecessary links or spam)
(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

<templatedata>{"paramOrder":["1","2"],"description":"This template provides a quick way to mention an XML-style attribute in a preformatted way. Mainly used with the {{tag}} and {{xtag}} templates.","params":{"1":{"suggested":false,"type":"content","required":true,"label":"Name","example":"foo","description":"The name of the X/HT/ML attribute."},"2":{"suggested":true,"type":"content","required":false,"label":"Value","example":"\"bar\"","description":"The value of the X/HT/ML attribute."}}}</templatedata>Edit parameter translations

See also

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