Template:Audio
Jump to navigation
Jump to search
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
Template:Documentation header
Purpose
This template links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like. Please note that this just creates a link to the file and does not actually embed the file.
Pages with this category are added to Category:Articles with inline audio links.
Usage
- Basic
{{Audio|<name of sound file>|<text to use as link to soundfile>}}
- → text to use as link to soundfile
- Simple
'''Elytra''' ({{Audio|ElytraPronunciation.ogg|/ˈɛl ɪ trə/}}) are an item that allows the player to glide...
- → Elytra ( /ˈɛl ɪ trə/) are an item that allows the player to glide...
- Variant
'''Elytra''' ({{Audio|ElytraPronunciation.ogg|Pronunciation of "Elytra"}})
- → Elytra ( Pronunciation of "Elytra")
- Help links
Setting ipahelp=yes
displays a link to https://en.wikipedia.org/wiki/Help:IPA.
'''Elytra''' ({{Audio|ElytraPronunciation.ogg|/ˈɛl ɪ trə/|ipahelp=yes}})
- → Elytra ( /ˈɛl ɪ trə/ (IPA key))
Setting respellhelp=yes
displays a link to https://en.wikipedia.org/wiki/Help:Pronunciation_respelling_key.
'''Elytra''' ({{Audio|ElytraPronunciation.ogg|'''''ᴇʟ'''-i-trə''|respellhelp=yes}})
- → Elytra ( ᴇʟ-i-trə (respell key))
- Second link to the sound file
Setting link2
displays a second link to the sound file.
'''Elytra''' ({{Audio|ElytraPronunciation.ogg|/ˈɛl ɪ trə/|link2='''''ᴇʟ'''-i-trə''|ipahelp=yes|respellhelp=yes}})
- → Elytra ( /ˈɛl ɪ trə/ (IPA key) ᴇʟ-i-trə (respell key))