Difference between revisions of "Template:IPA-fr"
Jump to navigation
Jump to search
imported>Kwamikagami (→Usage) |
imported>Kwamikagami (del. unused switches) |
||
| Line 1: | Line 1: | ||
| − | <onlyinclude><small>{{#if: {{{2|}}}|{{#switch: {{{2}}}|lang=French | + | <onlyinclude><small>{{#if: {{{2|}}}|{{#switch: {{{2}}}|lang=French: |pron=pronounced: |IPA=IPA: |=|French pronunciation: }}|{{#if: {{{2}}}|French pronunciation: }}}}</small><span title="Pronunciation in IPA" class="IPA">[[WP:IPA for French|[{{{1}}}]]]</span><small>{{#if:{{{3|}}}| ([[File:Speaker Icon.svg|13px|link=:Media:{{{3|}}}]] [[:Media:{{{3|}}}|listen]])}}</small></onlyinclude> |
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
Revision as of 08:10, 9 June 2009
French pronunciation: [{{{1}}}]
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|short}}→ French pronunciation: [o]{{IPA-fr|o|lang}}→ French: [o]{{IPA-fr|o|IPA}}→ IPA: [o]{{IPA-fr|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: