Differenze tra le versioni di "Template:Zh"
(oh, of course, it needs that) |
m (1 revisioni importate) |
(Nessuna differenza)
|
Versione attuale delle 18:20, 31 Mag 2011
Avviso importante! | Questo template ha un codice sorgente piuttosto complesso e può richiedere buona conoscenza delle funzioni parser.
Per favore, tenta di modificarlo solo se sei certo di capirne la funzione e sei preparato a riparare ogni conseguente danno collaterale nel caso in cui i risultati fossero diversi da quanto avevi in mente. Tutti gli esperimenti devono essere prima condotti in una pagina di prova. |
{{#if:| |Template:Language with name}}{{#if:|Template:Language with name{{#if:|; }}|{{#ifeq:{{{s}}}|{{{t}}}|Template:Language with name{{#if:|; }} }}{{#ifeq:Template:Zh/format/Template:Zh|t|{{#if:|{{#ifeq:|no|traditional Chinese|traditional Chinese}}: {{{t}}}{{#if:Template | |
[[Category:Articles containing {{#switch:zh-Hant |ar = Arabic |es = Spanish |de = German |fr = French |ja = Japanese |zh = Chinese |bg = Bulgarian |cs = Czech |da = Danish |nl = Dutch |et = Estonian |fi = Finnish |el = Greek |hu = Hungarian |ga = Irish |grc = Ancient Greek |la|lat = Latin |cy = Welsh |sl = Slovene |slv = Slovene |en|eng = explicitly cited English |#default = {{#ifexist:Category:Articles containing traditional Chinese language text |traditional Chinese |non-English }} }} language text]]
}}{{#if:|; }}}} }}}}{{#ifeq:{{{s}}}|{{{t}}}| |{{#if:|{{#ifeq:|no|simplified Chinese|simplified Chinese}}: {{{s}}}{{#if:Template | |
[[Category:Articles containing {{#switch:zh-Hans |ar = Arabic |es = Spanish |de = German |fr = French |ja = Japanese |zh = Chinese |bg = Bulgarian |cs = Czech |da = Danish |nl = Dutch |et = Estonian |fi = Finnish |el = Greek |hu = Hungarian |ga = Irish |grc = Ancient Greek |la|lat = Latin |cy = Welsh |sl = Slovene |slv = Slovene |en|eng = explicitly cited English |#default = {{#ifexist:Category:Articles containing {{#switch:zh-Hans
|aa|aar=Afar |ab|abk=Abkhaz |ae|ave=Avestan |af|afr=Afrikaans |ags=Esimbi |ak|aka=Akan |am|amh=Amharic |an|arg=Aragonese |ang=Old English |ar|ara=Arabic |as|asm=Assamese |av|ava=Avaric |ay|aym=Aymara |az|aze=Azerbaijani |ba|bak=Bashkir |be|bel=Belarusian |bg|bul=Bulgarian |bh|bih=Bihari |bi|bis=Bislama |bm|bam=Bambara |bn|ben=Bengali |bo|tib|bod=Tibetan |br|bre=Breton |bs|bos=Bosnian |ca|cat=Catalan |ce|che=Chechen |ch|cha=Chamorro |cho=Choctaw |co|cos=Corsican |cr|cre=Cree |cs|cze|ces|cz=Czech |cu|chu=Old Church Slavonic |cv|chv=Chuvash |cy|wel|cym=Welsh |da|dan=Danish |de|ger|deu=German |dv|div=Dhivehi |dz|dzo=Dzongkha |ee|ewe=Ewe |el|gre|ell=Greek |en|eng=explicitly cited English |eo|epo=Esperanto |es|spa=Spanish |et|est=Estonian |eu|baq|eus=Basque |fa|per|fas=Persian |ff|ful=Fula |fi|fin=Finnish |fj|fij=Fijian |fo|fao=Faroese |fr|fre|fra=French |fy|fry=West Frisian |ga|gle=Irish |gd|gla=Scottish Gaelic |gl|glg=Galician |gn|grn=Guaraní |grc=Ancient Greek |gu|guj=Gujarati |gv|glv=Manx |ha|hau=Hausa |he|heb=Hebrew |hi|hin=Hindi |ho|hmo=Hiri Motu |hr|scr|hrv=Croatian |ht|hat=Haitian Creole |hu|hun=Hungarian |hy|arm|hye=Armenian |hz|her=Herero |ia|ina=Interlingua |id|ind=Indonesian |ie|ile=Interlingue |ig|ibo=Igbo |ii|iii=Yi |ik|ipk=Inupiaq |io|ido=Ido |is|ice|isl=Icelandic |it|ita=Italian |iu|iku=Inuktitut |ja-Hani|ja-Latn|ja|jpn=Japanese |jv|jav=Javanese |ka|geo|kat=Georgian |kg|kon=Kongo |ki|kik=Gikuyu |kj|kua=Kwanyama |kk|kaz=Kazakh |kl|kal=Kalaallisut |km|khm=Khmer |kn|kan=Kannada |ko|kor|kp-Hanj|ko-Hang|ko-hang|ko-Hang-KP|ko-Hang-KR|ko-Hani|ko-Hant|ko-Hant-KP|ko-Kana|ko-Kang|ko-Kore|ko-KP|ko-Latn=Korean |kr|kau=Kanuri |ks|kas=Kashmiri |ku|kur=Kurdish |kv|kom=Komi |kw|cor=Cornish |ky|kir=Kyrgyz |la|lat=Latin |lb|ltz=Luxembourgish |lg|lug=Luganda |li|lim=Limburgish |ln|lin=Lingala |lo|lao=Lao |lt|lit=Lithuanian |lu|lub=Tshiluba |lv|lav=Latvian |mg|mlg=Malagasy |mh|mah=Marshallese |mi|mao|mri=Māori |mk|mac|mkd=Macedonian |ml|mal=Malayalam |mn|mon=Mongolian |mo|mol=Moldovan |mr|mar=Marathi |ms|may|msa=Malay |mt|mlt=Maltese |my|bur|mya=Burmese |na|nau=Nauruan |nb|nob=Norwegian Bokmål |nd|nde=Northern Ndebele |ne|nep=Nepali |ng|ndo=Ndonga |nl|dut|nld=Dutch |nn|nno=Norwegian Nynorsk |no|nor=Norwegian |nr|nbl=Southern Ndebele |nv|nav=Navajo |ny|nya=Chichewa |oc|oci=Occitan |oj|oji=Anishinaabe |om|orm=Oromo |or|ori=Oriya |os|oss=Ossetic |pa|pan=Punjabi |pi|pli=Pāli |pl|pol=Polish |ps|pus=Pashto |pt|por=Portuguese |qu|que=Quechua |rm|roh=Romansh |rn|run=Kirundi |ro|rum|ron=Romanian |ru|rus=Russian |rw|kin=Kinyarwanda |sa|san=Sanskrit |sc|srd=Sardinian |sco=Scots |sd|snd=Sindhi |se|sme=Sami |sg|sag=Sango |sga=Old Irish |sh|hbs=Serbo-Croatian |si|sin=Sinhala |sk|slo|slk=Slovak |sl|slv=Slovenian |sm|smo=Samoan |sn|sna=Shona |so|som=Somali |sq|alb|sqi=Albanian |sr|scc|srp=Serbian |ss|ssw=Swati |st|sot=Sotho |su|sun=Sundanese |sv|swe=Swedish |sw|swa=Swahili |syc|syr=Syriac |ta|tam=Tamil |te|tel=Telugu |tg|tgk=Tajik |th|tha=Thai |ti|tir=Tigrinya |tk|tuk=Turkmen |tl|tgl=Tagalog |tn|tsn=Tswana |to|ton=Tongan |tr|tur=Turkish |ts|tso=Tsonga |tt|tat=Tatar |tw|twi=Twi |ty|tah=Tahitian |ug|uig=Uyghur |uk|ukr=Ukrainian |ur|urd=Urdu |uz|uzb=Uzbek |ve|ven=Venda |vi|vie=Vietnamese |vo|vol=Volapük |wa|wln=Walloon |wlm=Middle Welsh |wo|wol=Wolof |xh|xho=Xhosa |yi|yid=Yiddish |yo|yor=Yoruba |za|zha=Zhuang |zh|chi|zho=Chinese |zu|zul=Zulu |zun=Zuni |zh-Hant|zh-t=traditional Chinese |zh-Hans|zh-s=simplified Chinese |#default=Language abbreviation not recognized by template! }} language text
|{{#switch:zh-Hans
|aa|aar=Afar |ab|abk=Abkhaz |ae|ave=Avestan |af|afr=Afrikaans |ags=Esimbi |ak|aka=Akan |am|amh=Amharic |an|arg=Aragonese |ang=Old English |ar|ara=Arabic |as|asm=Assamese |av|ava=Avaric |ay|aym=Aymara |az|aze=Azerbaijani |ba|bak=Bashkir |be|bel=Belarusian |bg|bul=Bulgarian |bh|bih=Bihari |bi|bis=Bislama |bm|bam=Bambara |bn|ben=Bengali |bo|tib|bod=Tibetan |br|bre=Breton |bs|bos=Bosnian |ca|cat=Catalan |ce|che=Chechen |ch|cha=Chamorro |cho=Choctaw |co|cos=Corsican |cr|cre=Cree |cs|cze|ces|cz=Czech |cu|chu=Old Church Slavonic |cv|chv=Chuvash |cy|wel|cym=Welsh |da|dan=Danish |de|ger|deu=German |dv|div=Dhivehi |dz|dzo=Dzongkha |ee|ewe=Ewe |el|gre|ell=Greek |en|eng=explicitly cited English |eo|epo=Esperanto |es|spa=Spanish |et|est=Estonian |eu|baq|eus=Basque |fa|per|fas=Persian |ff|ful=Fula |fi|fin=Finnish |fj|fij=Fijian |fo|fao=Faroese |fr|fre|fra=French |fy|fry=West Frisian |ga|gle=Irish |gd|gla=Scottish Gaelic |gl|glg=Galician |gn|grn=Guaraní |grc=Ancient Greek |gu|guj=Gujarati |gv|glv=Manx |ha|hau=Hausa |he|heb=Hebrew |hi|hin=Hindi |ho|hmo=Hiri Motu |hr|scr|hrv=Croatian |ht|hat=Haitian Creole |hu|hun=Hungarian |hy|arm|hye=Armenian |hz|her=Herero |ia|ina=Interlingua |id|ind=Indonesian |ie|ile=Interlingue |ig|ibo=Igbo |ii|iii=Yi |ik|ipk=Inupiaq |io|ido=Ido |is|ice|isl=Icelandic |it|ita=Italian |iu|iku=Inuktitut |ja-Hani|ja-Latn|ja|jpn=Japanese |jv|jav=Javanese |ka|geo|kat=Georgian |kg|kon=Kongo |ki|kik=Gikuyu |kj|kua=Kwanyama |kk|kaz=Kazakh |kl|kal=Kalaallisut |km|khm=Khmer |kn|kan=Kannada |ko|kor|kp-Hanj|ko-Hang|ko-hang|ko-Hang-KP|ko-Hang-KR|ko-Hani|ko-Hant|ko-Hant-KP|ko-Kana|ko-Kang|ko-Kore|ko-KP|ko-Latn=Korean |kr|kau=Kanuri |ks|kas=Kashmiri |ku|kur=Kurdish |kv|kom=Komi |kw|cor=Cornish |ky|kir=Kyrgyz |la|lat=Latin |lb|ltz=Luxembourgish |lg|lug=Luganda |li|lim=Limburgish |ln|lin=Lingala |lo|lao=Lao |lt|lit=Lithuanian |lu|lub=Tshiluba |lv|lav=Latvian |mg|mlg=Malagasy |mh|mah=Marshallese |mi|mao|mri=Māori |mk|mac|mkd=Macedonian |ml|mal=Malayalam |mn|mon=Mongolian |mo|mol=Moldovan |mr|mar=Marathi |ms|may|msa=Malay |mt|mlt=Maltese |my|bur|mya=Burmese |na|nau=Nauruan |nb|nob=Norwegian Bokmål |nd|nde=Northern Ndebele |ne|nep=Nepali |ng|ndo=Ndonga |nl|dut|nld=Dutch |nn|nno=Norwegian Nynorsk |no|nor=Norwegian |nr|nbl=Southern Ndebele |nv|nav=Navajo |ny|nya=Chichewa |oc|oci=Occitan |oj|oji=Anishinaabe |om|orm=Oromo |or|ori=Oriya |os|oss=Ossetic |pa|pan=Punjabi |pi|pli=Pāli |pl|pol=Polish |ps|pus=Pashto |pt|por=Portuguese |qu|que=Quechua |rm|roh=Romansh |rn|run=Kirundi |ro|rum|ron=Romanian |ru|rus=Russian |rw|kin=Kinyarwanda |sa|san=Sanskrit |sc|srd=Sardinian |sco=Scots |sd|snd=Sindhi |se|sme=Sami |sg|sag=Sango |sga=Old Irish |sh|hbs=Serbo-Croatian |si|sin=Sinhala |sk|slo|slk=Slovak |sl|slv=Slovenian |sm|smo=Samoan |sn|sna=Shona |so|som=Somali |sq|alb|sqi=Albanian |sr|scc|srp=Serbian |ss|ssw=Swati |st|sot=Sotho |su|sun=Sundanese |sv|swe=Swedish |sw|swa=Swahili |syc|syr=Syriac |ta|tam=Tamil |te|tel=Telugu |tg|tgk=Tajik |th|tha=Thai |ti|tir=Tigrinya |tk|tuk=Turkmen |tl|tgl=Tagalog |tn|tsn=Tswana |to|ton=Tongan |tr|tur=Turkish |ts|tso=Tsonga |tt|tat=Tatar |tw|twi=Twi |ty|tah=Tahitian |ug|uig=Uyghur |uk|ukr=Ukrainian |ur|urd=Urdu |uz|uzb=Uzbek |ve|ven=Venda |vi|vie=Vietnamese |vo|vol=Volapük |wa|wln=Walloon |wlm=Middle Welsh |wo|wol=Wolof |xh|xho=Xhosa |yi|yid=Yiddish |yo|yor=Yoruba |za|zha=Zhuang |zh|chi|zho=Chinese |zu|zul=Zulu |zun=Zuni |zh-Hant|zh-t=traditional Chinese |zh-Hans|zh-s=simplified Chinese |#default=Language abbreviation not recognized by template! }}
|non-English }} }} language text]]
}}{{#if:|{{#ifeq:Template:Zh/format/Template:Zh|t|{{#if:|; }}|; }}|{{#if:|; }}}}}}}}{{#ifeq:{{{s}}}|{{{t}}}| |{{#ifeq:Template:Zh/format/Template:Zh|t| |{{#if:|{{#ifeq:|no|traditional Chinese|traditional Chinese}}: {{{t}}}{{#if:Template | |
[[Category:Articles containing {{#switch:zh-Hant |ar = Arabic |es = Spanish |de = German |fr = French |ja = Japanese |zh = Chinese |bg = Bulgarian |cs = Czech |da = Danish |nl = Dutch |et = Estonian |fi = Finnish |el = Greek |hu = Hungarian |ga = Irish |grc = Ancient Greek |la|lat = Latin |cy = Welsh |sl = Slovene |slv = Slovene |en|eng = explicitly cited English |#default = {{#ifexist:Category:Articles containing traditional Chinese language text |traditional Chinese |non-English }} }} language text]]
}}{{#if:|; }} }}}}}}{{#ifeq:Template:Zh/format/Template:Zh|t|{{#if:|{{#ifeq:|no| |[[}}Tongyong Pinyin{{#ifeq:|no| |]]}}: {{{tp}}}{{#if:|; }} }}}}{{#if:|{{#if:|{{#ifeq:|no|Hanyu Pinyin|Hanyu Pinyin}}|{{#if:|{{#ifeq:|no|Mandarin Pinyin|Mandarin Pinyin}}|{{#ifeq:|no| |[[}}pinyin{{#ifeq:|no| |]]}}}}}}: {{#ifeq:|yes| |}}{{{hp}}}{{#ifeq:|yes| |}}{{#if:|; |{{#if:|{{#ifeq:Template:Zh/format/Template:Zh|t| |; }}}}}} }}{{#ifeq:Template:Zh/format/Template:Zh|t| |{{#if:|{{#ifeq:|no| |[[}}Tongyong Pinyin{{#ifeq:|no| |]]}}: {{{tp}}}{{#if:|; }} }}}}{{#if:|{{#ifeq:|no| |[[}}Wade–Giles{{#ifeq:|no| |]]}}: {{{w}}}{{#if:|; }} }}{{#if:|{{#ifeq:|no| |[[}}Jyutping{{#ifeq:|no| |]]}}: {{{j}}}{{#if:|; }} }}{{#if:|{{#ifeq:|no|Cantonese Yale|Cantonese Yale}}: {{#if:|; }} }}{{#if:|{{#ifeq:|no| |[[}}Pe̍h-ōe-jī{{#ifeq:|no| |]]}}: {{{poj}}}{{#if:|; }} }}{{#if:|{{#ifeq:|no| |[[}}Zhuyin Fuhao{{#ifeq:|no| |]]}}: {{{zhu}}}{{#if:|; }} }}{{#if:|literally "{{{l}}}"}}