From BMW Tech
Jump to navigation Jump to search


[edit] Template-info.svg Template documentation


Template:IPA is most 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>

I.e., it simply specifies CSS class IPA.

This allows fixing broken display of International Phonetic Alphabet (IPA) characters in MS Internet Explorer 6 for Windows, and choice of style in any browser.

The font declarations are in MediaWiki:Common.css. Registered Wikipedia users can specify their own style for IPA text by editing, for each project, their user style sheet, e.g. monobook.css. Users can also specify the style locally in their browser, which works across projects.


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


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:


Without template:IPA:


[The last two should only look different if you are using Internet Explorer 6 or lower on Windows, or if you have a custom style defined for IPA text.]

Please place all IPA text into Template:IPA, 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.

List of fonts

The following is a list of fonts that are specified using this template.

  • Charis SIL
  • Doulos SIL
  • Gentium
  • GentiumAlt
  • DejaVu Sans
  • Code2000
  • TITUS Cyberbit Basic
  • Arial Unicode MS
  • Lucida Sans Unicode
  • Chrysanthi Unicode

Choosing an IPA template

Wikipedia:IPA for Arabic
Wikipedia:IPA for Armenian
Wikipedia:IPA for Czech
Wikipedia:IPA for English
Wikipedia:IPA for French
Wikipedia:IPA for German
Wikipedia:IPA for Hebrew
Wikipedia:IPA for Hungarian
Wikipedia:IPA for Irish
Wikipedia:IPA for Italian
Wikipedia:IPA for Korean
Wikipedia:IPA for Polish
Wikipedia:IPA for Russian
Wikipedia:IPA for Spanish

Wikipedia offers several templates for proper display of IPA transcriptions.

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

However, 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:
  • 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:
  • for Australian English pronunciation specifically, use:

For IPA keys dedicated to a specific language in broad transcription, there are:

  • for Armenian:
    • {{IPA-hy}}, appearing as: Armenian pronunciation: [word]
  • for Czech:
    • {{IPA-cs}}, appearing as: Czech pronunciation: [word]
  • for French:
    • {{IPA-fr}}, appearing as: French pronunciation: [word]
  • for German:
    • {{IPA-de}}, appearing as: German pronunciation: [word]
  • for Hebrew:
    • {{IPA-he}}, appearing as: Hebrew IPA: [word], or
    • {{IPA-he-small}}, appearing as: IPA: [word]
  • for Hungarian:
    • {{IPA-hu}}, appearing as: Hungarian pronunciation: [word]
(though {{IPAr|hu|...}} is preferred)
  • for Irish:
  • for Italian:
    • {{IPA-it}}, appearing as: Italian pronunciation: [word]
  • for Korean:
    • {{IPA-ko}}, appearing as: Korean pronunciation: [word]
  • for Polish:
(though {{IPAr|pl|...}} is preferred)
  • for Russian:
    • {{IPA-ru}}, appearing as: Russian pronunciation: [word]
  • for Spanish:
    • {{IPA-es}}, appearing as: Spanish pronunciation: [word]

The template {{IPAr}} can be used to generate a properly linked transcription for any language, with optional soundfile, and (currently for Polish only) offers the ability to enter ordinary letters for conversion to phonetic symbols. See the template page for usage.


The older inconsistently named (though still operational) templates {{IPA2}}, {{IPAEng}}, and {{pronEng}} are deprecated, and are to be no longer used.

See also

  • Category:IPA templates
  • {{IPA}}
  • {{respell}}, for pronunciation respellings, which may be used for English words in addition to the IPA

ca:Plantilla:AFI de:Vorlage:IPA dsb:Pśedłoga:IPA eo:Ŝablono:IFA fa:الگو:آوا fi:Malline:IPA fr:Modèle:Prononciation API hsb:Předłoha:IPA it:Template:IPA ja:Template:IPA2 ko:틀:IPA nl:Template:IPA pl:Szablon:IPA ru:Шаблон:IPA simple:Template:IPA sr:Шаблон:МФА sv:Mall:IPA th:แม่แบบ:IPA tpi:Template:IPA vi:Tiêu bản:IPA