Open main menu

Template:Description


Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Description/doc.

Adds language name and colon in front of the text in that language. Also adds machine-readable tags identifying the text as being in that language.

The template automatically sets the following categories: Category:Language templates with no text displayed (if parameter #2 is empty)

Usage

{{Description |1= |2= |3= |4= |5= |inline= }}

Template parameters

ParameterDescriptionDefaultStatus
1wikicode for the language and name of the CSS formating class (mandatory)emptyrequired
2description textemptyrequired
3title for tooltip (optional, default is empty)
  • name=alternative parameter name for parameter 3
emptyoptional
4standard code for lang tag in HTML (optional, default is same as parameter 1)emptyoptional
5extension text shown after the language name before colon (optional, default is empty)emptyoptional
inlineoptional, default is empty string. When set to any value different from an empty string, forces the template to be displayed inline, so that it does not break the current paragraph (i.e. that makes possible to put several descriptions side by side on a single line)emptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

See also

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Add to {{Description/i18n}}