Template:IPA: Difference between revisions

From Linguifex
Jump to navigation Jump to search
m (Reverted edits by Gustavus-Adolphus (talk) to last revision by EmperorZelos)
mNo edit summary
Line 1: Line 1:
{{
<span style="font-size:100%;font-family:CharisSILW>{{{1}}}</span>
  #vardefine: word | {{lc:{{{1|}}} }}
 
}}{{ #vardefine: i | 2 }}{{
<noinclude>
  #while:
{{documentation}}
  | {{#if:{{{ {{ #var: i }} |}}}|true|}}
  |<nowiki/>{{
  #vardefine: origin | {{#explode: {{{ {{ #var: i }} |}}}| >> | 0 }}
}}{{
  #vardefine: new | {{#explode: {{{ {{ #var: i }} |}}}| >> | 1 }}
}}{{
#vardefine: word | {{#replace:{{#var:word}}|{{#var:origin}}|{{#var:new}} }}
}}{{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}
}}{{
#vardefine: word | {{#replace:{{#var:word}}|&|sup }}
}}{{#var:word}}<noinclude>
{{Documentation}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 17:25, 29 June 2018

{{{1}}}



Used to create templates for orthography to IPA transformation

Input Output
{{IPA|him|i>>a}} him


{{IPA|himj|i>>a|mj>>m<&>j</&>}} himj