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

From blackwiki
Jump to navigation Jump to search
imported>Davisonio
imported>Anomalocaris
m ({{IPA soundbox/sandbox}} should not be bulleted)
 
Line 9: Line 9:
 
== Testing Main template ==
 
== Testing Main template ==
 
;all fine:
 
;all fine:
* {{IPA soundbox|m}}
+
{{IPA soundbox|m}}
 
;noinput<br/>
 
;noinput<br/>
* {{IPA soundbox||}}
+
{{IPA soundbox||}}
 
;basic input 1 & 2
 
;basic input 1 & 2
* {{IPA soundbox|| bilabial click.ogg }}
+
{{IPA soundbox|| bilabial click.ogg }}
* {{IPA soundbox| p |}}
+
{{IPA soundbox| p |}}
 
;non existing
 
;non existing
* {{IPA soundbox||soundfile=SomeNonfileName.ogg}}
+
{{IPA soundbox||soundfile=SomeNonfileName.ogg}}
* {{IPA soundbox|ʊ̈  |}}
+
{{IPA soundbox|ʊ̈  |}}
* {{IPA soundbox|xyz|}}
+
{{IPA soundbox|xyz|}}
 
;checkexist=no
 
;checkexist=no
 
<!--
 
<!--
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|checkexist=no}}
+
{{IPA soundbox||soundfile=SomeNonfileName.ogg|checkexist=no}}
* {{IPA soundbox|ʊ̈  ||checkexist=no}}
+
{{IPA soundbox|ʊ̈  ||checkexist=no}}
* {{IPA soundbox|xyz||checkexist=no}}
+
{{IPA soundbox|xyz||checkexist=no}}
 
-->
 
-->
 
;errortext=Free error message
 
;errortext=Free error message
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=Free error message}}
+
{{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=Free error message}}
* {{IPA soundbox|ʊ̈  ||errortext=Free error message}}
+
{{IPA soundbox|ʊ̈  ||errortext=Free error message}}
* {{IPA soundbox|xyz||errortext=Free error message}}
+
{{IPA soundbox|xyz||errortext=Free error message}}
 
;errortext=(blank)
 
;errortext=(blank)
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=}}(eol)
+
{{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=}}(eol)
* {{IPA soundbox|ʊ̈  ||errortext=}}(eol)
+
{{IPA soundbox|ʊ̈  ||errortext=}}(eol)
* {{IPA soundbox|xyz||errortext=}}(eol)
+
{{IPA soundbox|xyz||errortext=}}(eol)
 
;errortext=(error)
 
;errortext=(error)
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}}
+
{{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}}
* {{IPA soundbox|ʊ̈  ||errortext={{error}}}}
+
{{IPA soundbox|ʊ̈  ||errortext={{error}}}}
* {{IPA soundbox|xyz||errortext={{error}}}}
+
{{IPA soundbox|xyz||errortext={{error}}}}
  
 
===Changing layout of the soundbox===
 
===Changing layout of the soundbox===
 
;basic
 
;basic
* {{IPA soundbox||soundfile=bilabial click.ogg }}
+
{{IPA soundbox||soundfile=bilabial click.ogg }}
* {{IPA soundbox|ipa symbol=p|}}
+
{{IPA soundbox|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||soundfile=bilabial click.ogg|showicon=no|location=center|size=100px}}
* {{IPA soundbox|ipa symbol=p|showbox=no}}
+
{{IPA soundbox|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||soundfile=SomeNonfileName.ogg |showicon=no|location=center|size=100px}}
* {{IPA soundbox|ipa symbol=XYZ|showbox=no}}
+
{{IPA soundbox|ipa symbol=XYZ|showbox=no}}
 
;width
 
;width
* {{IPA soundbox||soundfile=SomeNonfileName.ogg |showicon=no|location=center|size=100px}}
+
{{IPA soundbox||soundfile=SomeNonfileName.ogg |showicon=no|location=center|size=100px}}
 
;piping & boxing problems
 
;piping & boxing problems
 
{| border="1"
 
{| border="1"
Line 84: Line 84:
  
 
;noinput<br>
 
;noinput<br>
* {{IPA soundbox/sandbox||}}
+
{{IPA soundbox/sandbox||}}
 
;basic input 1 & 2
 
;basic input 1 & 2
* {{IPA soundbox/sandbox|| bilabial click.ogg |errortext=}}
+
{{IPA soundbox/sandbox|| bilabial click.ogg |errortext=}}
* {{IPA soundbox/sandbox| p |}}
+
{{IPA soundbox/sandbox| p }}
 
 
 
;non existing symbol, file
 
;non existing symbol, file
 
<!--
 
<!--
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg}}
+
{{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg}}
* {{IPA soundbox/sandbox|ʊ̈  |}}
+
{{IPA soundbox/sandbox|ʊ̈  |}}
* {{IPA soundbox/sandbox|xyz|}}
+
{{IPA soundbox/sandbox|xyz|}}
 
;checkexist=no
 
;checkexist=no
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|checkexist=no}}
+
{{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|checkexist=no}}
* {{IPA soundbox/sandbox|ʊ̈  ||checkexist=no}}
+
{{IPA soundbox/sandbox|ʊ̈  ||checkexist=no}}
* {{IPA soundbox/sandbox|xyz||checkexist=no}}
+
{{IPA soundbox/sandbox|xyz||checkexist=no}}
 
;errortext=Free error message
 
;errortext=Free error message
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext=Free error message}}
+
{{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext=Free error message}}
* {{IPA soundbox/sandbox|ʊ̈  ||errortext=Free error message}}
+
{{IPA soundbox/sandbox|ʊ̈  ||errortext=Free error message}}
* {{IPA soundbox/sandbox|xyz||errortext=Free error message}}
+
{{IPA soundbox/sandbox|xyz||errortext=Free error message}}
 
;errortext=(blank)
 
;errortext=(blank)
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext=}}(eol)
+
{{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext=}}(eol)
* {{IPA soundbox/sandbox|ʊ̈  ||errortext=}}(eol)
+
{{IPA soundbox/sandbox|ʊ̈  ||errortext=}}(eol)
* {{IPA soundbox/sandbox|xyz||errortext=}}(eol)
+
{{IPA soundbox/sandbox|xyz||errortext=}}(eol)
 
;errortext=(error)
 
;errortext=(error)
* {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}}
+
{{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}}
* {{IPA soundbox/sandbox|ʊ̈  ||errortext={{error}}}}
+
{{IPA soundbox/sandbox|ʊ̈  ||errortext={{error}}}}
* {{IPA soundbox/sandbox|xyz||errortext={{error}}}}
+
{{IPA soundbox/sandbox|xyz||errortext={{error}}}}
 
-->
 
-->
 
===Changing layout of the soundbox===
 
===Changing layout of the soundbox===
 
{{purge}}
 
{{purge}}
 
;basic
 
;basic
* {{IPA soundbox/sandbox|a|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|a|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|a|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>

Latest revision as of 03:55, 26 December 2017

Testing Main template

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

(eol)

(eol)

xyz

(eol)

errortext=(error)
xyz

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

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.