Template:IPA-ht/doc

From blackwiki
< Template:IPA-ht
Revision as of 22:07, 25 April 2020 by imported>Vanisaac (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template formats IPA transcriptions and links them to Help:IPA/Haitian Creole. 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 Haitian Creole pronunciation: appears:

  • {{IPA-ht|o}} → Haitian Creole pronunciation: [o]
  • {{IPA-ht|o|pron}} → pronounced [o]
  • {{IPA-ht|o|lang}} → Haitian Creole: [o]
  • {{IPA-ht|o|IPA}} → IPA: [o]
  • {{IPA-ht|o|}} → [o]

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

  • {{IPA-ht|o|IPA|Fr-eau.ogg}} → IPA: [o] (About this soundlisten)

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

  • {{IPA-ht|o|-|Fr-eau.ogg}} → Haitian Creole pronunciation: [o] (About this soundlisten)

Template:Usage of IPA templates