Template:Attr/doc

From Foundry Wiki
< Template:Attr
Revision as of 03:00, 29 June 2022 by Naginreed (talk | contribs) (Created page with "{{doc/start}} == Usage == === Examples === * {{tlx|tag|ref|open|params{{=}}{{tlx|attr|group|"note"}}}} → {{tag|ref|open|params={{attr|group|"note"}}}} == TemplateData == {{TemplateData header}} {{#invoke:TNT|doc|tag/attr}} {{doc/end}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation

Usage

Examples

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


TemplateData

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

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.