Template:id-IPA/documentation
Jump to navigation
Jump to search
This template uses Module:id-pron to auto-generate pronunciation of Indonesian entries.
Usage
[edit]Parameters
[edit]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
[edit]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
[edit]The following usage examples do not require a pronunciation hint:
Word | Result |
---|---|
bahasa | IPA(key): /baˈhasa/ [baˈha.sa] |
bawang | IPA(key): /ˈbawaŋ/ [ˈba.waŋ] |
besar | IPA(key): /bəˈsar/ [bəˈsar] |
cerita | IPA(key): /t͡ʃəˈrita/ [t͡ʃəˈri.t̪a] |
fakta | IPA(key): /ˈfakta/ [ˈfaʔ.t̪a] |
jantung | IPA(key): /ˈd͡ʒantuŋ/ [ˈd͡ʒan.t̪ʊŋ] |
tanpa | IPA(key): /ˈtanpa/ [ˈt̪am.pa] |
telur | IPA(key): /təˈlur/ [t̪əˈlʊr] |
zuhur | IPA(key): /ˈzuhur/ [ˈzu.hʊr] |
Examples where a pronunciation hint helps:
Word | Result | Note |
---|---|---|
Alquran | IPA(key): /alkurˈʔan/ [al.kurˈʔan] | pronunciation based on the Arabic |
masak | IPA(key): /ˈmasaʔ/ [ˈma.saʔ] | 7 for glottal stop |
Mojokerto | IPA(key): /mɔd͡ʒɔˈkərtɔ/ [mɔ.d͡ʒɔˈkər.t̪ɔ] | Ò used to signal Javanese-based pronunciation of O |
presiden | IPA(key): /prɛˈsidɛn/ [prɛˈsi.dɛn] | E pronounced as /ɛ/ |
Solo | IPA(key): /ˈsɔlɔ/ [ˈsɔ.lɔ] | Ò used to signal Javanese-based pronunciation of O |
To force the correct pronunciation of an in-word diphthong, add a period after the diphthong
Word | Result | Note |
---|---|---|
audio | IPA(key): /awˈdio/ [au̯ˈdi.o] | |
saudara | IPA(key): /sawˈdara/ [sau̯ˈda.ra] |