Template:Infobox IPA/core1/sandbox: Difference between revisions

Content deleted Content added
Lfdder (talk | contribs)
No edit summary
Lfdder (talk | contribs)
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1:
{{Infobox IPA/core2/sandbox
{{infobox
| above = {{#if: {{{above|}}}<!--
| bodystyle =width: 16em;<!-- acts as a minimum; the max is 300px -->
-->|{{{above|}}}<!-- input abovetext overwrites ipa symbol name
| abovestyle =background: #f2f2ce;<!-- yellowish brown -->
-->|{{ucfirst:<!-- above text by IPAsym name
<!-- ABOVE TITLE -->
-->{{IPA|#if: {{{ipa symbolnumber|}}}}}<!-- by ipa number
| above ={{{above|}}}
-->|{{IPA symbol |{{{ipa number|}}}|2=}}<!-- 2=return blank if error
<!-- IPA SYMBOL (in big font) -->
-->|{{IPA symbol |{{{ipa symbol|}}}|2=}}<!-- 2=return blank if error
| headerstyle =font-size: 5em; line-height: 1.2em; vertical-align: super; font-weight: normal;
| header1 ={{#if: {{{ipa symbol|}}}<!--
-->{{IPA|{{{ipa symbol|}}}}}<!--
-->}}<!--
-->}}<!-- close ucfirst & IPAsym above-title
repeat headerstyle for optional symbols 2, 3, 4-->
| header2 ={{#if: {{{ipa symbol2|}}}<!--
-->{{IPA|{{{ipa symbol2|}}}}}<!--
-->}}
| header3 ipa symbol ={{#if: {{{ipa symbol3symbol|}}}<!--
| ipa symbol2 ={{{ipa symbol2|}}}<!-- 2...8: will be shown, but not used otherwise-->
-->{{IPA|{{{ipa symbol3|}}}}}<!--
| data16 ipa symbol3 ={{{ipa numbersymbol3|}}}
-->}}
| header4 ipa symbol4 ={{#if: {{{ipa symbol4|}}}<!--
-->{{IPA| ipa symbol5 ={{{ipa symbol4symbol5|}}}}}<!--
| header6 ipa symbol6 ={{#if: {{{ipa symbol6|}}}<!--
-->}}
| header5 ipa symbol7 ={{#if: {{{ipa symbol5symbol7|}}}<!--
-->{{IPA| ipa symbol8 ={{{ipa symbol5symbol8|}}}}}<!--
<!-->}}
-->}}
| header6 ={{#if: {{{ipa symbol6|}}}<!--
-->| imagefile ={{IPA|#if: {{{ipa symbol6imagefile|}}}}}<!--
-->| data51 = {{#ififexist:Media:{{{imagefile|}}}<!--
-->}}
-->| header7 ={{#if: {{{ipa symbol7imagefile|}}}<!--
-->{{IPA|{{{ipa symbol7|}}}}}<!--
-->}}
| header8 ={{#if: {{{ipa symbol8|}}}<!--
-->{{IPA|{{{ipa symbol8|}}}}}<!--
-->}}
| headerstyle =background: #ffffe6;<!-- light yellow -->
<!-- IPA NUMBER -->
| label16 =[[{{#if: {{{ipa link|}}}|{{{ipa link|}}}<!--
-->|IPA number}}|IPA number]]
| data16 ={{{ipa number|}}}
<!-- NOTE1 -->
| label17 ={{{note1 label|}}}<!-- optional input -->
| data17 ={{{note1|}}}
<!-- ENCODINGS -->
| header18 ={{#if:<!--
-->{{{html format|}}}{{{unicode format|}}}{{{x-sampa|}}}{{{kirshenbaum|}}}<!-- one or more encodings present so header
-->| Encoding }}
| label19 =Entity <small>(decimal)</small>
| data19 ={{#iferror:{{{check decimals|}}} ||<!--
-->{{#if: {{{html format|}}} | <code>{{{html format|}}}</code>}}<!--
-->}}
| label30 =Unicode <small>(hex)</small>
| data30 ={{#if: {{{unicode format|}}} | {{{unicode format|}}} }}
| label31 =[[X-SAMPA]]
| data31 ={{#if: {{{x-sampa|}}} | <code>{{{x-sampa|}}}</code> }}
| label32 =[[Kirshenbaum]]
| data32 ={{#if: {{{kirshenbaum|}}} | <code>{{{kirshenbaum|}}}</code> }}
| label33 =[[IPA Braille|Braille]]
| data33 ={{#if: {{{braille|}}} | {{Braille cell|type=6|size=25px|{{{braille|}}}|{{{braille2|}}}|{{{braille3|}}}|{{{braille4|}}}}}}}
<!-- NOTE2 -->
| label35 ={{{note2 label|}}}<!-- optional input -->
| data35 ={{{note2|}}}
<!-- CHECK DECIMALS error message -->
| data37 ={{{check decimals|}}}
<!-- IMAGEFILE -->
| data51 = {{#if:{{{imagefile|}}}<!--
-->| {{infobox IPA/image box<!--
-->|imagefile ={{{imagefile|}}}<!--
-->|imagestate ={{{imagestate|collapsed}}}<!--
-->|imagesize ={{{imagesize|}}}<!--
-->|imagecaption={{{imagecaption|}}}<!--
-->}}<!--
-->|}}<!-- if...else: no imagefile entered so no showimagefilename -->
| header1 imagestate ={{#if: {{{ipa symbol|}}}<!-- |collapsed|uncollapsed}}
<!-- SOUNDFILE -->
| header59 imagecaption ={{#if: {{{soundfileimagecaption|}}} | Sound }}
-->| imagesize ={{{imagesize|}}}<!--
| data60 ={{#if: {{{soundfile|}}}|[[File:{{{soundfile|}}}|150px|center|noicon]]
-->}}
<div style="text-align:center"><small>[[:File:{{{soundfile|}}}|source]]&nbsp;<span style="font-weight:bold;">&middot;</span>&#32;[[Wikipedia:Media help|help]]</small></div>}}
| ipa number ={{{ipa number|}}}
| header2ipa link ={{#if: {{{ipa symbol2link|}}}<!--
| note1 label ={{{note1 label|}}}
| header8note1 ={{#if: {{{ipa symbol8note1|}}}<!--
-->}}
-->{{#if:| {{{html format|}}} | <code> ={{{html format|}}}</code>}}<!--
| data30 ={{#if: {{{unicode format|}}} | ={{{unicode format|}}} }}
| data35 x-sampa ={{{note2x-sampa|}}}
| kirshenbaum ={{{kirshenbaum|}}}
| braille ={{{braille|}}}
| braille2 ={{{braille2|}}}
| braille3 ={{{braille3|}}}
| braille4 ={{{braille4|}}}
| data37 check decimals={{{check decimals|}}}
| note2 label ={{{note2 label|}}}
| data17 note2 ={{{note1note2|}}}<!--
compose & check soundfile name -->
| data60 soundfile ={{#ififexist: Media:{{{soundfile|}}} |[[File: {{{soundfile|}}}|150px|center|noicon]]}}
}}<noinclude>
{{documentation}}