Template:IPAc-en/doc

Note: Per WP:LEAD, do not use this template in the lead section for common English words (e.g., pub, rose, pencil, bus, Monday, Earth, etc.).

This template is used to display English International Phonetic Alphabet (IPA). The pronunciation is broken into individual diaphonemes so that they will have tooltips (mouse-over text) to indicate pronunciation. All diaphonemes from Help:IPA for English are available.

The transcription system of Help:IPA for English, upon which this template relies, is diaphonemic, i.e. meant to cover multiple major varieties of English at once. If you wish to give a narrow transcription of a pronunciation in a certain variety of English, use IPA-endia or IPA-all instead.

The initial argument can be used to indicate a pronunciation prescript. The available pronunciation codes are:

The first argument that is not a pronunciation code will be treated as a diaphoneme. See the collapsed table below for a full list of diaphoneme codes. As well as diaphonemes, there are some separator codes as well. For example, a keyboard underscore  can be used for a space between words. Diaphonemes are underlined, but separators are not, and separators do not have any tooltip text.

Note that the aliases include ones that are kept merely for compatibility reasons and therefore not recommended for further use, as they might not accurately represent the sound represented by the output.

The named parameter audio may be used to link to an audio file.

Examples


Examples using SAMPA spelling for individual diaphonemes:
 * → {{IPAc-en|,|{|l|@|'|b|{|m|@}}
 * → {{IPAc-en|lang|audio=en-us-Alabama.ogg|,|{|l|@|'|b|{|m|@}}

If "[invalid input]" is displayed, it means that an unsupported input was used. Such instances are tallied at Category:Ill-formatted IPAc-en transclusions, where they can be reviewed and fixed.

Notations with audio links will appear at Category:Articles including recorded pronunciations.

Behaviour changes from IPA-en
The default behaviour has changed to no prescript. It can be partially reinstated using the flag.

Audio files are specifically called:
 * or  →
 * or  →