Template:IPA: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Reverted edits by Gustavus-Adolphus (talk) to last revision by EmperorZelos) |
||
Line 1: | Line 1: | ||
{{ | |||
#vardefine: word | {{lc:{{{1|}}} }} | |||
}}{{ #vardefine: i | 2 }}{{ | |||
#while: | #while: | ||
| {{#if:{ | | {{#if:{{{ {{ #var: i }} |}}}|true|}} | ||
|<nowiki/>{{ | |<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 }} | #vardefine: word | {{#replace:{{#var:word}}|&|sup }} | ||
}}{{#var:word}}< | }}{{#var:word}}<noinclude> | ||
{{Documentation}} | |||
[[Category:Templates]] | |||
</noinclude> |
Revision as of 11:34, 14 January 2013
{{
#while: | |
}}
- The following documentation is located at Template:IPA/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Used to create templates for orthography to IPA transformation
Input | Output | ||
---|---|---|---|
{{IPA|him|i>>a}} | {{
#while: |
true |
}}him |
{{IPA|himj|i>>a|mj>>m<&>j</&>}} | {{
#while: |
true |
}}hamj |