Template:X2IPA/documentation

This template takes the same parameters as. It takes X-SAMPA as input rather than IPA, and must always be substituted. It converts the X-SAMPA into IPA and transforms into when the page is saved. The way in which Module:IPA/templates does this is inelegant, but it makes things very convenient.

X-SAMPA is an easier way to type IPA using characters, if you are willing to learn it. See the reference tables on Wikipedia.

The backend of this template is the  function in Module:IPA/templates and the   function in Module:IPA.

Example
For instance, entering the following code –

– results in the following code when the page is saved –

– which displays as –



Multiple transcriptions are supported:

For a template that simply converts from X-SAMPA to IPA, see.