Template:IPA: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{
<span class="IPA">{{{1}}}</span><noinclude>
  #vardefine: word | {{lc:{{{1|}}} }}
}}{{ #vardefine: i | 2 }}{{
  #while:
  | {{#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>

Latest revision as of 10:38, 11 July 2024

{{{1}}}