Difference between revisions of "Template:IPA soundbox/testcases"
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}}}} | ||
| − | == | + | ===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
| 42px | 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
Producing the Soundbox
- noinput
- basic input 1 & 2
- non existing
- xyz
- checkexist=no
- xyz
- errortext=Free error message
- xyz
- errortext=(blank)
- (eol)
- (eol)
- (eol)xyz
- 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}}}
Testing /Sandbox template
{{IPA soundbox}}
{{{1}}}
-->
Producing the Soundbox
- noinput
- basic 1 & 2
- non existing
- xyz
- checkexist=no
- xyz
- errortext=Free error message
- xyz
- errortext=(blank)
- (eol)
- (eol)
- (eol)xyz
- 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}}}