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

From blackwiki
Jump to navigation Jump to search
imported>Gangster8192
m (Reverted edits by 2001:56A:7725:F000:19C9:DA76:227:CA1D (talk): unexplained content removal (HG) (3.4.8))
imported>Nardog
(proscribe infobox)
 
Line 21: Line 21:
 
"params": {
 
"params": {
 
"class": {
 
"class": {
"description": "If \"infobox\", floats to the right",
+
"description": "If \"floatright\", floats to the right",
"example": "infobox",
+
"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 infobox or include audio samples.",
+
"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

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.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Classclass

If "floatright", floats to the right

Example
floatright
Stringsuggested
Audioaudio

If "yes", includes audio samples

Example
yes
Stringoptional
Captioncaption

no description

Unknownoptional
Tableclasstableclass

no description

Unknownoptional
Tablestyletablestyle

no description

Unknownoptional
Notesnotes

if 'no', hides the footnotes

Example
no
Stringoptional
Stylestyle

no description

Unknownoptional
Captionstylecaptionstyle

no description

Unknownoptional