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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 81: Line 81:
 
* {{IPA soundbox/sandbox||}}
 
* {{IPA soundbox/sandbox||}}
 
;basic input 1 & 2
 
;basic input 1 & 2
* {{IPA soundbox/sandbox|| bilabial click.ogg }}
+
* {{IPA soundbox/sandbox|| bilabial click.ogg |errortext=}}
 
* {{IPA soundbox/sandbox| p |}}
 
* {{IPA soundbox/sandbox| p |}}
  
Line 108: Line 108:
 
{{purge}}
 
{{purge}}
 
;basic
 
;basic
* {{IPA soundbox/sandbox||soundfile=bilabial click.ogg }}
+
* {{IPA soundbox/sandbox|a|soundfile=bilabial click.ogg }}
 
* {{IPA soundbox/sandbox|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/sandbox||soundfile=bilabial click.ogg|showicon=no|location=center|size=100px}}
+
* {{IPA soundbox/sandbox|a|soundfile=bilabial click.ogg|showicon=no|location=center|size=100px}}
 
* {{IPA soundbox/sandbox|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/sandbox||soundfile=SomeNonfileName.ogg|showicon=no|location=center|size=100px}}
+
* {{IPA soundbox/sandbox|a|soundfile=SomeNonfileName.ogg|showicon=no|location=center|size=100px}}
 
* {{IPA soundbox/sandbox|ipa symbol=XYZ|showbox=no}}
 
* {{IPA soundbox/sandbox|ipa symbol=XYZ|showbox=no}}
 
;piping & boxing problems
 
;piping & boxing problems
 
straight File:-box:[[File:bilabial click.ogg]]<br>
 
straight File:-box:[[File:bilabial click.ogg]]<br>
{{IPA soundbox/sandbox||soundfile=bilabial click.ogg}}
+
{{IPA soundbox/sandbox|a|soundfile=bilabial click.ogg}}
 
{| border="1"
 
{| border="1"
 
|+ ABC
 
|+ ABC
 
|-
 
|-
| {{IPA soundbox/sandbox||soundfile=bilabial click.ogg|showicon=yes}}
+
| {{IPA soundbox/sandbox|a|soundfile=bilabial click.ogg|showicon=yes}}
 
|}
 
|}
 
{| border="1"
 
{| border="1"
 
|+ PQR
 
|+ PQR
 
|-
 
|-
| {{IPA soundbox/sandbox||soundfile=bilabial click.ogg|showicon=no}}
+
| {{IPA soundbox/sandbox|a|soundfile=bilabial click.ogg|showicon=no}}
 
|}
 
|}
 
{| border="1"
 
{| border="1"
 
|+ w50
 
|+ w50
 
|-
 
|-
| {{IPA soundbox/sandbox||soundfile=bilabial click.ogg|showicon=yes|size=50px}}
+
| {{IPA soundbox/sandbox|a|soundfile=bilabial click.ogg|showicon=yes|size=50px}}
 
|}
 
|}
 
{| border="1"
 
{| border="1"
 
|+ w50
 
|+ w50
 
|-
 
|-
| {{IPA soundbox/sandbox||soundfile=bilabial click.ogg|showicon=no|size=50px}}
+
| {{IPA soundbox/sandbox|a|soundfile=bilabial click.ogg|showicon=no|size=50px}}
 
|}
 
|}
 
{| border="1"
 
{| border="1"

Revision as of 16:12, 8 August 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}}}
width
piping & boxing problems
ABC
PQR
w50
w50
DEF
abc

Testing /Sandbox template

Script error: No such module "Purge". {{IPA soundbox}}

{{{1}}}

-->

noinput
  • Lua error in package.lua at line 80: module 'Module:Side box' not found.
basic input 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 symbol, file
  • 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

Script error: No such module "Purge".

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.
piping & boxing problems

straight File:-box:File:Bilabial click.ogg
Lua error in package.lua at line 80: module 'Module:Side box' not found.

ABC
Lua error in package.lua at line 80: module 'Module:Side box' not found.
PQR
Lua error in package.lua at line 80: module 'Module:Side box' not found.
w50
Lua error in package.lua at line 80: module 'Module:Side box' not found.
w50
Lua error in package.lua at line 80: module 'Module:Side box' not found.
DEF
Lua error in package.lua at line 80: module 'Module:Side box' not found.