Difference between revisions of "Template:Audio-IPA/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
m (+template:IPA templates)
imported>Kwamikagami
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
This template links to an audio file for quick listening.  It is meant to be used inline with text, for pronunciations and the like.
+
This template links to an audio file for quick listening.  It is meant to be used inline with text where there is no need to further explain the IPA, as in a phonology article. When the article does not explain the IPA, a dedicated IPA template should be used: IPA-en for English, and IPA-xx for other languages, where the 'xx' is replaced with the ISO code for the language (fr French, de German, es Spanish, ru Russian, etc.).  
  
 
== Usage ==
 
== Usage ==

Revision as of 01:15, 12 September 2011

This template links to an audio file for quick listening. It is meant to be used inline with text where there is no need to further explain the IPA, as in a phonology article. When the article does not explain the IPA, a dedicated IPA template should be used: IPA-en for English, and IPA-xx for other languages, where the 'xx' is replaced with the ISO code for the language (fr French, de German, es Spanish, ru Russian, etc.).

Usage

{{Audio-IPA|name of sound file|IPA notation}}

Example:

Swedish: åka {{Audio-IPA|sv-åka.ogg|[ˈoːka]}}, 'travel', 'go'

gives this:

Swedish: åka About this sound[ˈoːka] , 'travel', 'go'

If you include a lang parameter, it will specify which subcategory of Category:Articles including recorded pronunciations to place the article in, as in:

{{Audio-IPA|name of sound file|IPA notation|lang=Language}}

Setting |help=no disables the "help/info" links. If this is done the template {{inline audio}} must be shown on the page.

See also

  • {{Audio}}, a variant without IPA notation.
  • {{IPA-en}}, {{IPA-all}}, and other IPA templates, which accept audio files and link to keys that explain the IPA.