Jump to content

Template:id-IPA

From Wiktionary, the free dictionary

Use {{id-pr}} instead.
Use {{id-pr}} instead of invoking this template directly. {{id-pr}} works similarly to this template but autogenerates rhymes and hyphenation as well as pronunciation.

This template uses Module:id-pronunciation to auto-generate pronunciation of Indonesian entries.

Usage

Parameters

Normally, call this template with no parameters, and it will automatically generate the pronunciation for the page name.

|1=, |2=, ...
Phonetic respelling(s) of word or phrase. Needed for terms that deviate from Indonesian stress rules (use a macron for the vowel), have E pronounced as /e/ or /ɛ/ (use é or è as hint), or have O pronounced as /ɔ/ (by using Ò in hint e.g. terms and names of Javanese origin).
|q=
Specifies a qualifier to be placed at the beginning, before the "IPA:" text that normally precedes the pronunciation(s). This is formatted with the {{q}}/{{qualifier}} template.
|qq=
Specifies a qualifier to be placed at the end, after all pronunciations. This is formatted with the {{q}}/{{qualifier}} template.
|a=
Specifies one or more comma-separated accent qualifiers to be placed at the beginning, before the "IPA:" text that normally precedes the pronunciation(s). These are formatted with the {{a}}/{{accent}} template. To be recognized as a separator, there must be no space following the comma; otherwise, the comma is treated as an embedded comma within the accent qualifier.
|aa=
Specifies one or more comma-separated accent qualifiers to be placed at the end, after all pronunciations. These are formatted with the {{a}}/{{accent}} template. To be recognized as a separator, there must be no space following the comma; otherwise, the comma is treated as an embedded comma within the accent qualifier.
|qN=
Specifies a qualifier to be placed before pronunciation N. This is formatted with the {{q}}/{{qualifier}} template. The parameter |qualN= is a deprecated synonym; please do not use. Currently, for compatibility, |qual= is accepted as a synonym for |qual1=, but this should not be relied on as it will be changing in the future.
|qqN=
Specifies a qualifier to be placed after pronunciation N. This is formatted with the {{q}}/{{qualifier}} template.
|aN=
Specifies one or more comma-separated accent qualifiers to be placed before pronunciation N. These are formatted with the {{a}}/{{accent}} template. To be recognized as a separator, there must be no space following the comma; otherwise, the comma is treated as an embedded comma within the accent qualifier.
|aaN=
Specifies one or more comma-separated accent qualifiers to be placed after pronunciation N. These are formatted with the {{a}}/{{accent}} template. To be recognized as a separator, there must be no space following the comma; otherwise, the comma is treated as an embedded comma within the accent qualifier.
|refN=
Specifies one or more reference notes to be placed after pronunciation N. The reference is placed in the ===References=== section at the bottom of the language's entry. See below for the format of this parameter.

Inline modifiers

The |qN=, |qqN=, |aN=, |aaN= and |refN= parameters have corresponding inline modifiers <q:...>, <qq:...>, <a:...>, <aa:...> and <ref:...> that can be attached directly to a pronunciation argument, as with {{IPA}}.

Examples

The following usage examples do not require a pronunciation hint:

Word Result
bahasa
  • IPA(key): /baˈha.sa/, [baˈha.sa]
bawang
  • IPA(key): /ˈba.waŋ/, [ˈba.waŋ]
besar
  • IPA(key): /bəˈsar/, [bəˈsar]
cerita
  • IPA(key): /t͡ʃəˈri.ta/, [t͡ʃəˈri.t̪a]
fakta
  • IPA(key): /ˈfak.ta/, [ˈfak̚.t̪a]
jantung
  • IPA(key): /ˈd͡ʒan.tuŋ/, [ˈd͡ʒan.t̪ʊŋ]
tanpa
  • IPA(key): /ˈtan.pa/, [ˈt̪an.pa]
telur
  • IPA(key): /təˈlur/, [t̪əˈlʊr]
zuhur
  • IPA(key): /ˈzu.hur/, [ˈzu.hʊr]

Examples where a pronunciation hint helps:

Word Result Note
Alquran
  • IPA(key): /al.kurˈan/, [al.kurˈan]
Use a vowel with macron to indicate where stress applies if it is other than default rule. Q must be replaced with K (Q used for glottal stop)
masak
  • IPA(key): /ˈma.saʔ/, [ˈma.saʔ]
Q for glottal stop
Solo
  • IPA(key): /ˈsɔ.lɔ/, [ˈsɔ.lɔ]
Ò used to signal Javanese-based pronunciation of O
presiden
  • IPA(key): /preˈsi.dɛn/, [preˈsi.dɛn]
Use É or È if any E is pronounced as /e/ or /ɛ/.

To force the correct pronunciation of an in-word diphthong, add a period after the diphthong

Word Result Note
audio
  • IPA(key): /au̯ˈdi.o/, [au̯ˈdi.o]
saudara
  • IPA(key): /sau̯ˈda.ra/, [sau̯ˈda.ra]