Template:LC zh/doc/ko
![]() | Uses Lua: |
설명
이 템플릿은 중국어("zh") 페이지 제목과 콘텐츠에 대한 언어 변환("LC")을 처리하며, 특히 이름공간 이름이 있거나 없는 페이지 제목("nsp" 매개변수), 언어 변환기 페이지와 언어 변환기가 아닌 페이지의 콘텐츠에 대한 언어 변환을 처리합니다.
사용법
- 콘텐츠 유형
- T: 페이지 제목
- 기본 이름공간에만 해당:
{{LC zh|T|zh-hans=<zh-Hans 페이지 이름>|zh-hant=<zh-Hant 페이지 이름>}}
{{LC zh|T|{{{nsp|}}}|<en의 이름공간 이름>|zh-hans=<zh-Hans 페이지 이름>|zh-hant=<zh-Hant 페이지 이름>}}
{{LC zh|T|{{{nsp|}}}|<en의 이름공간 이름>|zh-hans=<zh-Hans 페이지 이름>|zh-hant=<zh-Hant (zh-Hant-TW) 페이지 이름>|zh-hk=<zh-Hant-HK 페이지 이름>}}
- 예시:
{{LC zh|T|{{{nsp|}}}|Project|zh-hans=关于|zh-hant=關於}}
- 기본 이름공간에만 해당:
- C: 콘텐츠
{{LC zh|C|zh-hans=<zh-Hans 콘텐츠>|zh-hant=<zh-Hant 콘텐츠>}}
{{LC zh|C|zh-hans=<zh-Hans 콘텐츠>|zh-hant=<zh-Hant (zh-Hant-TW) 콘텐츠>|zh-hk=<zh-Hant-HK 콘텐츠>}}
- 예시:
{{LC zh|C|zh-hans=关于|zh-hant=關於}}
- T: 페이지 제목
다른 템플릿 및 모듈과의 통합
틀 데이터
TemplateData for LC zh/doc
Language conversion template for Chinese script.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language Variant | variant | The fixed language variant to output. (e.g. `zh-hans`, `zh-hant`, etc.) | String | optional |
Content type | 1 | 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"
| String | required |
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"
| Boolean | optional |
English Canonical Namespace Name | 3 | (type=N, T) The canonical name of the namespace in English.\n\n;Aliases\n:"ns"\n:"namespace"
| String | optional |
2nd English Canonical Namespace Name | ns_2 | (type=N, T) The canonical name of the secondary pseudo-namespace in English, used for example in Help:Extension:Example
| String | optional |
English Page Name | 4 | (type=T) The canonical name of the page in English without the namespace prefix (like the PAGENAME variable).
| String | optional |
Chinese | zh | The text content in Chinese script.
| Content | optional |
Simplified Chinese | zh-hans | The text content in simplified Chinese script.
| Content | suggested |
Traditional Chinese | zh-hant | The text content in traditional Chinese script.
| Content | suggested |
Chinese (China) | zh-cn | The text content in simplified Chinese script.
| Content | optional |
Chinese (Hong Kong) | zh-hk | The text content in traditional Chinese script used in Hong Kong.
| Content | optional |
Chinese (Macau) | zh-mo | The text content in traditional Chinese script used in Macau.
| Content | optional |
Chinese (Malaysia) | zh-my | The text content in simplified Chinese script.
| Content | optional |
Chinese (Singapore) | zh-sg | The text content in simplified Chinese script.
| Content | optional |
Chinese (Taiwan) | zh-tw | The text content in traditional Chinese script.
| Content | optional |
변수 번역 편집