Jump to content

Template:Var/doc

From Meta, a Wikimedia project coordination wiki
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for Var

Creates <var> tags with default padding for better kerning when italicized.

Template parameters

ParameterDescriptionTypeStatus
IDid

Adds the “id” attribute to the <var> tag.

Stringoptional
Class Nameclass

Adds the “class” attribute to the <var> tag.

Stringoptional
CSS Stylestyle

Additional CSS properties

Stringoptional
Tooltiptitle

Adds the “title” attribute to the <var> tag.

Stringoptional
Languagelang

Adds the ISO 639 language code to the <var> tag.

Auto value
en
Stringoptional
Content1

The contents of the <var>...</var> tags.

Linerequired

Edit parameter translations