Vorlage:Description/doc

[[Category:MediaWiki documentation pages{{#translation:}}]]

Adds language name, in native language (autonym), 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:

Usage

{{Description |text_lang= |text= }}

Vorlagenparameter

ParameterDescriptionDefaultStatus
text_lang
1
languageWikicode for the language and name of the CSS formatting class. In majority of the cases the language code is supported by the wikimedia software and will be used to look up the the names of the language in that language (lang_name) and in the users language (hover)emptyrequired
text
2
textdescription text to displayemptyrequired
hover
3
name
hover textName of the language in English used as text for tooltip aka hover text or mouse-over text. This parameter is used when language code in the parameter 1 is not supported by wikimedia software, other wise name of the language in users language will be supplied.emptyoptional
lang_namelanguage nameName of the language in that language. This parameter is mostly needed if language code in the parameter 1 is not supported by wikimedia software, or if the language name in front of the text is wrong otherwise.emptyoptional
ext
5
extension textextension text shown after the language name before colon (optional, default is empty)(empty)optional
inlineinlineoptional, 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

⧼Seealso⧽

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)