Difference between revisions of "Template:IPA-fr/doc"
imported>Daviddwd (short desc) |
imported>Vanisaac |
||
| Line 21: | Line 21: | ||
{{usage of IPA templates}} | {{usage of IPA templates}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
[[Category:IPA language templates|{{PAGENAME}}]] | [[Category:IPA language templates|{{PAGENAME}}]] | ||
[[ur:سانچہ:IPA-fr]] | [[ur:سانچہ:IPA-fr]] | ||
| − | }}</includeonly> | + | }}</includeonly> |
==TemplateData== | ==TemplateData== | ||
Latest revision as of 22:07, 25 April 2020
| This is a documentation subpage for Template:IPA-fr. It contains 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}}→ French pronunciation: [o]{{IPA-fr|o|pron}}→ pronounced [o]{{IPA-fr|o|lang}}→ French: [o]{{IPA-fr|o|IPA}}→ IPA: [o]{{IPA-fr|o|local}}→ locally [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:
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 |