Шаблон:Аудио
[[:Media:|]]
Содржина |
[уреди] Намена
This template links to an audio file for quick listening. It is meant to be used inline with text, for pronunciations and the like.
[уреди] Начин на користење
{{Audio|име на аудио датотека|текст кој се користи за врска до аудио датотеката}}
Пример:
'''Бордо''' ({{Audio|Fr-Bordeaux.ogg|изговор}}) е [[пристаниште|пристаништен]] град во...
ќе го даде следново:
- Бордо (изговор ) е пристаништен град во...
Напоменуваме дека при печатење ќе биде тргнато "помош·инфо" текстот при што ќе се добие:
- Бордо (изговор ) е пристаништен град во...
[уреди] Користење на останати викија
Ова е еден од неколкуте шаблони кои се користат со CSS за форматирање, за разлика од т.н. inline форматирани шаблони. Значи нема да функционираат на оние викија доколку не се копира и шаблонот и CSS правилата.
This particular template depends on the "audiolink" css class to add the loudspeaker icon as a background image for the link, which allows it to be clicked and go to the same link destination instead of the image's description page.
These CSS rules are in MediaWiki:Common.css (the part that starts with .audiolink a {). You will need to get an administrator on your local wiki to add the rules to your site's CSS. (Likewise, tweaking the size and placement of the icon is done by changing the CSS; not the template itself.)
[уреди] Види исто така
- Template:Audio-nohelp (talk, backlinks, edit), a variant of this template with no help links.
- Template:Audio-IPA (talk, backlinks, edit), a variant of this template to be used with IPA notation.
- Template:Audio-IPA-nohelp (talk, backlinks, edit), a variant with no help links.
- Template:Audio-pipe (talk, backlinks, edit), a variant linking to a soundfile and an article, showing a display text
- Template:Spoken (talk, backlinks, edit), which adds only the small icon with no links.
- Template:Listen (talk, backlinks, edit), which sets an audio clip off from the main text.
- Template:Audio-sspan (talk, backlinks, edit), puts a text description and the media link into two separate spans that are floated left and right, respectively. Useful within table cells.mk:Шаблон:Аудио
