Difference between revisions of "Template:IPA-ht"
Jump to navigation
Jump to search
imported>Xyzzyva (created Haitian Creole IPA template) |
imported>Debresser m (1. This template is presently not protected, so don't add a protection template. 2. The documentation subpage will automatically add the protection template if needed.) |
||
| Line 1: | Line 1: | ||
<onlyinclude><small>{{#if: {{{2|}}}|{{#switch: {{{2}}}|lang=Haitian Creole: |pron=pronounced: |IPA=IPA: |=|Haitian Creole pronunciation: }}|{{#if: {{{2}}}|Haitian Creole pronunciation: }}}}</small><span title="Pronunciation in IPA" class="IPA">[[WP:IPA for Haitian Creole|[{{{1}}}]]]</span><small>{{#if:{{{3|}}}| {{nowrap|([[File:Speaker Icon.svg|13px|link=|alt=]] [[:Media:{{{3|}}}|listen]])}}}}</small></onlyinclude> | <onlyinclude><small>{{#if: {{{2|}}}|{{#switch: {{{2}}}|lang=Haitian Creole: |pron=pronounced: |IPA=IPA: |=|Haitian Creole pronunciation: }}|{{#if: {{{2}}}|Haitian Creole pronunciation: }}}}</small><span title="Pronunciation in IPA" class="IPA">[[WP:IPA for Haitian Creole|[{{{1}}}]]]</span><small>{{#if:{{{3|}}}| {{nowrap|([[File:Speaker Icon.svg|13px|link=|alt=]] [[:Media:{{{3|}}}|listen]])}}}}</small></onlyinclude> | ||
| − | |||
==Usage== | ==Usage== | ||
Revision as of 19:23, 23 January 2010
Haitian Creole pronunciation: [{{{1}}}]
Usage
This template formats IPA transcriptions and links them to WP:IPA for 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:
For the default lede, however, the placeholder ‹-› is required in the second cell: