Difference between revisions of "Template:IPA chart/cell-link"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
(replace with shorter code. no css styles here, too high newpp numbers. sandboxed.)
Line 1: Line 1:
<span style="font-size:140%; line-height:1.4em; padding:0em 0.1em 0.1em 0.1em; {{{cellstyle|}}};"><!--
+
{{IPA|[[{{IPAsym|{{{ipa symbol|{{{1|{{{IPA symbol|}}}}}}}}}|2=}}|{{{label|{{{ipa symbol|{{{1|}}}}}}}}}]]}}<noinclude>
-->{{#ifeq:{{{label only|no}}}|yes|{{{label|}}}<!--
 
-->|{{#switch:{{IPAsym|{{{ipa symbol|{{{1|{{{IPA symbol|}}}}}}}}}|2={{error|undefined}}|3={{error|blank}}}}
 
| {{error|blank}}={{{errortext|}}}
 
| {{error|undefined}}={{{errortext|IPA symbol not defined}}
 
| #default=<!--
 
WL BEGIN wikilink
 
IPA CLASS (font) opening
 
-->{{IPA|<!--
 
IPA BRACKET opening
 
 
 
-->{{#switch:{{{bracket|}}}
 
| | #default=
 
| < |  angle =&lt;
 
| / | slash =/
 
| ] | square=&#x005b;
 
}}<!--
 
WL BRACKETS [[ open
 
-->{{square bracket open|2}}<!--
 
WL PAGE name
 
-->{{IPAsym|{{{ipa symbol|{{{1|{{{IPA symbol|}}}}}}}}}|2=|3=}}<!--
 
LABEL piped wikilink
 
-->{{#if:{{{label|{{{ipa symbol|{{{1|}}}}}}}}}|{{!}}{{{label|{{{ipa symbol|{{{1|}}}}}}}}}|}}<!--
 
WL BRACKETS ]] closing
 
-->]]<!--
 
IPA BRACKET closing
 
-->{{#switch:{{{bracket|}}}
 
| | #default=
 
| < | angle =&gt;
 
| / | slash =/
 
| ] | square=&#x005d;
 
}}<!--
 
IPA CLASS (font) closing, label only,
 
-->}}}}}}</span><noinclude>
 
  
 
{{documentation|1=Template:IPA chart/doc}}
 
{{documentation|1=Template:IPA chart/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 12:58, 8 September 2011

[[|]]

Template documentation[view] [edit] [history] [purge]

Usage

The template shows an IPA chart, wrapped in an infobox.

Templates

Full blank parameter list

{{IPA chart/core1
<!-- general -->
| name             =
| wrapper          =
| position         =
<!-- table -->
| caption          =
| ipa table        =
| show nonIPA      =
| show optionals   =
| tablestyle       =
<!-- footnotes -->
| show footnotes   =
| footnote1        =
| footnote2        =
| footnote3        =
| footnote4        =
| footnote ipa     =
| footnotestyle    =
<!-- links -->
| show linkrow     =
| show ipa key     =
| show audio help  =
| extra link       =
| extra link label =
| chart image      =
| audio chart link =
| show view        =
| linkrowstyle     =
}}
  • Position defaults to "float right".

See also

pt:Predefinição:IPA chart