Template:Thai special character

Template documentation[view] [edit] [history] [purge]

PurposeEdit

This template is used to add certain characters of the Thai alphabet that are not supported by Unicode, such as those used in ancient inscriptions.

UsageEdit

Form 1
{{Thai special character|add character}}
Form 2
{{Thai special character|1=}}
Form 3
{{Thai special character|add character|s=}}
Form 4
{{Thai special character|1=|s=}}
  • 1 = add character
  • s = add needed size of the character, such as "10" or "15", default is "8"
see #Characters to add and #Examples also

Characters to addEdit

Character Examples
Thai Roman Templates Result
อิ i {{Thai special character|อิ}}
{{Thai special character|i}}
Thai character - i.png
อี ii {{Thai special character|อี}}
{{Thai special character|ii}}
Thai character - ii.png
อื uue {{Thai special character|อื}}
{{Thai special character|uue}}
Thai character - uue.png
อุ u {{Thai special character|อุ}}
{{Thai special character|u}}
Thai character - u.png
อู uu {{Thai special character|อู}}
{{Thai special character|uu}}
Thai character - uu.png
yo ying {{Thai special character|ญ}}
{{Thai special character|yo ying}}
Thai character - yo ying - without tail.png
tho than {{Thai special character|ฐ}}
{{Thai special character|tho than}}
Thai character - tho than - without tail.png

ExamplesEdit

Example 1Edit

{{Thai special character|อี}}สบเก้าเข้า{{Thai special character|อุ|s=9}}ฃนสามชนเจ้า{{Thai special character|อื}}เมองฉอดมาท่{{Thai special character|อื}}เมองตากพ่{{Thai special character|อู}}กไปรบ

Produces:

Thai character - ii.pngสบเก้าเข้าThai character - u.pngฃนสามชนเจ้าThai character - uue.pngเมองฉอดมาท่Thai character - uue.pngเมองตากพ่Thai character - uu.pngกไปรบ

Example 2Edit

{{Thai special character|ii}}สบเก้าเข้า{{Thai special character|u|s=9}}ฃนสามชนเจ้า{{Thai special character|uue}}เมองฉอดมาท่{{Thai special character|uue}}เมองตากพ่{{Thai special character|uu}}กไปรบ

Produces:

Thai character - ii.pngสบเก้าเข้าThai character - u.pngฃนสามชนเจ้าThai character - uue.pngเมองฉอดมาท่Thai character - uue.pngเมองตากพ่Thai character - uu.pngกไปรบ

Templates in this category exist to circumvent some problem or other.