Template:IPA link: Difference between revisions

1,195 bytes removed ,  2 years ago
m
1 revision imported
en>Centrist16
(Created page with "{{IPA link/core | ipa symbol = {{{ipa symbol|{{{1|{{{IPA symbol|}}}}}}}}} | IPAsym name= {{{direct page| {{IPA symbol|{{{ipa symbol|{{{1|{{{IPA symbol|}}}}}}}}}|3=<span class=...")
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 1:
<includeonly>{{#invoke:IPA symbol|link|symbol={{{1|}}}|text={{{2|}}}|audio={{{audio|}}}|errortext={{{errortext|}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
{{IPA link/core
| ipa symbol = {{{ipa symbol|{{{1|{{{IPA symbol|}}}}}}}}}
| IPAsym name= {{{direct page| {{IPA symbol|{{{ipa symbol|{{{1|{{{IPA symbol|}}}}}}}}}|3=<span class="error">∅</span>}} }}}<!-- caught blank input as error; allow overruling IPAsym page name --><!-- skip param3/error catch to control situation (better not overload error situations). See also "Template:IPAsym" to module change, this month. 27 July 2013 -->
| bracket = {{#switch:{{lc:{{{2|}}}}}
| < | > | angle = ANGLE<!-- case signals which param has input -->
| [ | ] | square = SQUARE
| / | slash = SLASH
| #default={{#switch:{{lc:{{{3|}}}}}
| < | > | angle = angle
| [ | ] | square = square
| / | slash = slash
| #default={{#switch:{{lc:{{{bracket|}}}}}
| < | > | angle = Angle
| [ | ] | square = Square
| / | slash = Slash
| #default=None}} }} }}
| label = {{{label|{{{showsymbol|}}}}}}
| param2 = {{{2|}}}
| param3 = {{{3|}}}
| name = {{{name|no}}}
| errortext = {{#if:{{{errortext|}}}|{{{errortext|}}}|{{#if:{{{errortext}}}|{{error|undefined|tag=span}}|{{error|blank|tag=span}}}}}}
}}{{#if:{{{audio|}}}|{{#ifexist:Media:{{{audio|}}}|{{IPA audio link|{{{audio}}}}}|{{#ifexist:Media:{{IPA symbol|{{{1}}}|output=soundfile}}|{{IPA audio link|{{IPA symbol|{{{1}}}|output=soundfile}}}}}}}}}}<noinclude>
{{documentation}}
</noinclude>