Difference between revisions of "Template:IPA soundbox/testcases"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 50: Line 50:
 
===Producing the Soundbox===
 
===Producing the Soundbox===
 
;noinput
 
;noinput
* {{IPA soundbox||}}
+
* {{IPA soundbox/sandbox||}}
 
;basic 1 & 2
 
;basic 1 & 2
* {{IPA soundbox|| bilabial click.ogg }}
+
* {{IPA soundbox/sandbox|| bilabial click.ogg }}
* {{IPA soundbox| p |}}
+
* {{IPA soundbox/sandbox| p |}}
  
 
;non existing
 
;non existing
* {{IPA soundbox||soundfile=SomeNonfileName.ogg}}
+
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg}}
* {{IPA soundbox|ʊ̈  |}}
+
* {{IPA soundbox/sandbox|ʊ̈  |}}
* {{IPA soundbox|xyz|}}
+
* {{IPA soundbox/sandbox|xyz|}}
 
;checkexist=no
 
;checkexist=no
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|checkexist=no}}
+
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|checkexist=no}}
* {{IPA soundbox|ʊ̈  ||checkexist=no}}
+
* {{IPA soundbox/sandbox|ʊ̈  ||checkexist=no}}
* {{IPA soundbox|xyz||checkexist=no}}
+
* {{IPA soundbox/sandbox|xyz||checkexist=no}}
 
;errortext=Free error message
 
;errortext=Free error message
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=Free error message}}
+
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext=Free error message}}
* {{IPA soundbox|ʊ̈  ||errortext=Free error message}}
+
* {{IPA soundbox/sandbox|ʊ̈  ||errortext=Free error message}}
* {{IPA soundbox|xyz||errortext=Free error message}}
+
* {{IPA soundbox/sandbox|xyz||errortext=Free error message}}
 
;errortext=(blank)
 
;errortext=(blank)
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=}}(eol)
+
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext=}}(eol)
* {{IPA soundbox|ʊ̈  ||errortext=}}(eol)
+
* {{IPA soundbox/sandbox|ʊ̈  ||errortext=}}(eol)
* {{IPA soundbox|xyz||errortext=}}(eol)
+
* {{IPA soundbox/sandbox|xyz||errortext=}}(eol)
 
;errortext=(error)
 
;errortext=(error)
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}}
+
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}}
* {{IPA soundbox|ʊ̈  ||errortext={{error}}}}
+
* {{IPA soundbox/sandbox|ʊ̈  ||errortext={{error}}}}
* {{IPA soundbox|xyz||errortext={{error}}}}
+
* {{IPA soundbox/sandbox|xyz||errortext={{error}}}}
  
 
===Changing layout of the soundbox===
 
===Changing layout of the soundbox===
 
;basic
 
;basic
* {{IPA soundbox||soundfile=bilabial click.ogg }}
+
* {{IPA soundbox/sandbox||soundfile=bilabial click.ogg }}
* {{IPA soundbox|ipa symbol=p|}}
+
* {{IPA soundbox/sandbox|ipa symbol=p|}}
 
;using the options (location, size, noicon/showicon)
 
;using the options (location, size, noicon/showicon)
* {{IPA soundbox||soundfile=bilabial click.ogg|showicon=no|location=center|size=100px}}
+
* {{IPA soundbox/sandbox||soundfile=bilabial click.ogg|showicon=no|location=center|size=100px}}
* {{IPA soundbox|ipa symbol=p|showbox=no}}
+
* {{IPA soundbox/sandbox|ipa symbol=p|showbox=no}}
 
;options while error (error overrules, no effects at all)
 
;options while error (error overrules, no effects at all)
* {{IPA soundbox||soundfile=SomeNonfileName.ogg |showicon=no|location=center|size=100px}}
+
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg |showicon=no|location=center|size=100px}}
* {{IPA soundbox|ipa symbol=XYZ|showbox=no}}
+
* {{IPA soundbox/sandbox|ipa symbol=XYZ|showbox=no}}

Revision as of 14:47, 13 July 2011

Testing Main template

noinput
basic input 1 & 2
non existing
checkexist=no
errortext=Free error message
errortext=(blank)
  • (eol)
  • (eol)
  • xyz
    (eol)
errortext=(error)

Changing layout of the soundbox

basic
using the options (location, size, noicon/showicon)
  • {{{1}}}
options while error (error overrules, no effects at all)
  • {{{1}}}

Testing /Sandbox template

{{IPA soundbox}}

{{{1}}}

-->

Producing the Soundbox

noinput
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
basic 1 & 2
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
non existing
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
checkexist=no
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
errortext=Free error message
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
errortext=(blank)
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.(eol)
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.(eol)
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.(eol)
errortext=(error)
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.

Changing layout of the soundbox

basic
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
using the options (location, size, noicon/showicon)
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
options while error (error overrules, no effects at all)
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.