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

From blackwiki
Jump to navigation Jump to search
imported>Sorakara023
(add ja)
imported>Nardog
m (→‎Usage: fixing links to IPA key pages using AWB)
Line 3: Line 3:
  
 
==Usage==
 
==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 {{tl|IPA-all}}, which links to a more complete IPA key.  
+
This template formats IPA transcriptions and links them to [[Help:IPA/Occitan]]. The transcription should match the conventions of that key; for narrower dialect transcriptions, use {{tl|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:  
 
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:  

Revision as of 16:59, 5 August 2017

Usage

This template formats IPA transcriptions and links them to Help:IPA/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] (About this soundlisten)

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

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

Template:Usage of IPA templates