Халип:IPA

Википедия — эркенаб энциклопедия сайталдасан материал
Перейти к навигации Перейти к поиску

{{{1}}}

Пайда босизе Пайда босизе

Usage

Template:IPA is useful when there are multiple instances of the IPA on a page. It contains

<span title="Representation in the International Phonetic Alphabet (IPA)" class="IPA">{{{1}}}</span>

This means it specifies a class called "IPA" as a hook for CSS styling and DOM scripting. This allows for assigning specific fonts to display IPA characters. Registered Wikipedia users can specify their own fonts for IPA text by editing their user style sheet, e.g. Special:MyPage/common.css. Users can also edit their global stylesheet (meta:Special:MyPage/global.css), which works across all projects. MediaWiki:Common.css also ensures that links inside IPA transcriptions marked up with this template do not use underlines since these carry special semantics there. For instance, the following code would cause IPA to be displayed in the font Charis SIL:

.IPA {
	font-family: Charis SIL;
}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for IPA

This template ensures proper display of transcriptions using the International Phonetic Alphabet (IPA), especially in older operating systems and browsers. There are related specialized templates that also semi-automatically generate the transcription itself.

Параметры шаблона

ПараметрОписаниеТипСтатус
transcription1

including square brackets [...] for phonetic transcriptions or enclosing forward slashes /.../ for phonemic ones

Строковый (без форматирования)обязательный

Examples

Placing a phonemic rendering of the word characters in Template:IPA:

{{IPA|/ˈkærəktɚz/}}
{{IPA|/[[character|ˈkærəktɚz]]/}}

The result will be a span with a class attribute, like this:

<span title="Representation in the International Phonetic Alphabet (IPA)" class="IPA">/ˈkærəktɚz/</span>

Which appears in your browser as:

/ˈkærəktɚz/
/ˈkærəktɚz/

Without template:IPA:

/ˈkærəktɚz/
/ˈkærəktɚz/

These sets may look different if you have a custom font defined for IPA text.

Please place all IPA text into the template, even if it doesn't have any special IPA characters, like this: /mi/. This will allow users to format all examples of IPA text consistently, with their choice of fonts, colours, etc.

Usage of IPA pronunciation templates

Халип:IPA keys Wikipedia offers several templates for proper display of IPA transcriptions.

IPA font

In general, IPA symbols on a page should be enclosed in the {{IPA}} template, which formats the text in an IPA-producing font. If a substantial portion of a page uses IPA, it is customary to post notice of that fact with {{Contains special characters|IPA}}, though each token still requires the {{IPA}} template for proper formatting.

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.

English words

For English words, in a broad, non-regional transcription, as when giving the pronunciation of a key word in an article, use {{IPAc-en}}, which links to Help:IPA/English, a chart of the subset of the IPA that is relevant to English, and automates the conversion to IPA, so that {{IPAc-en|'|w|3:r|d}} appears as /ˈwɜːrd/. This provides mouse-over links to the symbols, and is now the preferred template.

For a specific transcription in a regional variety, use {{IPA-endia}} or {{IPA-all}}.

Non-English words

For 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:

  • {{IPA-all}}, appearing as: ХФА: [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 [o] as an example, we have the default format:
  • Or the word "pronounced" can be used as the introduction:
  • Language name only:
  • "IPA" only:
  • Link only:
  • Any of these may be combined with a sound file:
  • For the default introductory phrase, however, a placeholder such as “-” is required:

Supported languages and templates

Key Language Template(s)
Help:IPA/Adyghe Adyghe Халип:Tldep
Help:IPA/Afrikaans Afrikaans Халип:Tldep
Help:IPA/Albanian Albanian Халип:Tldep
Help:IPA/Alemannic German Alemannic German Халип:Tldep
Colonia Tovar dialect Халип:Tldep
Swabian German Халип:Tldep
Walser German Халип:Tldep
Help:IPA/Amharic Amharic Халип:Tldep
Help:IPA/Arabic Arabic Халип:Tldep, Халип:Tldep
Help:IPA/Armenian Armenian Халип:Tldep
Help:IPA/Assamese Assamese Халип:Tldep
Help:IPA/Astur-Leonese Asturian Халип:Tldep
Extremaduran Халип:Tldep
Leonese Халип:Tldep
Mirandese Халип:Tldep
Help:IPA/Australian languages Australian Aboriginal languages Халип:Tldep
Help:IPA/Azerbaijani Azerbaijani Халип:Tldep
Help:IPA/Basque Basque Халип:Tldep
Help:IPA/Belarusian Belarusian Халип:Tldep
Help:IPA/Bengali Bengali Халип:Tldep
Help:IPA/Berber Berber Халип:Tldep
Help:IPA/Breton Breton Халип:Tldep
Help:IPA/Bulgarian Bulgarian Халип:Tldep
Help:IPA/Burmese Burmese Халип:Tldep
Help:IPA/Cantonese Cantonese Халип:Tldep, Халип:Tldep
Help:IPA/Catalan Catalan Халип:Tldep
Valencian Халип:Tldep
Help:IPA/Colognian Colognian Халип:Tldep
Help:IPA/Corsican Corsican Халип:Tldep
Help:IPA/Czech Czech Халип:Tldep
Help:IPA/Danish Danish Халип:Tldep
Help:IPA/Dutch Dutch Халип:Tldep
Help:IPA/Egyptian Arabic Egyptian Arabic Халип:Tldep
Help:IPA/Emilian-Romagnol Emilian Халип:Tldep
Romagnol Халип:Tldep
Help:IPA/English English Халип:Tldep
Help:IPA/Esperanto Esperanto Халип:Tldep
Help:IPA/Estonian Estonian Халип:Tldep
Help:IPA/Fijian Fijian Халип:Tldep
Help:IPA/Finnish Finnish Халип:Tldep
Help:IPA/Franco-Provençal Franco-Provençal Халип:Tldep
Help:IPA/French French Халип:Tldep, Халип:Tldep
Help:IPA/Galician Galician Халип:Tldep
Help:IPA/Georgian Georgian Халип:Tldep, Халип:Tldep
Help:IPA/Greek Greek Халип:Tldep, Халип:Tldep
Help:IPA/Gujarati Gujarati Халип:Tldep
Help:IPA/Haitian Creole Haitian Creole Халип:Tldep
Help:IPA/Hawaiian Hawaiian Халип:Tldep
Help:IPA/Hebrew Hebrew Халип:Tldep, Халип:Tldep
Help:IPA/Hejazi Arabic Hejazi Arabic Халип:Tldep
Help:IPA/Hindi and Urdu Hindustani Халип:Tldep
Hindi Халип:Tldep
Urdu Халип:Tldep
Help:IPA/Hmong Hmong Халип:Tldep
Help:IPA/Hungarian Hungarian Халип:Tldep, Халип:Tldep
Help:IPA/Icelandic Icelandic Халип:Tldep
Help:IPA/Inuktitut Inuktitut Халип:Tldep
Help:IPA/Inupiaq Inupiaq Халип:Tldep
Help:IPA/Irish Irish Халип:Tldep, Халип:Tldep
Help:IPA/Italian Italian Халип:Tldep, Халип:Tldep
Help:IPA/Italian dialects Italian dialects Халип:Tldep
Help:IPA/Japanese Japanese Халип:Tldep, Халип:Tldep
Help:IPA/Kazakh Kazakh Халип:Tldep
Help:IPA/Khmer Khmer Халип:Tldep
Help:IPA/Korean Korean Халип:Tldep, Халип:Tldep
Help:IPA/Kurdish Kurdish Халип:Tldep
Kurmanji (Northern Kurdish) Халип:Tldep
Sorani (Central Kurdish) Халип:Tldep
Southern Kurdish Халип:Tldep
Help:IPA/Kyrgyz Kyrgyz Халип:Tldep
Help:IPA/Lao Lao Халип:Tldep
Help:IPA/Latin Latin Халип:Tldep
Help:IPA/Latvian Latvian Халип:Tldep
Help:IPA/Lebanese Arabic Lebanese Arabic Халип:Tldep
Help:IPA/Ligurian Ligurian Халип:Tldep
Help:IPA/Lithuanian Lithuanian Халип:Tldep
Help:IPA/Lombard Lombard Халип:Tldep
Help:IPA/Luxembourgish Luxembourgish Халип:Tldep
Help:IPA/Macedonian Macedonian Халип:Tldep
Help:IPA/Malagasy Malagasy Халип:Tldep
Help:IPA/Malay Malay Халип:Tldep
Indonesian Халип:Tldep
Help:IPA/Malayalam Malayalam Халип:Tldep
Help:IPA/Maltese Maltese Халип:Tldep
Help:IPA/Mandarin Standard Chinese Халип:Tldep, Халип:Tldep
Help:IPA/Manx Manx Халип:Tldep
Help:IPA/Maithili Maithili Халип:Tldep
Help:IPA/Māori Māori Халип:Tldep, Халип:Tldep
Help:IPA/Marathi Marathi Халип:Tldep
Help:IPA/Marshallese Marshallese Халип:Tldep, Халип:Tldep
Help:IPA/Mauritian Creole Mauritian Creole Халип:Tldep
Help:IPA/Mayan Mayan Халип:Tldep
Help:IPA/Mongolian Mongolian Халип:Tldep
Help:IPA/Nahuatl Nahuatl Халип:Tldep
Help:IPA/Navajo Navajo Халип:Tldep
Help:IPA/Neapolitan Neapolitan Халип:Tldep
Help:IPA/Nepali Nepali Халип:Tldep
Help:IPA/Nguni Swazi Халип:Tldep
Xhosa Халип:Tldep
Zulu Халип:Tldep
Help:IPA/Northern Thai Northern Thai Халип:Tldep
Help:IPA/Norwegian Norwegian Халип:Tldep
Help:IPA/Occitan Occitan Халип:Tldep
Help:IPA/Odia Odia Халип:Tldep
Help:IPA/Old English Old English Халип:Tldep
Help:IPA/Persian Persian Халип:Tldep
Help:IPA/Piedmontese Piedmontese Халип:Tldep
Help:IPA/Polish Polish Халип:Tldep, Халип:Tldep
Help:IPA/Portuguese Portuguese Халип:Tldep, Халип:Tldep
Help:IPA/Punjabi Punjabi Халип:Tldep
Help:IPA/Quechua Quechua Халип:Tldep
Help:IPA/Romanian Romanian Халип:Tldep, Халип:Tldep
Help:IPA/Romansh Romansh Халип:Tldep
Help:IPA/Russian Russian Халип:Tldep
Help:IPA/Sanskrit Sanskrit Халип:Tldep
Help:IPA/Sardinian Sardinian Халип:Tldep
Help:IPA/Scottish Gaelic Scottish Gaelic Халип:Tldep
Help:IPA/Serbo-Croatian Serbo-Croatian Халип:Tldep
Croatian Халип:Tldep
Serbian Халип:Tldep
Help:IPA/Shan and Tai Lue Shan Халип:Tldep
Tai Lue Халип:Tldep
Help:IPA/Sicilian Sicilian Халип:Tldep
Help:IPA/Slovak Slovak Халип:Tldep
Help:IPA/Slovene Slovene Халип:Tldep
Help:IPA/Spanish Spanish Халип:Tldep, Халип:Tldep
Help:IPA/Standard German German Халип:Tldep
Help:IPA/Swahili Swahili Халип:Tldep
Help:IPA/Swedish Swedish Халип:Tldep
Help:IPA/Tagalog Tagalog Халип:Tldep
Help:IPA/Taiwanese Hokkien Taiwanese Hokkien Халип:Tldep
Help:IPA/Tamil Tamil Халип:Tldep
Help:IPA/Tatar Tatar Халип:Tldep, Халип:Tldep
Help:IPA/Telugu Telugu Халип:Tldep
Help:IPA/Thai Thai Халип:Tldep, Халип:Tldep
Help:IPA/Tibetan Tibetan Халип:Tldep
Help:IPA/Tigrinya Tigrinya Халип:Tldep
Help:IPA/Tunisian Arabic Tunisian Arabic Халип:Tldep
Help:IPA/Turkish Turkish Халип:Tldep
Help:IPA/Turkmen Turkmen Халип:Tldep
Help:IPA/Ukrainian Ukrainian Халип:Tldep
Help:IPA/Uzbek Uzbek Халип:Tldep
Help:IPA/Venetian Venetian Халип:Tldep
Help:IPA/Vietnamese Vietnamese Халип:Tldep
Help:IPA/Walloon Walloon Халип:Tldep
Help:IPA/Welsh Welsh Халип:Tldep
Help:IPA/West Frisian West Frisian Халип:Tldep
Help:IPA/Wu Chinese Wu Chinese Халип:Tldep
Help:IPA/Yiddish Yiddish Халип:Tldep

Languages without dedicated keys

Templates have been created for languages which do not yet have dedicated key pages. Transcriptions which use these templates will link to Help:IPA for the time being; when a language-specific key is created the templates will be linked accordingly. For example, you can use {{IPA-jv|word}} for Javanese, but for the moment it will link to Help:IPA, producing Халип:IPA-jv.

Languages and language extensions (IPA-xx) with links to Help:IPA

Conversion to IPA

The template {{x2i}} takes X-SAMPA symbols (ASCII equivalents of IPA symbols) and converts them to IPA.

Other language-specific templates allow you to enter ordinary letters (or conventional ASCII equivalents) in place of IPA characters, and they will be automatically converted to the phonetic symbols that are used to transcribe the language. The templates that are currently available are shown below, with examples:

Language Template Code example Result
Arabic Халип:Tldep {{IPAc-ar|2|a|l|l|u|gh|a|t_|a|l|3|a|r|a|b|i|y|y|a}} Халип:IPAc-ar
Cantonese Халип:Tldep {{IPAc-yue|h|ung|2|.|z|i|2}} Халип:IPAc-yue
English Халип:Tldep {{IPAc-en|,|{|l|@|'|b|{|m|@}} /ˌæləˈbæmə/
French Халип:Tldep {{IPAc-fr|j|@|-|s|U|i|s_|a|m|é|r|i|c|ain}} Халип:IPAc-fr
Georgian Халип:Tldep {{IPAc-ka|dz|a|l|a|_|e|r|t|o|b|a|sh|i|a}} Халип:IPAc-ka
Hebrew Халип:Tldep {{IPAc-he|y|a|ʿ|a|k|o|v}} Халип:IPAc-he
Hungarian Халип:Tldep {{IPAc-hu|'|m|a|gy|a|r}} Халип:IPAc-hu
Irish Халип:Tldep {{IPAc-ga|'|b|ai|l'|@|-|'|á|th|@|-|'|c'|l'|ia|th}} Халип:IPAc-ga
Italian Халип:Tldep {{IPAc-it|'|i|:|o|_|'|s|o|:|n|o|_|a|m|e|r|i|'|c|a|:|n|o}} Халип:IPAc-it
Japanese Халип:Tldep {{IPAc-ja|ku|ro|si|o}} Халип:IPAc-ja
Korean Халип:Tldep {{IPAc-ko|h|a|ng|eo}} Халип:IPAc-ko
Mandarin Халип:Tldep {{IPAc-cmn|zh|ong|1|h|ua|2|-|r|en|2|m|in|2|-|g|ong|4|h|e|2|g|uo|2}} Халип:IPAc-cmn
Māori Халип:Tldep {{IPAc-mi|ng|ā|r|u|a|'|w|ā|h|i|a}} Халип:IPAc-mi
Marshallese Халип:Tldep {{IPAc2-mh|mhahjelh}} Халип:IPAc2-mh
Polish Халип:Tldep {{IPAc-pl|'|sz|cz|e|ć|i|n}} Халип:IPAc-pl
Portuguese Халип:Tldep {{IPAc-pt|p|o|<|r|t|u|'|g|a|l|lang=pt}} and {{IPAc-pt|b|r|a|'|S|i|l|lang=br}} Халип:IPAc-pt and Халип:IPAc-pt
Romanian Халип:Tldep {{IPAc-ro|ˈ|m|U|n|ț|ii|_|f|ă|G|ă|ˈ|r|a|ș|U|l|U|i}} Халип:IPAc-ro
Spanish Халип:Tldep {{IPAc-es|m|i|'|gu|e|l|_|d|e|_|c|e|r|'|v|a|n|t|e|s|_|s|aa|'|v|e|d|r|a}} Халип:IPAc-es

The following templates have also been created, but they haven't been vetted by the community and may not work properly:

See also