Difference between revisions of "Template:IPA soundbox/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Lfdder
imported>Nardog
 
Line 1: Line 1:
 
{{listen
 
{{listen
|filename = {{IPA symbol/sandbox|{{{ipa symbol|{{{1}}}}}}|output=soundfile}}
+
|filename = {{IPA symbol/sandbox|{{{ipa symbol|{{{1}}}}}}|output=audio}}
 
|title    = {{{showsymbol|{{IPA|{{{ipa symbol|{{{1}}}}}}}}}}}
 
|title    = {{{showsymbol|{{IPA|{{{ipa symbol|{{{1}}}}}}}}}}}
 
|plain    = {{{plain|yes}}}
 
|plain    = {{{plain|yes}}}

Latest revision as of 01:20, 31 January 2019

Lua error in package.lua at line 80: module 'Module:Side box' not found.

50px Template documentation[view] [edit] [history] [purge]

This template produces a standard box to start a sound file. It has some extra features to help linking to a phonetic sound file. When the audio file is not specified, the file based on the symbol will be fetched from Module:IPA symbol/data. Basic examples:

Input options

  • |label=: content above the soundbox (the symbol with link if empty)
  • |size=250px: width of the entire template
  • |font-size=120%: font size of the IPA symbol
  • |line-height=1.5: line height of the IPA symbol
  • |hidecc=yes: hides the CC (closed captions) button

If the audio file doesn't exist, the symbol will still be shown but the template will categorize the page into Category:IPA pages with non-existing IPA audio soundfile.

See also