Template:Chinese

Jump to: navigation, search
Information icon.svg This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
Chinese
[view] [edit]Template-info.svg Template documentation


Chinese

60px

Put caption here

60px

Put caption here
Chinese name
Chinese: c
Traditional Chinese: t
Simplified Chinese: s
Literal meaning: l
altname
Chinese: c2
Traditional Chinese: t2
Simplified Chinese: s2
Literal meaning: l2
Filipino name
Tagalog: tgl
Indian name
Hindi: hin
Japanese name
Kanji: kanji
Kana: kana
Hiragana: hiragana
Kyūjitai: kyujitai
Shinjitai: shinjitai
Korean name
Hangul: hangul
Hanja: hanja
Malay name
Malay: msa
Manchu name
Manchu: mnc
Mongolian name
Mongolian: mon
Portuguese name
Portuguese: por
Russian name
Russian: rus
Romanization: rusr
Tamil name
Tamil: tam
Thai name
Thai: tha
RTGS: rtgs
Tibetan name
Tibetan: tib
Uyghur name
Uyghur: uig
Vietnamese name
Vietnamese: vie
Quoc Ngu: qn
Chu Nom: chunom
Han Tu: hantu
Zhuang name
Zhuang: zha
lang1 name
lang1: lang1_content
lang2 name
lang2: lang2_content
lang3 name
lang3: lang3_content

Usage

Use this template to show a Chinese name, word, term or phrase in various renderings.

{{Chinese
|title=Box title        (Default is the article title)
|float=left|right|none  (Default float position is right)
|pic=pic
|piccap=piccap
|picsize=200px		(Default is 260px)
|pic2=addition pic
|piccap2=additional pic caption
|picsize2=200px		(Default is 260px)
|c=Chinese		(Use when traditional = simplified)
|t=Traditional
|s=Simplified
|l=Literal Meaning
|p=Mandarin Hanyu Pinyin
|tp=Tongyong pinyin
|w=Wade Giles
|psp=Chinese postal map
|my=Mandarin Yale
|gr=Gwoyeu Romatzyh
|j=Cantonese Jyutping
|y=Cantonese Yale
|i=IPA
|toi=Taishanese
|gan=Gan romanization
|wuu=Wu romanization
|hsn=Xiang romanization
|h=Hakka
|poj=Min Nan POJ
|buc=Min Dong BUC
|lmz=Latin Phonetic Shanghainese
|teo=Teochew
|altname=Alternate name
|c2=Chinese2		
|t2=Traditional2
|s2=Simplified2
|l2=Literal Meaning2
|p2=Mandarin Hanyu Pinyin2
|tp2=Tongyong pinyin2
|w2=Wade Giles2
|psp2=Chinese postal map2
|my2=Mandarin Yale2
|gr2=Gwoyeu Romatzyh2
|j2=Cantonese Jyutping2
|i2=IPA2
|toi2=Taishanese2
|gan2=Gan romanization
|wuu2=Wu romanization
|hsn2=Xiang romanization
|y2=Cantonese Yale2
|h2=Hakka2
|poj2=Min Nan POJ 2
|buc=Min Dong BUC 2
|lmz2=Latin Phonetic Shanghainese2
|teo2=Teochew2
|hangul=Korean Hangul
|hanja=Korean Hanja
|rr=Revised Romanization of Korean
|mr=McCune-Reischauer Romanization of Korean
|northkorea=yes                (hangul becomes Chosŏn'gŭl)
|kanji=Japanese Kanji
|kyujitai=Japanese Kanji in Kyujitai
|shinjitai=Japanese Kanji in Shinjitai
|kana=Japanese Kana
|hiragana=Japanese Hiragana
|romaji=Romaji
|revhep=Revised Hepburn romanization of Japanese
|tradhep=Traditional Hepburn romanization of Japanese
|kunrei=Kunrei-shiki romanization of Japanese
|nihon=Nihon-shiki romanization of Japanese
|tgl=Filipino Tagalog
|hin=Hindi language
|msa=Malay language
|mnc=Manchu language
|mon=Mongolian language
|por=Portugese language
|rus=Russian language in Cyrillic alphabet
|rusr=Russian language in Latin alphabet
|tam=Tamil language
|tha=Thai language
|rtgs=Royal Thai General System of Transcription
|tib=Tibetan language
|wylie=Wylie transliteration of Tibetan
|thdl=THDL Simplified Phonetic Transcription of Tibetan
|zwpy=Zangwen Pinyin (PRC's official Tibetan translieration)
|lhasa=Lhasa dialect of Tibetan in IPA
|uig=Uyghur language
|vie=Vietnamese language (generic)
|qn=Vietnamese in Quoc Ngu script
|chunom=Vietnamese Chu Nom
|hantu=Vietnamese Han Tu
|zha=Zhung language
|lang1=Additional language1
|lang1_content=Contents of lang1
|lang2=Additional language2
|lang2_content=Contents of lang2
|lang3=Additional language3 
|lang3_content=Contents of lang3 (you can go in order until lang11)
...
|lang11=Additional language11
|lang11_content=Contents of lang11
}}


Chinese

60px

In this sample, the template is using showflag=jp with order=st. Simplified Chinese is shown first in order. Jyutping and pinyin is displayed outside of the alphabetized hide area.
Simplified Chinese: Simplified text
Traditional Chinese: Traditional text
Cantonese Jyutping: jyutping
Hanyu Pinyin: pinyin
Literal meaning: Literal text

Optional Flags

  • order=st - By default Traditional Chinese comes first on display. If this flag is called, Simplified Chinese will be displayed first. This is for articles having to do with PRC or Simplified Chinese.
  • hide=no - By default all romanizations and transliterations are hidden. If this flag is called, all the transliteration will be shown.

Optional Showflag By default no romanization will show outside of the hide area. You can call this flag when using the template to have certain romanizations appear permanently in favor of certain regions.

  • showflag=j - this will show jyutping outside of the hide area.
  • showflag=h - this will show hakka outside of the hide area.
  • showflag=p - this will show pinyin outside of the hide area.
  • showflag=poj - this will show Min poj outside of the hide area.
  • showflag=pj - this will show pinyin then jyutping outside of the hide area.
  • showflag=jp - this will show jyutping then pinyin outside of the hide area.
  • showflag=wu - this will show Wu outside of the hide area.
  • showflag=hsn - this will show Xiang outside of the hide area.
  • showflag=gan - this will show Gan outside of the hide area.

Related Templates

Uniform templates

For use when traditional and simplified are the same.

pinyin: [{{{1}}}] error: {{lang}}: missing language tag (help)

Hanyu Pinyin: {{{hp}}}; Tongyong Pinyin: {{{tp}}}

Hanyu Pinyin: {{{hp}}}; Tongyong Pinyin: {{{tp}}}; Wade-Giles: {{{w}}}

Chinese: {{{1}}}

Chinese: {{{1}}}; pinyin: [{{{2}}}] error: {{lang}}: missing language tag (help)

Chinese: {{{c}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); Wade-Giles: {{{w}}}

Chinese: {{{c}}}; Hanyu Pinyin: {{{hp}}}; Tongyong Pinyin: {{{tp}}}

Simplified templates

simplified Chinese: {{{s}}}

simplified Chinese: {{{s}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help)

simplified Chinese: {{{s}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); Wade-Giles: {{{w}}}

simplified Chinese: {{{s}}} Hanyu Pinyin: {{{hp}}}; Tongyong Pinyin: {{{tp}}}

Traditional templates

traditional Chinese: {{{1}}}

traditional Chinese: {{{t}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help)

traditional Chinese: {{{t}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); Wade-Giles: {{{w}}}

traditional Chinese: {{{t}}}; Hanyu Pinyin: {{{hp}}}; Tongyong Pinyin: {{{tp}}}

traditional Chinese: {{{t}}}; Hanyu Pinyin: {{{hp}}}; Tongyong Pinyin: {{{tp}}}; Wade-Giles: {{{w}}}

Combination templates

simplified Chinese: {{{s}}}; traditional Chinese: {{{t}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); Wade-Giles: {{{w}}}

traditional Chinese: {{{t}}}; simplified Chinese: {{{s}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); Wade-Giles: {{{w}}}

traditional Chinese: {{{t}}}; simplified Chinese: {{{s}}}; Hanyu Pinyin: {{{hp}}}; Tongyong Pinyin: {{{tp}}}

traditional Chinese: {{{t}}}; simplified Chinese: {{{s}}}; Hanyu Pinyin: {{{hp}}}; Tongyong Pinyin: {{{tp}}}; Wade-Giles: {{{w}}}

simplified Chinese: {{{s}}}; traditional Chinese: {{{t}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help)

traditional Chinese: {{{t}}}; simplified Chinese: {{{s}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help)

simplified Chinese: {{{s}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); traditional Chinese: {{{t}}}

traditional Chinese: {{{t}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); simplified Chinese: {{{s}}}

simplified Chinese: {{{s}}}; traditional Chinese: {{{t}}}

traditional Chinese: {{{t}}}; simplified Chinese: {{{s}}}

Cantonese templates

traditional Chinese: {{{t}}}; Cantonese Yale: {{{cy}}}

traditional Chinese: {{{t}}}; simplified Chinese: {{{s}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); Cantonese Yale: {{{cy}}}

Min Nan templates

traditional Chinese: {{{t}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); Wade-Giles: {{{w}}}; Pe̍h-ōe-jī: {{{poj}}}

traditional Chinese: {{{t}}}; Hanyu Pinyin: {{{hp}}}; Tongyong Pinyin: {{{tp}}}; Wade-Giles: {{{w}}}; Taiwanese: {{{poj}}}

traditional Chinese: {{{t}}}; simplified Chinese: {{{s}}}; pinyin: [{{{p}}}] error: {{lang}}: missing language tag (help); Wade-Giles: {{{w}}}; Pe̍h-ōe-jī: {{{poj}}}

Ruby templates

{{{1}}}({{{2}}})

{{{1}}}({{{2}}})


See also



Linked-in.jpg