Template:Language/doc: Difference between revisions

Jump to navigation Jump to search
Small corr.
(Created /doc subpage for Template:Language.)
 
(Small corr.)
Line 2: Line 2:
__NOTOC__
__NOTOC__
==Usage==
==Usage==
{{tl|language}} will translate a ISO 639-1 (or, in a few cases, ISO 639-2) language code into the English proper name for the corresponding language, at the position where you place the template. For some languages there is also a possibility to use the <code>-<region> format (see the list below). Language names are shown as plain text, the default message is shown in italic.
{{tl|language}} will translate an ISO 639-1 (or, in a few cases, ISO 639-2) language code into the English proper name for the corresponding language, at the position where you place the template. For some languages there is also a possibility to use the <code>-<region> format (see the list below). Language names are shown as plain text, the default message is shown in italic.


The template is useful for inserting the name of a language in a text, if you only know the language code, or for use in templates where you want the template user to define the language, e.g. for automatic categorizing.
The template is useful for inserting the name of a language in a text, if you only know the language code, or for use in templates where you want the template user to define the language, e.g. for automatic categorizing.
3,860

edits

Navigation menu