Template:ISO 639 name zh
Chinese
Template documentation
Usage
Template:ISO 639 name zh is part of a series that resolves the ISO 639-1, ISO 639-2 and ISO 639-3 codes to language names.
It is used by {{Translated page}} with language code zh, for example: {{Translated page |zh |name of page at Chinese Wikipedia}}. This template is used to generate a link to the Chinese Wikipedia and to include pages in Category:Pages translated from Chinese Wikipedia.
Former usage
The following templates now use Module:Lang, which stores the language code and name data in Module:Language/data/iana languages, Module:Language/data/ISO 639-3, and Module:Language/data/wp languages.
- {{Lang|zh| some text in Chinese}} wraps the text with <span lang="zh"> and could be used by the template {{Lang}} with language code zh to include articles in Category:Articles containing Chinese-language text (may be created using {{Category articles containing non-English-language text |Chinese |zh}}). Also available is {{Lang-zh |some text in Chinese}} which displays as Chinese: some text in Chinese.
- {{R from other language|zh|("to" language code)}} includes pages in Category:Redirects from Chinese-language terms (may be created using {{Redirect from alternative language category}}).
- {{R from alternative language|("from" language code)|zh}} includes pages in Category:Redirects to Chinese-language terms (may be created using {{Redirect to alternative language category}}).
See also
External links
- "ISO 639-1 identifier: zh". Library of Congress.
The above documentation is transcluded from Template:ISO 639 name conversion template doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |