Template:CJKV/doc

Revision as of 17:37, 11 April 2017 by Evan1975 (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> ==Usage== To use the template, start with {{tld|CJKV}} and add any parameters you ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UsageEdit

To use the template, start with Template:Tld and add any parameters you like, along with what you want to be displayed. The template will display all, and only, the parameters that you give it. The following parameters are supported:

Parameters
Parameter Description Example
|t= traditional Chinese {{CJKV|t=李四}}
traditional Chinese: 李四
|s= simplified Chinese {{CJKV|s=李四}}
simplified Chinese: 李四
|c= Chinese {{CJKV|c=李四}}
Chinese: 李四
|p= Hanyu Pinyin {{CJKV|p=Zhōnghuá Mínguó}}
Hanyu Pinyin: Zhōnghuá Mínguó
|tp= Tongyong Pinyin {{CJKV|tp=Jhonghuá Mínguó}}
Tongyong Pinyin: Jhonghuá Mínguó
|cy= Cantonese Yale {{CJKV|cy=lei5 sei3}}
Cantonese Yale: lei5 sei3
|cj= Cantonese Jyutping {{CJKV|cj=lei5 sei3}}
Cantonese Jyutping: lei5 sei3
|w= Wade–Giles {{CJKV|w=Chung-hua Min-kuo}}
Wade-Giles: Chung-hua Min-kuo
|j= Japanese {{CJKV|j=中華人民共和国}}
Japanese: 中華人民共和国
|r= Rōmaji {{CJKV|r=Chūka jinmin kyōwa-koku}}
Japanese pronunciation: Chūka jinmin kyōwa-koku
|k= Korean {{CJKV|k=중화 인민 공화국}}
Korean: 중화 인민 공화국
|rr= Romaja {{CJKV|rr=Junghwa inmin gonghwaguk}}
Korean pronunciation: Junghwa inmin gonghwaguk
|v= Vietnamese {{CJKV|v=Trung Quốc}}
Template:Lang-vi
|l= "literally" {{CJKV|l=China}}
literally: "China"

(Note: "Japanese pronunciation" or "Korean pronunciation" will appear, instead of "rōmaji" or "romaja", if their Japanese and Korean parameters are missing respectively. See examples 6 and 7.)

All parameters are optional.

ExamplesEdit

Traditional Chinese always goes first.

  1. {{CJKV|t=張三|s=张三}}
    traditional Chinese: 張三; simplified Chinese: 张三
  2. {{CJKV|s=张三|t=張三}}
    traditional Chinese: 張三; simplified Chinese: 张三

This template compares traditional Chinese, simplified Chinese, and Japanese Kanji automatically.

  1. {{CJKV|t=李四}}
    traditional Chinese: 李四
  2. {{CJKV|s=李四}}
    simplified Chinese: 李四
  3. {{CJKV|t=李四|s=李四}}
    Chinese: 李四
  4. {{CJKV|t=李四|s=李四|j=李四}}
    Chinese and Japanese: 李四
  5. {{CJKV|t=李四|s=李四|j=李四|k=이사}}
    Chinese and Japanese: 李四; Korean: 이사
  6. {{CJKV|t=李四|s=李四|j=李四|k=이사|l=foobar}}
    Chinese and Japanese: 李四; Korean: 이사; literally: "foobar"

Simplified and traditional Chinese can be combined together.

  1. {{CJKV|t=皇居|s=皇居|j=皇居|k=고쿄}}
    Chinese and Japanese: 皇居; Korean: 고쿄
  2. {{CJKV|c=皇居|j=皇居|k=고쿄}}
    Chinese and Japanese: 皇居; Korean: 고쿄
  3. {{CJKV|c=皇居|j=皇居|k=고쿄|l=Imperial Residence}}
    Chinese and Japanese: 皇居; Korean: 고쿄; literally: "Imperial Residence"

Note that the combined Chinese parameter will overwrite existing ones.

  1. {{CJKV|t=黃飛鴻|s=黄飞鸿|c=黄飞鸿|j=黄飛鴻|k=황비홍}}
    Chinese: 黄飞鸿; Japanese: 黄飛鴻; Korean: 황비홍
    is equivalent to
  2. {{CJKV|c=黄飞鸿|j=黄飛鴻|k=황비홍}}
    Chinese: 黄飞鸿; Japanese: 黄飛鴻; Korean: 황비홍

More examples:

  1. {{CJKV|t=中國|s=中国|j=中國|k=중국}}
    traditional Chinese and Japanese: 中國; simplified Chinese: 中国; Korean: 중국
  2. {{CJKV|t=中國|s=中国|j=中国|k=중국}}
    traditional Chinese: 中國; simplified Chinese and Japanese: 中国; Korean: 중국
  3. {{CJKV|c=立春|j=立春|k=입춘|v=Lập xuân|l=establishment of spring}}
    Chinese and Japanese: 立春; Korean: 입춘; Template:Lang-vi; literally: "establishment of spring"
  4. {{CJKV|t=漢族|s=汉族|p=hànzú|j=漢民族|r=kan minzoku|k=한족}}
    traditional Chinese: 漢族; simplified Chinese: 汉族; pinyin: hànzú; Japanese: 漢民族; rōmaji: kan minzoku; Korean: 한족
  5. {{CJKV|t=中華民國|s=中华民国|p=Zhōnghuá Mínguó|tp=Jhonghuá Mínguó|w=Chung-hua Min-kuo}}
    traditional Chinese: 中華民國; simplified Chinese: 中华民国; pinyin: Zhōnghuá Mínguó; Tongyong Pinyin: Jhonghuá Mínguó; Wade-Giles: Chung-hua Min-kuo
  6. '''Emperor''' ({{CJKV|c=皇帝|p=Huángdì|r=Kōtei|rr=Hwangje|v=Hoàng đế}})
    Emperor (Chinese: 皇帝; pinyin: Huángdì; Japanese pronunciation: Kōtei; Korean pronunciation: Hwangje; Template:Lang-vi)
  7. '''History of China''' ({{CJKV|t=中國歷史|s=中国历史|p=Zhōngguó lìshǐ|j=中国の歴史|r=Chūgoku no rekishi|k=중국의 역사|rr=Junggugui Yeoksa|v=Lịch sử Trung Quốc}})
    History of China (traditional Chinese: 中國歷史; simplified Chinese: 中国历史; pinyin: Zhōngguó lìshǐ; Japanese: 中国の歴史; rōmaji: Chūgoku no rekishi; Korean: 중국의 역사; romaja: Junggugui Yeoksa; Template:Lang-vi)

See alsoEdit

  • {{Infobox Chinese}} - infobox template supports traditional, simplified Chinese as well as other common romanizations.
  • {{zh}} - inline template supports traditional, simplified Chinese as well as other common romanizations.


Template:Unicode templates