Difference between revisions of "Template:IPA-oc"

From blackwiki
Jump to navigation Jump to search
imported>Kwamikagami
m (Protected Template:IPA-oc: Highly visible template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
imported>CommonsDelinker
m (Replacing Tú.ogg with File:Es-tú.ogg (by ZooFari because: File renamed: Standardized name for pronouncation files.).)
Line 13: Line 13:
  
 
Any of these may be combined with a sound file in an optional third cell:
 
Any of these may be combined with a sound file in an optional third cell:
*<code><nowiki>{{IPA-oc|tu|IPA|.ogg}}</nowiki></code> → {{IPA-oc|tu|IPA|.ogg}}
+
*<code><nowiki>{{IPA-oc|tu|IPA|Es-tú.ogg}}</nowiki></code> → {{IPA-oc|tu|IPA|Es-tú.ogg}}
  
 
For the default lede, however, a placeholder such as ‹-› is required in the second cell:  
 
For the default lede, however, a placeholder such as ‹-› is required in the second cell:  
*<code><nowiki>{{IPA-oc|tu|-|.ogg}}</nowiki></code> → {{IPA-oc|tu|-|.ogg}}
+
*<code><nowiki>{{IPA-oc|tu|-|Es-tú.ogg}}</nowiki></code> → {{IPA-oc|tu|-|Es-tú.ogg}}
  
 
{{usage of IPA templates}}
 
{{usage of IPA templates}}

Revision as of 08:22, 24 September 2010

Occitan pronunciation: [{{{1}}}]

Usage

This template formats IPA transcriptions and links them to WP:IPA for Occitan. The transcription should match the conventions of that key; for narrower dialect transcriptions, use {{IPA-all}}, which links to a more complete IPA key.

The first cell in the template is for the transcription, and a second optional cell is a switch that controls the lede. With no second value, the lede Occitan pronunciation: appears:

  • {{IPA-oc|tu}}Occitan pronunciation: [tu]
  • {{IPA-oc|tu|pron}}pronounced [tu]
  • {{IPA-oc|tu|lang}}Occitan: [tu]
  • {{IPA-oc|tu|IPA}}IPA: [tu]
  • {{IPA-oc|tu|}}[tu]

Any of these may be combined with a sound file in an optional third cell:

  • {{IPA-oc|tu|IPA|Es-tú.ogg}}IPA: [tu]  ( listen)

For the default lede, however, a placeholder such as ‹-› is required in the second cell:

  • {{IPA-oc|tu|-|Es-tú.ogg}}Occitan pronunciation: [tu]  ( listen)

Template:Usage of IPA templates