Template:id-IPA
Appearance
- The following documentation is located at Template:id-IPA/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
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 | |
bawang | |
besar | |
cerita | |
fakta | |
jantung | |
tanpa | |
telur | |
zuhur |
Examples where a pronunciation hint helps:
Word | Result | Note |
---|---|---|
Alquran | 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 | Q for glottal stop | |
Solo | Ò used to signal Javanese-based pronunciation of O | |
presiden | 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 | ||
saudara |