Z Minecraft Wiki
Přejít na: navigace, hledání
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

Purpose[editovat zdroj]

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[editovat zdroj]

{{Audio|<name of sound file>|<text to use as link to soundfile>}}
About this sound text to use as link to soundfile
'''Elytra''' ({{Audio|ElytraPronunciation.ogg|/ˈɛl ɪ trə/}}) are an item that allows the player to glide...
Elytra (About this sound /ˈɛl ɪ trə/) are an item that allows the player to glide...
'''Elytra''' ({{Audio|ElytraPronunciation.ogg|Pronunciation of "Elytra"}})
Elytra (About this sound 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 (About this sound /ˈɛ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 (About this sound ᴇʟ-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 (About this sound /ˈɛl ɪ trə/ (IPA key) ᴇʟ-i-trə (respell key))