Template:StatusLang/doc
This is a documentation subpage for Template:StatusLang. It contains usage information, categories and other content or metadata that is not part of the original template. |
This template provides internationalization (i18n) support for feature statuses, translating status descriptions into other languages.
Usage
{{StatusLang|text key|language code}}
generates the text associate with text key in the language specified by language code.
Where the given text key does not match one of the values listed below (generally because it was incorrectly translated in feature pages or because the value contains a typo), that page will be tracked in Category:Feature descriptions with incorrect status value, because that page will not be categorized correctly (The effective list of supported values is either "unspecified", or one of those listed in Category:Feature descriptions by status).
Where a given piece of text is not available in the specified language, the {{TranslateThis}} template is used to show the key and to provide more information about how to translate the message into that language.
Where a language is specified which is not currently supported, the {{TranslateThis}} template is used to display the the English message and to provide more information about how to translate messages into that language.
The status messages for approved (Q15), de facto (Q13), deprecated (Q5061), discardable (Q7550), imported (Q21146), in use (Q14), obsolete (Q5060), proposed (Q20) and voting (Q17) are stored in the labels for the data items.
In common with other Mediawiki functionality, specifying the language code as qqx
will display the text key itself.
Examples
Wikitext | Produces |
---|---|
{{StatusLang|proposed|en}} | proposed |
{{StatusLang|approved|fr}} | Approuvé |
{{StatusLang|approved|fa}} | پذیرفته |
{{StatusLang|in use|ja}} | 使用中 |
{{StatusLang|voting|ar}} | في الإقتراع |
{{StatusLang|obsolete|nl}} | verouderd |
{{StatusLang|undefined|zh-hans}} | 未指定 |
{{StatusLang|discardable|qqx}} | discardable |
{{StatusLang|deprecated|la}} | deprecated |
Template:StatusLang values table
Due to its size, the table of translated values cannot be fully transcluded and rendered in the documentation itself.
This table was automatically generated based on the content of this template at 2024-11-21 04:59:24 GMT. Any updates since then to individual values will be reflected here. However, any new parameters will not appear here until the table is regenerated.
(You may want to add new languages to show in this table, by editing Template:StatusLang/doc/table/rowgroup).
See also
- Category:Feature descriptions with incorrect status value populated by this template
- Template:Tag status values describes valid values in more detail
- Template:MultipleTaggingDescription is processing status parameters
- {{ElementUsageLang}}
- {{DescriptionLang}}
- {{ElementUsage}}
- {{TranslateThis}}