Pronunciation/transliteration template for Thai. Produces Paiboon transcription, Royal Thai General System of Transcription and IPA pronunciation. Relies on Module:th-pron.

Usage

uredi
parameters
No compulsory parameters. Arguments 1 – ∞ are for phonetic respellings in the Thai script. If no argument is present, it takes the pagename as argument 1.
This tool does not provide the function of syllable segmentation of a Thai-language text as this is unlikely to be feasible under the Wiktionary infrastructure, thus all inputs must be phonetically respelt. All multisyllabic words must be segmented by "-" intersyllabically, regardless of how apparent the syllabic divisions may be superficially.
where to get phonetic respellings
A good website for looking up the phonetic respellings is Thai-language.com. Note that unorthographical phonetic features are often not marked in phonetic respellings from Thai-Thai dictionaries, so it is good practice to check against Sealang for pronunciation.
There is no need to specify transliteration/transcription in the headword templates if this template is present.
note
|note=redup indicates that the pronunciation exhibits unorthographical intersyllabic consonant reduplication, e.g. วิทยุ. Additional notes include short and unortho etc., the details of which can be found on Module:th-pron.
forced middle tone
U+0304 Combining macron (̄) can be used to force a mid-tone on a syllable. Its placement follows the placement rules of the other tone marks.
qualifier
Qualifier of a pronunciation can be added by appending :qualifier after the respelling. See ฉัน (chǎn) and ข้าว (kâao) for examples.
homophone
The module will attempt to grab homophone lists from Module:th-hom/data based on phonemic spellings and display them in a new row if found. The list will be collapsed if it is too numerous.
audio
The module will also attempt to grab any audio file that reflects the pronunciation of the phonemic spelling and display them in a new row if found. See ญี่ปุ่น (yîi-bpùn), สหรัฐอเมริกา, ไทย (tai), รัก (rák) and งู (nguu) for some examples.

Examples

uredi

Note the effects here are different from those in actual entries.

{{th-pron}}
Phonemic
นี่
n ī ˋ
romanizacijaPaiboonnîi
Kraljevski institutni
(standard) IPA(ključ)/niː˥˩/(R)
Homofoniนี่
หนี้


{{th-pron|เอา-แต่-ใจ}}
Phonemic
เอา-แต่-ใจ
e ɒ ā – æ t ˋ – au t͡ɕ
romanizacijaPaiboonao-dtɛ̀ɛ-jai
Kraljevski institutao-tae-chai
(standard) IPA(ključ)/ʔaw˧.tɛː˨˩.t͡ɕaj˧/(R)


{{th-pron|ปรับ-ปรุง}}
Phonemic
ปฺรับ-ปฺรุง
p ̥ r ạ ɓ – p ̥ r u ŋ
romanizacijaPaiboonbpràp-bprung
Kraljevski institutprap-prung
(standard) IPA(ključ)/prap̚˨˩.pruŋ˧/(R)


{{th-pron|รัด-ถะ-บาน}}
Phonemic
รัด-ถะ-บาน
r ạ ɗ – tʰ a – ɓ ā n
romanizacijaPaiboonrát-tà-baan
Kraljevski institutrat-tha-ban
(standard) IPA(ključ)/rat̚˦˥.tʰa˨˩.baːn˧/(R)


{{th-pron|ผน-กฺระ-ทบ}}
Phonemic
ผน-กฺระ-ทบ
pʰ n – k ̥ r a – d ɓ
romanizacijaPaiboonpǒn-grà-tóp
Kraljevski institutphon-kra-thop
(standard) IPA(ključ)/pʰon˩˩˦.kra˨˩.tʰop̚˦˥/(R)


{{th-pron|ฉัน|ชั้น:colloquial}}
Phonemic
ฉัน
t͡ɕʰ ạ n
[colloquial]
ชั้น
d͡ʑ ạ ˆ n
romanizacijaPaiboonchǎnchán
Kraljevski institutchanchan
(standard) IPA(ključ)/t͡ɕʰan˩˩˦/(R)/t͡ɕʰan˦˥/(R)
Homofoniฉัน
ฉันท์
Audio
{{th-pron|อุด-สา|อุด-สา-หะ-}}
Phonemic
อุด-สา
ɒ u ɗ – s ā
[vezani oblik]
อุด-สา-หะ-
ɒ u ɗ – s ā – h a –
romanizacijaPaiboonùt-sǎaùt-sǎa-hà-
Kraljevski institutut-saut-sa-ha-
(standard) IPA(ključ)/ʔut̚˨˩.saː˩˩˦/(R)/ʔut̚˨˩.saː˩˩˦.ha˨˩./