Template:LC zh/pl

From Wikidata
Jump to navigation Jump to search
This page is a translated version of the page Template:LC zh and the translation is 96% complete.
Documentation icon Template documentation

Opis

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.

Użycie

  • Typy zawartości
    • T: Tytuł strony
      • Tylko dla głównej przestrzeni nazw:{{LC zh|T|zh-hans=<zh-Hans nazwa strony>|zh-hant=<zh-Hant nazwa strony>}}
      • {{LC zh|T|{{{nsp|}}}|<nazwa przestrzeni nazw w języku angielskim>|zh-hans=<zh-Hans nazwa strony>|zh-hant=<zh-Hant nazwa strony>}}
      • {{LC zh|T|{{{nsp|}}}|<nazwa przestrzeni nazw w języku>|zh-hans=<zh-Hans nazwa strony>|zh-hant=<zh-Hant (zh-Hant-TW) nazwa strony>|zh-hk=<zh-Hant-HK nazwa strony>}}
      • Przykład:{{LC zh|T|{{{nsp|}}}|Project|zh-hans=关于|zh-hant=關於}}
    • C: Treść
      • {{LC zh|C|zh-hans=<Zawartość zh-Hans>|zh-hant=<Zawartość zh-Hant>}}
      • {{LC zh|C|zh-hans=<Zawartość zh-Hans>|zh-hant=<Zawartość zh-Hant (zh-Hant-TW)>|zh-hk=<Zawartość zh-Hant-HK>}}
      • Przykład: {{LC zh|C|zh-hans=关于|zh-hant=關於}}

Integracja z innymi szablonami i modułami

Dane szablonu

This is the TemplateData documentation for this template used by VisualEditor and other tools.

LC zh

Language conversion template for Chinese script.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Language Variantvariant

The fixed language variant to output. (e.g. `zh-hans`, `zh-hant`, etc.)

Stringoptional
Content type1

The content type, values:\n* "N" - Namespace Name\n* "T" - Full Page Title\n* "H" - Heading\n* "C" - Text Content\n\n;Aliases\n:"type"

Example
T
Auto value
C
Stringrequired
Hide Namespace Prefix?2

(type=N, T) Whether to hide the namespace prefix (value is passed to [[Template:Localized link]] as the "nsp" parameter).\n\n;Aliases\n:"hide_ns"\n:"nsp"

Auto value
{{{nsp|}}}
Booleanoptional
English Canonical Namespace Name3

(type=N, T) The canonical name of the namespace in English.\n\n;Aliases\n:"ns"\n:"namespace"

Example
Help
Stringoptional
2nd English Canonical Namespace Namens_2

(type=N, T) The canonical name of the secondary pseudo-namespace in English, used for example in Help:Extension:Example

Example
Extension
Stringoptional
Chinesezh

The text content in Chinese script.

Default
{{{zh-hans|{{{zh-hant}}}}}}
Contentoptional
Simplified Chinesezh-hans

The text content in simplified Chinese script.

Default
{{{zh}}}
Contentsuggested
Traditional Chinesezh-hant

The text content in traditional Chinese script.

Default
{{{zh}}}
Contentsuggested
Chinese (China)zh-cn

The text content in simplified Chinese script.

Default
{{{zh-hans}}}
Contentoptional
Chinese (Hong Kong)zh-hk

The text content in traditional Chinese script used in Hong Kong.

Default
{{{zh-hant}}}
Contentoptional
Chinese (Macau)zh-mo

The text content in traditional Chinese script used in Macau.

Default
{{{zh-hant}}}
Contentoptional
Chinese (Malaysia)zh-my

The text content in simplified Chinese script.

Default
{{{zh-hans}}}
Contentoptional
Chinese (Singapore)zh-sg

The text content in simplified Chinese script.

Default
{{{zh-hans}}}
Contentoptional
Chinese (Taiwan)zh-tw

The text content in traditional Chinese script.

Default
{{{zh-hant}}}
Contentoptional
Edytuj tłumaczenia parametrów