Template:LC zh

From Wikidata
Jump to navigation Jump to search
Documentation icon Template documentation

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=關於}}
    • 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=關於}}

Integration with other templates and modules

Template data

Template:LC zh/doc