Template:IPA-fr/doc
This is a documentation subpage for Template:IPA-fr. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template formats IPA transcriptions and links them to Help:IPA/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}}
→ Template:IPA-fr{{IPA-fr|o|pron}}
→ Template:IPA-fr{{IPA-fr|o|lang}}
→ Template:IPA-fr{{IPA-fr|o|IPA}}
→ Template:IPA-fr{{IPA-fr|o|local}}
→ Template:IPA-fr{{IPA-fr|o|}}
→ Template:IPA-fr
Any of these may be combined with a sound file in an optional third cell:
{{IPA-fr|o|IPA|Fr-eau.ogg}}
→ Template:IPA-fr
For the default lede, however, the placeholder ‹-› is required in the second cell:
{{IPA-fr|o|-|Fr-eau.ogg}}
→ Template:IPA-fr
Template:Usage of IPA templates
TemplateData
TemplateData for IPA-fr
Gives IPA pronunciation for French text
Parameter | Description | Type | Status | |
---|---|---|---|---|
IPA pronunciation | 1 | The IPA pronunciation of the text
| Line | required |
lede | 2 | controls the lede (label) before the IPA text
| Line | optional |
sound file | 3 | A sound file for the pronunciation
| File | optional |