Template:Attr

From Cosmoteer Wiki
Jump to navigation Jump to search

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

Template documentation
View or edit this documentation. (About template documentation)
CalloutIconNote.pngNote
Portions of the template sample may not be visible without values provided.

source: https://www.mediawiki.org/wiki/Template:Attr

Usage

Examples

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


Allows to adds attributes to Template:Tag tags.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Attribute name1

no description

Stringrequired
Attribute value2

no description

Contentrequired