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

From blackwiki
Jump to navigation Jump to search
imported>ساجد امجد ساجد
imported>Kwamikagami
m (→‎Usage: move cat using AWB)
Line 24: Line 24:
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
  
[[Category:IPA templates|{{PAGENAME}}]]
+
[[Category:IPA language templates|{{PAGENAME}}]]
  
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --><noinclude>
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --><noinclude>

Revision as of 07:00, 8 July 2012

Usage

This template formats IPA transcriptions and links them to WP:IPA for French. 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 French pronunciation: appears:

  • {{IPA-fr|o}}French pronunciation: ​[o]
  • {{IPA-fr|o|pron}}pronounced [o]
  • {{IPA-fr|o|lang}}French: [o]
  • {{IPA-fr|o|IPA}}IPA: [o]
  • {{IPA-fr|o|local}}locally [o]
  • {{IPA-fr|o|}}[o]

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

  • {{IPA-fr|o|IPA|Fr-eau.ogg}}IPA: [o] (Audio file "Fr-eau.ogg" not found)

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

  • {{IPA-fr|o|-|Fr-eau.ogg}}French pronunciation: [o] (Audio file "Fr-eau.ogg" not found)

Template:Usage of IPA templates