Difference between revisions of "Template:IPA-ht"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
imported>Nardog
m (→‎top: fixing links to IPA key pages using AWB)
 
Line 1: Line 1:
<onlyinclude><small>{{#if: {{{2|}}}|{{#switch: {{{2}}}|lang=Haitian Creole:&nbsp;|pron=pronounced&nbsp;|IPA=IPA:&nbsp;|=|Haitian Creole pronunciation:&nbsp;}}|{{#if: {{{2}}}|Haitian Creole pronunciation:&nbsp;}}}}</small>{{IPA|[[Help:IPA for Haitian Creole|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude>
+
<onlyinclude><small>{{#if: {{{2|}}}|{{#switch: {{{2}}}|lang=Haitian Creole:&nbsp;|pron=pronounced&nbsp;|IPA=IPA:&nbsp;|=|Haitian Creole pronunciation:&nbsp;}}|{{#if: {{{2}}}|Haitian Creole pronunciation:&nbsp;}}}}</small>{{IPA|[[Help:IPA/Haitian Creole|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude>
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Latest revision as of 15:35, 5 August 2017

Haitian Creole pronunciation: [{{{1}}}]

Template documentation[view] [edit] [history] [purge]

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

ja:Template:IPA-ht