Difference between revisions of "Template:IPA soundbox/build soundbox/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Lfdder
imported>Lfdder
 
Line 1: Line 1:
 
<!--
 
<!--
 
  OUTER divbox opening
 
  OUTER divbox opening
−
--><div style="width:{{{width|{{{size|250px}}}}}}; {{{style|}}};"><!--
+
--><div style="width:{{{width|{{{size|}}}}}}; {{{style|}}};"><!--
 
  ABOVE BOX
 
  ABOVE BOX
 
-->{{yesno| {{{show box above|yes}}}<!--
 
-->{{yesno| {{{show box above|yes}}}<!--
Line 20: Line 20:
 
--></div>}}<!-- closing the above divbox and the box's yesno check --><!--
 
--></div>}}<!-- closing the above divbox and the box's yesno check --><!--
 
  PLAYER BOX divbox containing [[File:]] (or errortext)
 
  PLAYER BOX divbox containing [[File:]] (or errortext)
−
--><div style="<!--
+
--><div><!--
−
  -->{{#iferror: {{{soundfile|????}}}<!--
 
−
  -->| height:{{yesno|{{{showicon|yes}}}|yes=55px|no=30px}};}}<!--set height for error
 
−
  -->"><!--
 
 
   -->{{#iferror: {{{soundfile|}}}<!-- then errortext
 
   -->{{#iferror: {{{soundfile|}}}<!-- then errortext
 
       -->|{{yesno|{{{errortext|}}}|¬={{{soundfile|}}}|blank=|def={{{errortext|}}}}}<!--
 
       -->|{{yesno|{{{errortext|}}}|¬={{{soundfile|}}}|blank=|def={{{errortext|}}}}}<!--
Line 31: Line 28:
 
       -->| center<!--
 
       -->| center<!--
 
       -->| {{{size| {{{width|}}} }}}<!--
 
       -->| {{{size| {{{width|}}} }}}<!--
−
      -->{{yesno|{{{showicon|yes}}}|yes=|no={{!}}noicon}}<!--
 
 
   -->]]}}<!-- end of [[File:]] and of the iferror-check
 
   -->]]}}<!-- end of [[File:]] and of the iferror-check
 
--></div><!-- closing the player divbox
 
--></div><!-- closing the player divbox

Latest revision as of 18:58, 10 June 2013


[[File:| center| ]]
50px Template documentation[view] [edit] [history] [purge]

Usage

This is a sub-template of {{IPA soundbox}}.

{{IPA soundbox/build soundbox
| style         =
| errortext     =
| show box above=
| IPAsym name   =
| showsymbol    =
| line-height   =
| font-size     =
| soundfile     =
| showicon      =
| width         =
| size          =
}}

See also