Template:LC zh
Jump to navigation
Jump to search
Template documentation
Uses Lua: |
Description
This template handles the language conversion ("LC") for Mandarin ("zh") page titles and content, especially for page titles with/without namespace names (the "nsp" parameter), content across language converter and non-language-converter pages.
Usage
- Content types
- T: Page title
- For main namespace only:
{{LC zh|T|zh-hans=<zh-Hans page name>|zh-hant=<zh-Hant page name>}}
{{LC zh|T|Template:(((nsp|Template:)))|<namespace name in en>|zh-hans=<zh-Hans page name>|zh-hant=<zh-Hant page name>}}
{{LC zh|T|Template:(((nsp|Template:)))|<namespace name in en>|zh-hans=<zh-Hans page name>|zh-hant=<zh-Hant (zh-Hant-TW) page name>|zh-hk=<zh-Hant-HK page name>}}
- Example:
{{LC zh|T|{{{nsp|}}}|Project|zh-hans=关于|zh-hant=關於}}
- For main namespace only:
- C: Content
{{LC zh|C|zh-hans=<zh-Hans content>|zh-hant=<zh-Hant content>}}
{{LC zh|C|zh-hans=<zh-Hans content>|zh-hant=<zh-Hant (zh-Hant-TW) content>|zh-hk=<zh-Hant-HK content>}}
- Example:
{{LC zh|C|zh-hans=关于|zh-hant=關於}}
- T: Page title
Integration with other templates and modules
Template data
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Subpages of this template. |