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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 1: Line 1:
 
{{template test cases notice}}
 
{{template test cases notice}}
 
+
<!--== Testing sandbox version ==
== Testing sandbox version ==
 
 
 
 
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox}}</nowiki></code>
 
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox}}</nowiki></code>
 
 
{{{{BASEPAGENAME}}/sandbox}}
 
{{{{BASEPAGENAME}}/sandbox}}
 
 
{{clear}}
 
{{clear}}
 +
== Testing main template ==
 +
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code>
 +
{{ {{BASEPAGENAME}} }}-->
 +
===Producing the Soundbox===
 +
;noinput<br/>
 +
* {{IPA soundbox||}}
 +
;basic input 1 & 2
 +
* {{IPA soundbox|| bilabial click.ogg }}
 +
* {{IPA soundbox| p |}}
 +
;non existing
 +
* {{IPA soundbox||soundfile=SomeNonfileName.ogg}}
 +
* {{IPA soundbox|ʊ̈  |}}
 +
* {{IPA soundbox|xyz|}}
 +
;checkexist=no
 +
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|checkexist=no}}
 +
* {{IPA soundbox|ʊ̈  ||checkexist=no}}
 +
* {{IPA soundbox|xyz||checkexist=no}}
 +
;errortext=Free error message
 +
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=Free error message}}
 +
* {{IPA soundbox|ʊ̈  ||errortext=Free error message}}
 +
* {{IPA soundbox|xyz||errortext=Free error message}}
 +
;errortext=(blank)
 +
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=}}(eol)
 +
* {{IPA soundbox|ʊ̈  ||errortext=}}(eol)
 +
* {{IPA soundbox|xyz||errortext=}}(eol)
 +
;errortext=(error)
 +
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}}
 +
* {{IPA soundbox|ʊ̈  ||errortext={{error}}}}
 +
* {{IPA soundbox|xyz||errortext={{error}}}}
  
== Testing main template ==
+
===Changing layout of the soundbox===
 +
;basic
 +
* {{IPA soundbox||soundfile=bilabial click.ogg }}
 +
* {{IPA soundbox|ipa symbol=p|}}
 +
;using the options (location, size, noicon/showicon)
 +
* {{IPA soundbox||soundfile=bilabial click.ogg|showicon=no|location=center|size=100px}}
 +
* {{IPA soundbox|ipa symbol=p|showbox=no}}
 +
;options while error (error overrules, no effects at all)
 +
* {{IPA soundbox||soundfile=SomeNonfileName.ogg |showicon=no|location=center|size=100px}}
 +
* {{IPA soundbox|ipa symbol=XYZ|showbox=no}}
  
 +
== Testing /Sandbox template ==
 
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code>
 
<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code>
 
+
{{ {{BASEPAGENAME}} }}-->
{{ {{BASEPAGENAME}} }}
 
 
===Producing the Soundbox===
 
===Producing the Soundbox===
 
;noinput
 
;noinput
Line 34: Line 68:
 
* {{IPA soundbox|xyz||errortext=Free error message}}
 
* {{IPA soundbox|xyz||errortext=Free error message}}
 
;errortext=(blank)
 
;errortext=(blank)
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=}}
+
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=}}(eol)
* {{IPA soundbox|ʊ̈  ||errortext=}}
+
* {{IPA soundbox|ʊ̈  ||errortext=}}(eol)
* {{IPA soundbox|xyz||errortext=}}
+
* {{IPA soundbox|xyz||errortext=}}(eol)
 
;errortext=(error)
 
;errortext=(error)
 
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}}
 
* {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}}

Revision as of 14:46, 13 July 2011

Producing the Soundbox

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
basic 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}}}