Template:Attr

From Foundry Wiki
Revision as of 03:00, 29 June 2022 by Naginreed (talk | contribs) (Created page with "<code class="mw-highlight"><onlyinclude>{{{{{|safesubst:}}}#tag:span|{{{1}}}|class="na"}}{{{{{|safesubst:}}}#if:{{{2|}}}<noinclude>1</noinclude>|{{{{{|safesubst:}}}#tag:span|=|class="o"}}{{{{{|safesubst:}}}#tag:span|{{{2}}}|class="s"}}}}</onlyinclude></code> <noinclude> {{doc}} Category:Formatting templates </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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