Template:Description/doc
Jump to navigation
Jump to search
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:
- Category:Language templates with no text displayed (if parameter #2 is empty)
Usage
{{Description |text_lang= |text= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
text_lang 1 | language | Wikicode 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 ) | empty | required |
text 2 | text | description text to display | empty | required |
hover 3 name | hover text | Name 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. | empty | optional |
lang_name | language name | Name 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. | empty | optional |
ext 5 | extension text | extension text shown after the language name before colon (optional, default is empty) | (empty) | optional |
inline | inline | optional boolean, false by default. When set to "true" (or "1", "yes", "on") , 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) | empty | optional |
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
This template is localized using Module:TNT. These translations are stored in Data:I18n/DescriptionError.tab.
Add translations to Data:I18n/DescriptionError.tab