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

From blackwiki
Jump to navigation Jump to search
imported>Nardog
imported>Nardog
Line 3: Line 3:
 
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:
 
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:
 
* {{tlx|IPA soundbox|ə}} → {{IPA soundbox|ə}}
 
* {{tlx|IPA soundbox|ə}} → {{IPA soundbox|ə}}
* {{tlx|IPA soundbox|<nowiki>χ|</nowiki>Voiceless_uvular_fricative.ogg}} → {{IPA soundbox|χ|Voiceless_uvular_fricative.ogg}}
+
* {{tlx|IPA soundbox|<nowiki>χ|</nowiki>Voiceless uvularfricative.ogg}} → {{IPA soundbox|χ|Voiceless_uvular_fricative.ogg}}
  
 
====Input options====
 
====Input options====
Line 13: Line 13:
  
 
=== See also ===
 
=== See also ===
* {{tlx|infobox IPA}} (uses this template internally)
 
 
* {{tlx|IPA vowels audio}} (uses this template internally)
 
* {{tlx|IPA vowels audio}} (uses this template internally)
 
* {{tlx|IPA pulmonics audio}} (uses this template internally)
 
* {{tlx|IPA pulmonics audio}} (uses this template internally)
* [[Wikipedia:Extended image syntax]]
 
 
{{IPA templates}}
 
{{IPA templates}}
  

Revision as of 07:11, 26 May 2017

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

  • |size=250px: width of the entire template
  • |font-size=120%: font size of the IPA symbol
  • |line-height=1.5em: line height of the IPA symbol

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