Template:X2i/documentation

From The Languages of David J. Peterson
Revision as of 12:12, 8 July 2023 by Juelos (talk | contribs) (Created page with "{{documentation subpage}} This template, which should be substituted when used, allows users to type in XSAMPA characters and have them automatically converted to IPA. It shou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation for Template:X2i. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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}}, {{IPAchar}}, or {{IPAfont}}, but can also be used simply to generate any characters that happen to be present in the IPA, such the letters æ and ð for Icelandic, which can be generated by typing {{subst:x2i|{}} and {{subst:x2i|D}}. For example, the typed string

/{{subst:x2i|"dIkS@nEr\i}}/

automatically converts to

/ˈdɪkʃənɛɹi/

when the “Save page” button is clicked.

See also

  • {{X2IPA}} – converts X-SAMPA to IPA within the template {{IPA}}
  • {{x2ipachar}} – converts X-SAMPA to IPA within the template {{IPAchar}}
  • {{x2rhymes}} – converts X-SAMPA to IPA within the template {{rhymes}}