साचा:ध्वनी
[[: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.
वापर
[संपादन]{{ध्वनी|name of sound file|text to use as link to soundfile}}
उदाहरण:
'''Bordeaux''' ({{ध्वनी||उच्चार}}) is a [[Seaport|port]] city in...
gives this:
Note that a printout of the page will remove the "help·info" bit and give:
- Bordeaux ( ) is a port city in...
इतर विकिंवर वापरताना
[संपादन]This is one of several templates that use CSS to format the template instead of containing all the formatting inline. It will not work on another wiki unless you copy both the template and the CSS rules.
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.)
हे पाहा
[संपादन]- {{ध्वनी-मदतीविना}}, a variant of this template with no help links.
- {{ध्वनी-आयपीए}}, a variant of this template to be used with IPA notation.
- {{ध्वनी-आयपीए-मदतीविना}}, a variant with no help links.
- {{ध्वनी-pipe}}, a variant linking to a soundfile and an article, showing a display text
- {{उच्चार}}, which adds only the small icon with no links.
- {{ऐका}}, which sets an audio clip off from the main text.