• Home
  • Random
  • Log in
  • Settings
  • About Azupedia
  • Disclaimers
Azupedia

Template:IPAc-en

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
この記事は、クリエイティブ・コモンズ・表示・継承ライセンス3.0のもとで公表されたウィキペディアの項目Template:IPAc-enを素材として二次利用しています。
Lua error in Module:Itemnumber at line 91: attempt to concatenate local 'qid' (a nil value).
Lua logoLuaModuleを使用しています:
  • Module:IPAc-en

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/English are available.

The transcription system of Help:IPA/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 (entry after |) can be used to indicate a pronunciation prescript; link to IPA. The codes are:

Pronunciation & IPA link codes
Code Output
lang English:
local locally
ipa IPA:
also also
uk UK:
us US:
uklang en:British English:
uslang en:American English:
ukalso UK also
usalso US also
alsouk also UK:
alsous also US:

The first argument that is not a code above will be treated as a diaphoneme. All diaphonemes listed at Help:IPA/English are available (except the ones that span two syllables such as /aɪ.ər/, /iːər/ and /iə/, which need to be input as aɪ|.|ər, iː|ər and i|ə). Also available are /ɪəˈr/, /ɛəˈr/, /ʊəˈr/, /ɪəˌr/, /ɛəˌr/, and /ʊəˌr/, preserved for when a centering diphthong precedes a stress.

Separator codes
Use an underscore _ to separate words. When multiple pronunciations for the same word(s) are possible, use a comma and an underscore ,_ to separate the variants which will appear as a comma. As necessary, use a hyphen - to indicate omitted syllables. Diaphonemes are underlined, but separators are not, and separators do not have any tooltip text.

See the table below for a full list of diaphoneme codes.

Diaphoneme codes

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. Script error: No such module "IPAc-en/documentation".

The named parameter |audio= may be used to link to an audio file. By default, two links are created: one to the audio file itself and one to the File page. If the audio file is licensed as CC0 or public domain, you can use |attribution=no to make it only link to the audio file.

Examples

  • {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}} → /ˌæləˈbæmə/
  • {{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}} → /ˌæləˈbæmə/ (listen)
  • {{IPAc-en|US|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}} → US: /ˌæləˈbæmə/ (listen)
  • {{IPAc-en|US|audio=en-us-Alabama.ogg|attribution=no|ˌ|æ|l|ə|ˈ|b|æ|m|ə}} → US: /ˌæləˈbæmə/ Listen

Examples using SAMPA spelling for individual diaphonemes:

  • {{IPAc-en|,|{|l|@|'|b|{|m|@}} → /ˌæləˈbæmə/
  • {{IPAc-en|lang|audio=en-us-Alabama.ogg|,|{|l|@|'|b|{|m|@}} → English: /ˌæləˈbæmə/ (listen)

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 under Category:Pages including recorded pronunciations.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for IPAc-en

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Audio fileaudio

The audio file without the "File:" prefix

Example
En-us-Foobar.ogg
Unknownoptional
Attribution linkattribution

Set attribution to "no" to only display a speaker icon that links directly to the audio file (with no link to the File page).

Example
no
Unknownoptional

See also

  • {{Respell}}, for pronunciation respellings, which may be used for English words in addition to the IPA

Template:IPA templates

The above documentation is transcluded from Template:IPAc-en/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://wiki.tiffa.net/w/index.php?title=Template:IPAc-en&oldid=987"
Last edited on 7 February 2021, at 16:03

Languages

      This page is not available in other languages.

      Azupedia
      • This page was last edited on 7 February 2021, at 16:03.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Azupedia
      • Disclaimers
      • Desktop