Template:IPA-fr/doc: Difference between revisions
imported>KH-1 m Reverted edits by 2601:444:8480:5D60:A1B4:55A0:B33F:5E56 (talk) to last version by Vanisaac |
mNo edit summary |
||
Line 23: | Line 23: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
[[Category:IPA language templates|{{PAGENAME}}]] | [[Category:IPA language templates|{{PAGENAME}}]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 23:40, 28 September 2022
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 |