Difference between revisions of "Template:IPA vowels/doc"
Jump to navigation
Jump to search
imported>Nardog |
imported>Nardog (proscribe infobox) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 5: | Line 5: | ||
'''Customized usage''' | '''Customized usage''' | ||
* <code><nowiki>{{IPA vowels|audio=yes}}</nowiki></code> – shows audio samples ([[IPA vowel chart with audio|view]]) | * <code><nowiki>{{IPA vowels|audio=yes}}</nowiki></code> – shows audio samples ([[IPA vowel chart with audio|view]]) | ||
| − | * <code><nowiki>{{IPA vowels|class= | + | * <code><nowiki>{{IPA vowels|class=floatright}}</nowiki></code> – floats to the right |
* <code><nowiki>{{IPA vowels|style=margin: auto;}}</nowiki></code> – appears centered | * <code><nowiki>{{IPA vowels|style=margin: auto;}}</nowiki></code> – appears centered | ||
* <code><nowiki>{{IPA vowels|caption=}}</nowiki></code> – hides the main frame (or enter a preferred caption after <code>=</code>) | * <code><nowiki>{{IPA vowels|caption=}}</nowiki></code> – hides the main frame (or enter a preferred caption after <code>=</code>) | ||
| Line 21: | Line 21: | ||
"params": { | "params": { | ||
"class": { | "class": { | ||
| − | "description": "If \" | + | "description": "If \"floatright\", floats to the right", |
| − | "example": " | + | "example": "floatright", |
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
| Line 42: | Line 42: | ||
"captionstyle": {} | "captionstyle": {} | ||
}, | }, | ||
| − | "description": "Transcludes a box of the IPA vowels. Can be made a side-floating | + | "description": "Transcludes a box of the IPA vowels. Can be made a side-floating box or include audio samples.", |
"format": "{{_|_=_}}\n" | "format": "{{_|_=_}}\n" | ||
} | } | ||
Latest revision as of 08:55, 17 July 2020
| This is a documentation subpage for Template:IPA vowels. It contains usage information, categories and other content that is not part of the original template page. |
Script error: No such module "Uses TemplateStyles".
Customized usage
{{IPA vowels|audio=yes}}– shows audio samples (view){{IPA vowels|class=floatright}}– floats to the right{{IPA vowels|style=margin: auto;}}– appears centered{{IPA vowels|caption=}}– hides the main frame (or enter a preferred caption after=){{IPA vowels|notes=no}}– hides the footnotes{{IPA vowels|class=mw-collapsible}}– appears collapsible{{IPA vowels|class=mw-collapsible mw-collapsed}}– appears collapsed
When editing this template, make sure it works not just by itself but also in {{IPA navigation}} and with the options above.
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Transcludes a box of the IPA vowels. Can be made a side-floating box or include audio samples.
| |||||||||||||||||||||||||||||||||||||||||||||