Template:ms-IPA
Appearance
- The following documentation is located at Template:ms-IPA/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template uses Module:ms-pron to auto-generate pronunciation of Malay entries.
Usage
Parameters
Normally, call this template with no parameters, and it will automatically generate the pronunciation for the page name.
NOTE: The invocation of {{ms-IPA}}
should occur on a line by itself. Do not put a bullet mark (*
) before it. The bullet mark is generated by the template.
|1=
- Phonetic respelling of word or phrase. Needed for terms that deviate from Malay stress rules (use a macron for the vowel), have E pronounced as /e/ (use é as hint), U pronounced as /o/ (in Johor-Riau pronunciation, and in Northern Peninsula pronunciation before any consonant except N and NG), Johor-Riau pronunciations that elide final R followed by lengthening of adjacent vowel (use vowel with circumflex) and pronunciations that do not correspond well with it spelling (e.g. teknologi, which should be transcribed "téknoloji")
|bullets=
- Number of bullet marks to place before the generated pronunciation. Defaults to 1.
|pre=
- Text to place before the generated pronunciation, e.g. accent tags.
|post=
- Text to place after the generated pronunciation.
Examples
The following usage examples do not require a pronunciation hint:
Word | Code | Result | Note |
---|---|---|---|
bahasa | {{ms-IPA|bahasa}} | ||
bawang | {{ms-IPA|bawang}} | ||
cerita | {{ms-IPA|cerita}} | Northern Peninsula pronunciation | |
jantung | {{ms-IPA|jantung}} | Northern Peninsula pronunciation | |
masak | {{ms-IPA|masak}} | final K for glottal stop | |
tanpa | {{ms-IPA|tanpa}} |
Examples where a pronunciation hint helps:
Word | Code | Result | Note |
---|---|---|---|
Qur'an | {{ms-IPA|qur7ān}} | pronunciation based on the Arabic | |
besar | {{ms-IPA|besâ|a=Johor-Selangor,Riau-Lingga}} |
|
Johor-Riau pronunciation. |
telur | {{ms-IPA|telô|a=Johor-Selangor,Riau-Lingga}} |
|
Johor-Riau pronunciation |
telur | {{ms-IPA|telōr|a=Northern Peninsula}} |
|
Northern Peninsula pronunciation |
zuhur | {{ms-IPA|zuhor|a=Northern Peninsula}} |
|
Northern Peninsula pronunciation |
teknologi | {{ms-IPA|téknoloji}} | Pronunciation that do not correspond with spelling, such as with some loanwords from English and unassimilated loanwords. |