開啟主選單

求真百科

變更

Template:Usage of IPA templates

增加 12,319 位元組, 7 年前
// Edit via Wikiplus
{{IPA Keys}}
{{lua|Module:IPAc-en}}
=== 應用 ===
維基百科提供了多個各模板,令條目中使用[[國際音標]]([[IPA]])準確[[标音]]時更方便。

==== 國際音標字型 ====
一般來說,當條目內容出現使用國際音標符號的地方,都應該用{{tlx|IPA}}包圍,使瀏覽器能夠轉用一些支援國際音標的[[字型]]來顯示。
若內文有相當部分包含國際音標,一般我們都會在條目頂部用{{tlx|IPA notice|<nowiki>lang=en</nowiki>}}來貼出提示,並且在內文所有需要用到國際音標的地方加上{{tlx|IPA}}來標註。

If there are not enough occurrences to warrant a notice, then consider a template that links to an IPA key for the first instance of the IPA on a page or section.

====英文單字====
For '''English''' words, in a broad, non-regional transcription, as when giving the pronunciation of a key word in an article, use templates linking to [[Help:IPA for English]], a chart of the subset of the IPA that is relevant to English:
* {{tl|IPA-en}}, appearing as: {{IPA-en|word}} (also {{IPA-en|word|}}, {{IPA-en|word|lang}}, {{IPA-en|word|pron}}, as hereafter).
* {{tl|IPAc-en}}, which automates the conversion to IPA, so that <code><nowiki>{{IPAc-en|'|w|3r|d}}</nowiki></code> appears as {{IPAc-en|'|w|3r|d}}. This provides mouse-over links to the symbols, and is now the preferred template.

====其他語言單字====
For '''foreign''' words that are not assimilated into English, regional pronunciations of English words, and non-standard English dialects, use templates linking to the more general [[Help:IPA]] chart, containing all major IPA symbols:
** {{tl|IPA-all}}, appearing as: {{IPA-all|word}}. Or:
**For specific languages, there may be dedicated IPA keys for standardized transcription. There are several options for their display. The first cell includes the ISO code of the language; the second is the transcription; the third keys an introductory phrase; and the fourth is space for a sound file. Using the French word ''eau'' {{IPA|[o]}} as an example, we have the default format:
:*<code><nowiki>{{IPA-fr|o}}</nowiki></code> → {{IPA-fr|o}}
:Or the word "pronounced" can be used as the introduction:
:*<code><nowiki>{{IPA-fr|o|pron}}</nowiki></code> → {{IPA-fr|o|pron}}
:Language name only:
:*<code><nowiki>{{IPA-fr|o|lang}}</nowiki></code> → {{IPA-fr|o|lang}}
:"IPA" only:
:*<code><nowiki>{{IPA-fr|o|IPA}}</nowiki></code> → {{IPA-fr|o|IPA}}
:Link only:
:*<code><nowiki>{{IPA-fr|o|}}</nowiki></code> → {{IPA-fr|o|}}
:Any of these may be combined with a sound file:
:*<code><nowiki>{{IPA-fr|o|lang|Fr-eau.ogg}}</nowiki></code> → {{IPA-fr|o|lang|Fr-eau.ogg}}
:For the default introductory phrase, however, a placeholder such as “-” is required:
:*<code><nowiki>{{IPA-fr|o|-|Fr-eau.ogg}}</nowiki></code> → {{IPA-fr|o|-|Fr-eau.ogg}}
<!--
:For external files, use the URL:
:*<code><nowiki>{{IPA-fr|o|pron|http://upload.wikimedia.org/wikipedia/commons/8/88/Fr-O-fr-Paris.ogg}}</nowiki></code> {{nowrap|→ {{IPA-fr|o|pron|http://upload.wikimedia.org/wikipedia/commons/8/88/Fr-O-fr-Paris.ogg}} }}
-->
=== 支援語言 ===
本系列模板支援以下語言:

{{Collapse top|支援的語言及對應模板}}
{{col-begin}}
{{col-3}}
*'''[[阿爾巴尼亞語]]''':{{tl|IPA-sq}}
*'''[[阿拉伯語]]''':{{tl|IPA-ar}}及{{tl|IPA-arz}}([[埃及方言]])
*'''[[亞美尼亞語]]''':{{tl|IPA-hy}}
*'''[[Arpitan language|Arpitan]]''':{{tl|IPA-frp}}
*'''[[Astur-Leonese languages|Astur-Leonese]]''':{{tl|IPA-ast}}, {{tl|IPA-le}}, {{tl|IPA-mwl}}, {{tl|IPA-ext}}
*'''[[澳洲原住民語]]''':{{tl|IPA-aus}}
*'''[[巴斯克語]]''':{{tl|IPA-eu}}
*'''[[白俄羅斯語]]''':{{tl|IPA-be}}
*'''[[柏柏爾語]]''':{{tl|IPA-tam}}
*'''[[保加利亞語]]'''及'''[[馬其頓語]]''':{{tl|IPA-bg}}及{{tl|IPA-mk}}
*'''[[緬甸語]]''':{{tl|IPA-my}}
*'''[[粵語]]''':{{tl|IPA-yue}}
*'''[[加泰隆尼亞語]]''':{{tl|IPA-ca}}及{{tl|IPA-va}}
*'''[[Colognian language|Colognian]] (Kölsch)''':{{tl|IPA-ksh}}
*'''[[捷克語]]'''及'''[[斯洛伐克語]]''':{{tl|IPA-cs}}
*'''[[丹麥語]]''':{{tl|IPA-da}}
*'''[[荷蘭語]]'''、'''[[佛萊芒語]]''',和'''[[阿非利卡語]]''':{{tl|IPA-nl}}及{{tl|IPA-af}}
*'''[[英語]]''':{{tl|IPA-en}}(參看以下的{{tl|IPAc-en}})
*'''[[斐濟語]]''':{{tl|IPA-fj}}
*'''[[芬蘭語]]'''及'''[[愛沙尼亞語]]''':{{tl|IPA-fi}}及{{tl|IPA-et}}
*'''[[法語]]''':{{tl|IPA-fr}}(參看以下的{{tl|IPAc-fr}})
*'''[[格魯吉亞語]]''':{{tl|IPA-ka}}
{{col-3}}
*'''[[德語]]''':{{tl|IPA-de}}及{{tl|IPA-gsw}}
*'''[[希臘語]]''':{{tl|IPA-el}}
*'''[[海地克里奧爾語]]''':{{tl|IPA-ht}}
*'''[[夏威夷語]]''':{{tl|IPA-haw}}
*'''[[希伯來語]]''':{{tl|IPA-he}}
*'''[[印度斯坦語]]''':{{tl|IPA-hns}}、{{tl|IPA-hi}}、{{tl|IPA-ur}}
*'''[[匈牙利語]]''':{{tl|IPA-hu}}(參看以下的{{tl|IPAc-hu}})
*'''[[冰島語]]''':{{tl|IPA-is}}
*'''[[愛爾蘭語]]''':{{tl|IPA-ga}}(參看以下的{{tl|IPAc-ga}})
*'''[[意大利語]]''':{{tl|IPA-it}}
*'''[[日本語]]''':{{tl|IPA-ja}}
*'''[[Khmer language|Khmer]]''':{{tl|IPA-km}}
*'''[[韓國語]]''':{{tl|IPA-ko}}
*'''[[Lao language|Lao-Isan]]''':{{tl|IPA-lo}}
*'''[[拉丁語]]''':{{tl|IPA-la}}
*'''[[Malagasy language|Malagasy]]''':{{tl|IPA-mg}}
*'''[[馬來語]]'''及'''[[印尼語]]''':{{tl|IPA-may}}
*'''[[普通話|中文(普通話)]]''':{{tl|IPA-cmn}} (see also {{tl|IPAc-cmn}} hereafter)
*'''[[Manx language|Manx]]''':{{tl|IPA-gv}}
*'''[[毛利語]]''': {{tl|IPA-mi}}
*'''[[Nahuatl language|Nahuatl]]''':{{tl|IPA-nah}}
{{col-3}}
*'''[[Occitan language|Occitan]]''':{{tl|IPA-oc}}
*'''[[波斯語]]''':{{tl|IPA-fa}}
*'''[[波蘭語]]''':{{tl|IPA-pl}}(參看以下的{{tl|IPAc-pl}})
*'''[[葡萄牙語]]'''及'''[[Galician language|Galician]]''':{{tl|IPA-pt}}及{{tl|IPA-gl}}
*'''[[羅馬尼亞語]]''':{{tl|IPA-ro}}
*'''[[俄語]]''':{{tl|IPA-ru}}
*'''[[梵語]]''':{{tl|IPA-sa}}
*'''[[Scottish Gaelic]]''':{{tl|IPA-gd}}
*'''[[塞爾維亞語]]'''和'''[[克羅埃西亞語]]''':{{tl|IPA-sh}}、{{tl|IPA-hr}}、{{tl|IPA-sr}}
*'''[[西班牙語]]''':{{tl|IPA-es}}
*'''[[瑞典語]]'''及'''[[挪威語]]''':{{tl|IPA-sv}}及{{tl|IPA-no}}
*'''[[他加祿語]]'''([[菲律賓語]]):{{tl|IPA-tl}}
*'''[[淡米爾語]]''':{{tl|IPA-ta}}
*'''[[泰語]]''':{{tl|IPA-th}}
*'''[[藏語]]''':{{tl|IPA-bo}}
*'''[[土耳其語]]''' and '''[[Azeri language|Azeri]]''':{{tl|IPA-tr}}
*'''[[烏黑蘭語]]''':{{tl|IPA-uk}}
*'''[[越南語]]''':{{tl|IPA-vi}}
*'''[[威爾士語]]''':{{tl|IPA-cy}}
*'''[[意第緒語]]''':{{tl|IPA-yi}}
{{col-end}}
{{Collapse bottom}}

==== IPA-all for not-supported languages ====
Redirects have been created for languages which do not yet have dedicated templates. Transcriptions which use these redirects will link to {{tl|IPA-all}} for the time being; when a language-specific template is created the articles will be linked correctly. For example, you can use {{tlx|IPA-jv|word}} for Javanese, but for the moment it will be redirected to {{tlx|IPA-all}}, producing {{IPA-jv|word}}.

{{Collapse top|Languages and language extensions (IPA-iso) with redirects to IPA-all}}
{{col-begin}}
{{col-5}}
* {{tl|IPA-all}} (transcriptions not specific to any language, or which have not yet been reassigned)
* {{tl|IPA-ace}} Acehnese
* {{tl|IPA-ain}} 蝦夷文
* {{tl|IPA-ak}} Akan (Fante, Twi)
* {{tl|IPA-alg}} Algonquian (Micmac, Cree)
* {{tl|IPA-am}} Amharic
* {{tl|IPA-an}} Aragonese
* {{tl|IPA-ang}} Old English/Anglo-Saxon
* {{tl|IPA-arn}} Mapuche
* {{tl|IPA-art}} artificial (Esperanto, Tolkien, etc.)
* {{tl|IPA-ath}} Athabaskan (Dene, Navajo)
* {{tl|IPA-ay}} Aymara
* {{tl|IPA-azc}} Uto-Aztecan (Shoshone, Comanche)
* {{tl|IPA-ba}} Bashkir
* {{tl|IPA-bm}} Manding/Bambara
* {{tl|IPA-bn}} Bengali, Assamese
* {{tl|IPA-bodia}} Bodish
* {{tl|IPA-br}} Breton
* {{tl|IPA-cau}} (North) Caucasian
* {{tl|IPA-cel}} Celtic (Brythonic, Gaulish)
* {{tl|IPA-ch}} Chamorro
* {{tl|IPA-csb}} Kashubian
* {{tl|IPA-cv}} Chuvash
{{col-5}}
* {{tl|IPA-dedia}} German dialects
* {{tl|IPA-dv}} Dhivehi
* {{tl|IPA-ee}} Gbe (Ewe, Fon)
* {{tl|IPA-endia}} English dialects
* {{tl|IPA-enm}} Middle English
* {{tl|IPA-esdia}} Spanish dialects
* {{tl|IPA-fo}} Faroese
* {{tl|IPA-frdia}} French dial. (Canadian, Metis, Norman)
* {{tl|IPA-fy}} Frisian
* {{tl|IPA-gn}} Guaraní
* {{tl|IPA-gsw}} Alemannic (Swiss, Alsatian)
* {{tl|IPA-gu}} Gujarati
* {{tl|IPA-ha}} Hausa
* {{tl|IPA-hak}} Hakka
* {{tl|IPA-hmn}} Hmong
* {{tl|IPA-ig}} Igbo
* {{tl|IPA-ira}} Iranian (Old Persian, Kurdish, Pamir)
* {{tl|IPA-iro}} Iroquoian (Mohawk, Cherokee)
* {{tl|IPA-itdia}} Italian dial. (Corsican, Sicilian, Sardinian [also IPA-srd])
* {{tl|IPA-iu}} Inuit
* {{tl|IPA-jv}} Javanese
{{col-5}}
* {{tl|IPA-ki}} Kikuyu
* {{tl|IPA-kk}} Kazakh
* {{tl|IPA-kl}} Greenlandic
* {{tl|IPA-kn}} Kannada
* {{tl|IPA-kok}} Konkani
* {{tl|IPA-kw}} Cornish
* {{tl|IPA-ky}} Kyrgyz
* {{tl|IPA-lg}} Ganda
* {{tl|IPA-lij}} Ligurian (Genoese)
* {{tl|IPA-lt}} Lithuanian
* {{tl|IPA-ltc}} Middle Chinese
* {{tl|IPA-lv}} Latvian
* {{tl|IPA-mga}} Middle Irish
* {{tl|IPA-ml}} Malayalam
* {{tl|IPA-mn}} Mongol
* {{tl|IPA-mnw}} Mon
* {{tl|IPA-moh}} Mohawk
* {{tl|IPA-mos}} Mossi/Gurunsi
* {{tl|IPA-mr}} Marathi
* {{tl|IPA-mt}} Maltese
* {{tl|IPA-mus}} Muskogean (Chickasaw, Creek)
* {{tl|IPA-myn}} Maya(n)
* {{tl|IPA-nan}} Minnan/Taiwanese
{{col-5}}
* {{tl|IPA-ne}} 尼泊爾語
* {{tl|IPA-non}} Old Norse
* {{tl|IPA-ny}} Chewa
* {{tl|IPA-oax}} Oaxaca (Zapotec, Mixe, Otomi)
* {{tl|IPA-or}} Oriya
* {{tl|IPA-pa}} Punjabi
* {{tl|IPA-pms}} Piedmontese
* {{tl|IPA-poly}} (other) Polynesian
* {{tl|IPA-ps}} Pashto
* {{tl|IPA-qu}} Quecha
* {{tl|IPA-rm}} Romansh
* {{tl|IPA-rw}} Rwanda-Rundi
* {{tl|IPA-ryu}} Okinawan langs
* {{tl|IPA-sal}} Salish & NW Coast
* {{tl|IPA-sco}} Scots
* {{tl|IPA-sd}} Sindhi
* {{tl|IPA-sei}} Seri
* {{tl|IPA-sem}} (ancient) Semitic, Egyptian
* {{tl|IPA-sga}} Old Irish
* {{tl|IPA-shn}} Shan
* {{tl|IPA-si}} Sinhala
* {{tl|IPA-sio}} Siouan (Omaha, Lakota)
* {{tl|IPA-sl}} Slovene
* {{tl|IPA-sla}} Slavic (Old Slavic, Silesian, Sorbian)
{{col-5}}
* {{tl|IPA-sm}} Samoan
* {{tl|IPA-sn}} Shona
* {{tl|IPA-so}} Somali
* {{tl|IPA-st}} Sotho
* {{tl|IPA-su}} Sundanese
* {{tl|IPA-sw}} Swahili
* {{tl|IPA-syr}} Syriac
* {{tl|IPA-te}} Telugu
* {{tl|IPA-tn}} Tswana
* {{tl|IPA-to}} Tongan
* {{tl|IPA-tt}} Tatar
* {{tl|IPA-tyv}} Tuvan
* {{tl|IPA-ug}} Uyghur
* {{tl|IPA-uz}} Uzbek
* {{tl|IPA-wo}} Wolof
* {{tl|IPA-wuu}} Wu/Shanghainese
* {{tl|IPA-xh}} Nguni (Zulu, Xhosa, Swazi)
* {{tl|IPA-xx}} (misc. languages with only a few transcriptions apiece, or unidentified)
* {{tl|IPA-yo}} Yoruba
* {{tl|IPA-zu}} Nguni (Zulu, Xhosa, Swazi)
{{col-end}}
{{Collapse bottom}}

====轉換為IPA====
Another type of language-specific template allows you to enter ordinary letters (or conventional ASCII equivalents) from a given language for automatic conversion to phonetic symbols. Those currently available are {{tl|IPAc-ar}} for Arabic, {{tl|IPAc-cmn}} for Mandarin, {{tl|IPAc-en}} for English, {{tl|IPAc-fr}} for French, {{tl|IPAc-ga}} for Irish, {{tl|IPAc-hu}} for Hungarian, {{tl|IPAc-pl}} for Polish and {{tl|IPAc-ja}} for Japanese. For example:
*<code><nowiki>{{IPAc-ar|2|a|l|l|u|gh|a|t_|a|l|3|a|r|a|b|i|y|y|a}}</nowiki></code> → {{IPAc-ar|2|a|l|l|u|gh|a|t_|a|l|3|a|r|a|b|i|y|y|a}}
*<code><nowiki>{{IPAc-cmn|zh|ong|1|h|ua|2|-|r|en|2|m|in|2|-|g|ong|4|h|e|2|g|uo|2}}</nowiki></code> → {{IPAc-cmn|zh|ong|1|h|ua|2|-|r|en|2|m|in|2|-|g|ong|4|h|e|2|g|uo|2}}
*<code><nowiki>{{IPAc-en|'|s|&|n|d|k|a:|s|@l}}</nowiki></code> → {{IPAc-en|'|s|&|n|d|k|a:|s|@l}}
*<code><nowiki>{{IPAc-fr|j|@|-|s|U|i|s_|a|m|é|r|i|c|ain}}</nowiki></code> → {{IPAc-fr|j|@|-|s|U|i|s_|a|m|é|r|i|c|ain}}
*<code><nowiki>{{IPAc-ga|'|b|ai|l'|@|-|'|á|th|@|-|'|c'|l'|ia|th}}</nowiki></code> → {{IPAc-ga|'|b|ai|l'|@|-|'|á|th|@|-|'|c'|l'|ia|th}}
*<code><nowiki>{{IPAc-hu|'|m|a|gy|á|r}}</nowiki></code> → {{IPAc-hu|'|m|a|gy|á|r}}
*<code><nowiki>{{IPAc-pl|'|sz|cz|e|ć|i|n}}</nowiki></code> → {{IPAc-pl|'|sz|cz|e|ć|i|n}}

=== 參看 ===
* {{tl|respell}}, for [[pronunciation respelling]]s, which may be used for English words in addition to the IPA
* {{tl|lang-nci-IPA}}, for dual Nahuatl-IPA transcription

{{IPA templates}}