Difference between revisions of "Template:IPA vowels/doc"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Uses TemplateStyles|Template:IPA common/styles.css|Template:IPA vowels/styles.css}}
+
{{Uses TemplateStyles|Template:IPA common/styles.css|Template:
  
'''Customized usage'''
 
* <code><nowiki>{{IPA vowels|audio=yes}}</nowiki></code> – shows audio samples ([[IPA vowel chart with audio|view]])
 
* <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|caption=}}</nowiki></code> – hides the main frame (or enter a preferred caption after <code>=</code>)
 
* <code><nowiki>{{IPA vowels|notes=no}}</nowiki></code> – hides the footnotes
 
* <code><nowiki>{{IPA vowels|class=mw-collapsible}}</nowiki></code> – appears collapsible
 
* <code><nowiki>{{IPA vowels|class=mw-collapsible mw-collapsed}}</nowiki></code> – appears collapsed
 
  
''When editing this template, make sure it works not just by itself but also in {{tl|IPA navigation}} and with the options above.''
 
 
{{IPA templates}}
 
 
{{collapse top|TemplateData}}
 
<templatedata>
 
{
 
"params": {
 
"class": {
 
"description": "If \"infobox\", floats to the right",
 
"example": "infobox",
 
"type": "string",
 
"suggested": true
 
},
 
"audio": {
 
"description": "If \"yes\", includes audio samples",
 
"example": "yes",
 
"type": "string"
 
},
 
"caption": {},
 
"tableclass": {},
 
"tablestyle": {},
 
"notes": {
 
"description": "if 'no', hides the footnotes",
 
"example": "no",
 
"type": "string"
 
},
 
"style": {},
 
"captionstyle": {}
 
},
 
 
"description": "Transcludes a box of the IPA vowels. Can be made a side-floating infobox or include audio samples.",
 
"description": "Transcludes a box of the IPA vowels. Can be made a side-floating infobox or include audio samples.",
 
"format": "{{_|_=_}}\n"
 
"format": "{{_|_=_}}\n"

Revision as of 01:53, 10 May 2019

{{Uses TemplateStyles|Template:IPA common/styles.css|Template:


"description": "Transcludes a box of the IPA vowels. Can be made a side-floating infobox or include audio samples.", "format": "{{_|_=_}}\n" } </templatedata>

|}