Vorlage:Description/doc
Datei:OOjs UI icon book-ltr.svg | This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original Vorlage page. |
[[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:
- Category:Language templates with no text displayed (if parameter #2 is empty)
Usage
{{Description |text_lang= |text= }}
Vorlagenparameter
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, 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) | 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
⧼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)
Add to {{Description/i18n}}