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

From blackwiki
Jump to navigation Jump to search
imported>Kwamikagami
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(7 intermediate revisions by 5 users not shown)
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 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.).  
+
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''': {{tl|IPAc-en}} for English, and {{tl|IPA-all}} or IPA-xx for other languages, where the 'xx' is replaced with the ISO code for the language ({{tl|IPA-fr}} French, {{tl|IPA-de}} German, {{tl|IPA-es}} Spanish, {{tl|IPA-ru}} Russian, etc.).
  
 
== Usage ==
 
== Usage ==
Line 14: Line 14:
  
 
:Swedish: åka {{Audio-IPA|sv-åka.ogg|[ˈoːka]}}, 'travel', 'go'
 
:Swedish: åka {{Audio-IPA|sv-åka.ogg|[ˈ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:
 
 
<code><nowiki>{{Audio-IPA|name of sound file|IPA notation|lang=Language}}</nowiki></code>
 
  
 
Setting {{para|help|no}} disables the "help/info" links. If this is done the template {{tlx|inline audio}} ''must'' be shown on the page.
 
Setting {{para|help|no}} disables the "help/info" links. If this is done the template {{tlx|inline audio}} ''must'' be shown on the page.
  
 
== See also ==
 
== See also ==
*{{tl|Audio}}, a variant without [[International Phonetic Alphabet|IPA]] notation.
+
{{Audio templates}}
*{{tl|IPA-en}}, {{tl|IPA-all}}, and other IPA templates, which accept audio files and link to keys that explain the IPA.  
+
*{{tl|IPAc-en}}, {{tl|IPA-all}}, and other IPA templates, which accept audio files and link to keys that explain the IPA.  
 
{{IPA templates}}
 
{{IPA templates}}
<includeonly><!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
*[[:Category:Pages including recorded pronunciations]] – added by this template
  
{{DEFAULTSORT:{{PAGENAME}}}}
+
<includeonly>{{Sandbox other||<!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
[[Category:IPA audio templates]]
 
[[Category:IPA audio templates]]
 
+
[[Category:Templates that add a tracking category]]
[[ar:قالب:Audio-IPA]]
+
}}</includeonly>
[[de:Vorlage:Audio-IPA]]
 
[[fa:الگو:Audio-IPA]]
 
[[ko:틀:소리-IPA]]
 
[[ja:Template:Audio-IPA]]
 
[[no:Mal:IPAudio]]
 
[[pt:Predefinição:Áudio-AFI]]
 
[[ru:Шаблон:Audio-IPA]]
 
[[sl:Predloga:Avdio-IPA]]
 
[[sr:Шаблон:Audio-IPA]]
 
[[uk:Шаблон:Audio-IPA]]
 
[[zh:Template:Audio-IPA]]
 
</includeonly>
 

Latest revision as of 23:23, 23 April 2020

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: {{IPAc-en}} for English, and {{IPA-all}} or IPA-xx for other languages, where the 'xx' is replaced with the ISO code for the language ({{IPA-fr}} French, {{IPA-de}} German, {{IPA-es}} Spanish, {{IPA-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'

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

See also