Difference between revisions of "Template:IPA soundbox/testcases"
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}} | |
;noinput<br/> | ;noinput<br/> | ||
| − | + | {{IPA soundbox||}} | |
;basic input 1 & 2 | ;basic input 1 & 2 | ||
| − | + | {{IPA soundbox|| bilabial click.ogg }} | |
| − | + | {{IPA soundbox| p |}} | |
;non existing | ;non existing | ||
| − | + | {{IPA soundbox||soundfile=SomeNonfileName.ogg}} | |
| − | + | {{IPA soundbox|ʊ̈ |}} | |
| − | + | {{IPA soundbox|xyz|}} | |
;checkexist=no | ;checkexist=no | ||
<!-- | <!-- | ||
| − | + | {{IPA soundbox||soundfile=SomeNonfileName.ogg|checkexist=no}} | |
| − | + | {{IPA soundbox|ʊ̈ ||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|ʊ̈ ||errortext=Free error message}} | |
| − | + | {{IPA soundbox|xyz||errortext=Free error message}} | |
;errortext=(blank) | ;errortext=(blank) | ||
| − | + | {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext=}}(eol) | |
| − | + | {{IPA soundbox|ʊ̈ ||errortext=}}(eol) | |
| − | + | {{IPA soundbox|xyz||errortext=}}(eol) | |
;errortext=(error) | ;errortext=(error) | ||
| − | + | {{IPA soundbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}} | |
| − | + | {{IPA soundbox|ʊ̈ ||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|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|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|ipa symbol=XYZ|showbox=no}} | |
;width | ;width | ||
| − | + | {{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||}} | |
;basic input 1 & 2 | ;basic input 1 & 2 | ||
| − | + | {{IPA soundbox/sandbox|| bilabial click.ogg |errortext=}} | |
| − | + | {{IPA soundbox/sandbox| p }} | |
| − | |||
;non existing symbol, file | ;non existing symbol, file | ||
<!-- | <!-- | ||
| − | + | {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg}} | |
| − | + | {{IPA soundbox/sandbox|ʊ̈ |}} | |
| − | + | {{IPA soundbox/sandbox|xyz|}} | |
;checkexist=no | ;checkexist=no | ||
| − | + | {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|checkexist=no}} | |
| − | + | {{IPA soundbox/sandbox|ʊ̈ ||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|ʊ̈ ||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|ʊ̈ ||errortext=}}(eol) | |
| − | + | {{IPA soundbox/sandbox|xyz||errortext=}}(eol) | |
;errortext=(error) | ;errortext=(error) | ||
| − | + | {{IPA soundbox/sandbox||soundfile=SomeNonfileName.ogg|errortext={{error}}}} | |
| − | + | {{IPA soundbox/sandbox|ʊ̈ ||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|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|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|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
| This is the template test cases page for the sandbox of Template:IPA soundbox. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Testing Main template
- all fine
- noinput
- basic input 1 & 2
- non existing
- checkexist=no
- errortext=Free error message
- errortext=(blank)
(eol)
(eol)
(eol)
- errortext=(error)
Changing layout of the soundbox
- basic
- using the options (location, size, noicon/showicon)
- options while error (error overrules, no effects at all)
- width
- piping & boxing problems
abc |
Testing /Sandbox template
Script error: No such module "Purge".
{{IPA soundbox}}
-->
- 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.
| 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. |
| 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. |