Difference between revisions of "Template:IPA soundbox/doc"
Jump to navigation
Jump to search
imported>Bgeron m (Fix displayed syntax for example) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | + | 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. | ||
* {{tlx|IPA soundbox|ə}} → {{IPA soundbox|ə}} | * {{tlx|IPA soundbox|ə}} → {{IPA soundbox|ə}} | ||
| − | * {{tlx|IPA soundbox|<nowiki>χ|</nowiki> | + | * {{tlx|IPA soundbox|<nowiki>χ|</nowiki>Voiceless uvular fricative.ogg}} → {{IPA soundbox|χ|Voiceless uvular fricative.ogg}} |
| − | === | + | ===Input options=== |
| − | + | * {{para|label}}: content above the soundbox (the symbol with link if empty) | |
| − | + | * {{para|size|250px}}: width of the entire template | |
| − | + | * {{para|font-size|120%}}: font size of the IPA symbol | |
| − | + | * {{para|line-height|1.5}}: line height of the IPA symbol | |
| + | * {{para|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 === | |
| − | + | * {{tlx|IPA soundbox/cell}} (wrapper template for table cells) | |
| − | |||
| − | |||
| − | |||
| − | == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | * {{tlx|IPA soundbox | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{IPA templates}} | {{IPA templates}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:IPA audio templates]] | [[Category:IPA audio templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 22:04, 25 April 2020
| This is a documentation subpage for Template:IPA soundbox. It contains usage information, categories and other content that is not part of the original template page. |
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:
{{IPA soundbox|ə}}→{{IPA soundbox|χ|Voiceless uvular fricative.ogg}}→
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
{{IPA soundbox/cell}}(wrapper template for table cells)