Template:Wiki language table
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
This template has a sandbox (Edit) for editors to experiment.
Inserts a table of languages used on this wiki suitable for Wiki Translation and its translations. The table indicates the following information about each language:
- Its BCP 47 language tag, which consists of an ISO 639-1 code (when available) or ISO 639-2 code, an ISO 3166 country code when necessary for distinguishing between dialects, and an ISO 15924 script code when necessary for distinguishing between writing systems
- Its name in the current page's language
- Its autonym (native name)
- Its status on the wiki
The table indicates the following statuses:
Listed | The language is used on at least one content page and is thus listed by {{Languages}}. |
Unlisted | The language is used on the wiki but not on any content pages and is thus omitted from {{Languages}}. Once a content page is created in the language, it may be listed. |
Deprecated | The language code has been deprecated in favor of another language code. No new pages should be titled with a deprecated language code, and existing pages using it should eventually be moved to the preferred language code. |
The table only includes languages that are known to be used on this wiki. Consult this registry of language subtags for more languages.
Usage
{{Wiki language table}}
Parameters:
- |Language code =
- (Optional) Title of the "Language code" column, which contains each language's BCP 47 code.
- |Name =
- (Optional) Title of the "Name" column, which contains each language's name in the current page's language.
- |Native name =
- (Optional) Title of the "Native name" column, which contains each language's autonym (native name).
- |Prefix or namespace =
- (Optional) Title of the "Prefix or namespace" column, which contains each language's namespace (if applicable) or pseudonamespace.
- |Status =
- (Optional) Title of the "Status" column, which contains and indication of each language's status on the wiki.
- |Listed =
- (Optional) Cell text indicating that the language is used on content pages and is thus listed in {{Languages}}.
- |Unlisted =
- (Optional) Cell text indicating that the language is used on the wiki but not on any content pages and is thus omitted from {{Languages}}.
- |Deprecated =
- (Optional) Cell text indicating that the language code has been deprecated in favor of another language code.
Contributing
If you or another user has begun using another language on this wiki that isn't listed here, see Module:Languages/config for instructions on how to update the configuration that is shared between this template and {{Languages}}.
See also
- {{Languages}}
Inserts a table of languages used on this wiki suitable for Wiki Translation and its translations.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language code | Language code | Title of the “Language code” column, which contains each language’s BCP 47 code.
| String | optional |
Name | Name | Title of the “Name” column, which contains each language’s name in the current page’s language.
| String | optional |
Native name | Native name | Title of the “Native name” column, which contains each language’s autonym (native name).
| String | optional |
Prefix or namespace | Prefix or namespace | Title of the “Prefix or namespace” column, which contains each language’s namespace (if applicable) or pseudonamespace.
| Unknown | optional |
Status | Status | Title of the “Status” column, which contains and indication of each language’s status on the wiki.
| String | optional |
Listed | Listed | Cell text indicating that the language is used on content pages and is thus listed in Template:Languages.
| Unknown | optional |
Unlisted | Unlisted | Cell text indicating that the language is used on the wiki but not on any content pages and is thus omitted from Template:Languages.
| String | optional |
Deprecated | Deprecated | Cell text indicating that the language code has been deprecated in favor of another language code.
| String | optional |