Template:x2i

Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search



This template, which should be substituted when used, allows users to type in XSAMPA characters and have them automatically converted to IPA. It should generally be used inside {{IPA}} or {{IPAchar}}. For example, the typed string

* {{IPA|/{{subst:x2i|"dIkS@nEr\i}}/|lang=en}}

automatically converts to

* {{IPA|/ˈdɪkʃənɛɹi/|lang=en}}

when the “Save page” button is clicked.

For an easier-to-use X-SAMPA-to-IPA conversion template, see {{X2IPA}}.