Template:th-usex/documentation

Thai example template, relying on Module:th function 'usex'.

Logic
Words are separated by spaces, and orthographic spaces in Thai text are represented by double spaces.

Transcriptions are grabbed from the arguments in the template in the respective articles. Thus it is best to have all articles used in the example sentence created a priori. Alternatively you could specify the phonetic Thai spelling for a particular word by putting {PHONETIC} after the word.

No need to manually boldify the entry title if it is found as one of the words in the example sentence.

parameter should not be used.

This template adds pages to Category:Thai terms with usage examples.

Examples
‎

‎

‎

An example with phonetic respellings in curly brackets {PHONETIC_RESPELLING} when defined term's pronunciation is different from the default (e.g. when there's a bound form) or for undefined terms (red links)