Difference between revisions of "Template:IPA link/core"
Jump to navigation
Jump to search
imported>Nardog |
imported>Nardog |
||
| Line 1: | Line 1: | ||
| − | {{#if:{{{1|}}}|{{{1}}}|<!-- if error -->{{#switch:{{{2<includeonly>|</includeonly>}}} | + | {{#if:{{{1|}}}|{{IPA|[[{{{1}}}|{{{2|{{{symbol}}}}}}]]}}|<!-- if error -->{{#switch:{{{2<includeonly>|</includeonly>}}} |
| − | |=<!-- return default error -->{{IPA symbol|{{{ | + | |=<!-- return default error -->{{IPA symbol|{{{symbol}}}}} |
|blank=|#def=<!-- return errortext -->{{{2}}} | |blank=|#def=<!-- return errortext -->{{{2}}} | ||
| − | }}}} | + | }}}}<!-- audio begin -->{{#if:{{{audio|}}}|{{IPA audio link|{{yesno|{{{audio}}}|yes={{IPA symbol|{{{symbol}}}|output=soundfile}}|def={{{audio}}}}}}}}} |