Template:LC zh/doc/de
Appearance
Benutzt Lua: |
Beschreibung
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.
Verwendung
- 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|{{{nsp|}}}|<namespace name in en>|zh-hans=<zh-Hans page name>|zh-hant=<zh-Hant page name>}}
{{LC zh|T|{{{nsp|}}}|<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>}}
- Beispiel:
{{LC zh|T|{{{nsp|}}}|Project|zh-hans=关于|zh-hant=關於}}
- For main namespace only:
- C: Inhalt
{{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>}}
- Beispiel:
{{LC zh|C|zh-hans=关于|zh-hant=關於}}
- T: Page title
Integration with other templates and modules
Vorlagendaten
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content type | 1 | The content type to convert. "<code>T</code>" (title) or "<code>C</code>" (content).
| String | required |
T: nsp | 2 | Only for T (title). Used for pass nsp parameter from [[Template:Localized link]].
| Number | suggested |
T: Namespace name | 3 | The namespace for T (title).
| String | suggested |
T: Title without namespace for auto conversion | 4 | Page title without namespace for auto language conversion for T (title) mode.
| Unknown | optional |
zh | zh | no description | Unknown | optional |
zh-hans | zh-hans | no description | Unknown | optional |
zh-hant | zh-hant | no description | Unknown | optional |
zh-hk | zh-hk | no description | Unknown | optional |