Template:Listen/doc

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Description
This template can be placed next to terms that may be difficult to pronounce. It should contain a link to an audio file of the correct pronunciation.
Usage
This template has one mandatory parameter, and that is the name of the audio file, including the "File:" namespace prefix, excluding the square brackets. For example:

{{Listen|File:En us Derek Vijayakar.ogg}}

Produces:

( Listen)

There is one optional parameter, which is the direct URL to the file itself, skipping the intermediary of the file page.
To find this URL, go to the file page and click the raw name of the file just under the audio file player. Only the OGG file should be visible on screen. Copy and paste the URL of that page into the parameter "url". You may remove the "?cb=<numbers here>" part of the URL, since it is not needed.
For example:

{{Listen|File:En us Derek Vijayakar.ogg|url=http://vignette4.wikia.nocookie.net/sims/images/d/df/En_us_Derek_Vijayakar.ogg/revision/latest}}

Produces:

( Listen)