Difference between revisions of "Template:IPA-fr"
Jump to navigation
Jump to search
imported>Kwamikagami (spacing) |
imported>Kwamikagami |
||
| Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
| + | This template formats IPA transcriptions and links them to [[WP:IPA for French]]. The first value is for the transcription, and a second is an optional switch to control the lede. With no second value, the lede ''French pronunciation:'' appears: | ||
| + | *<code><nowiki>{{IPA-fr|o}}</nowiki></code> → {{IPA-fr|o}} | ||
| + | *<code><nowiki>{{IPA-fr|o|pron}}</nowiki></code> → {{IPA-fr|o|pron}} | ||
| + | *<code><nowiki>{{IPA-fr|o|short}}</nowiki></code> → {{IPA-fr|o|short}} | ||
| + | *<code><nowiki>{{IPA-fr|o|lang}}</nowiki></code> → {{IPA-fr|o|lang}} | ||
| + | *<code><nowiki>{{IPA-fr|o|IPA}}</nowiki></code> → {{IPA-fr|o|IPA}} | ||
| + | *<code><nowiki>{{IPA-fr|o|}}</nowiki></code> → {{IPA-fr|o|}} | ||
| + | |||
| + | Any of these may be combined with a sound file: | ||
| + | *<code><nowiki>{{IPA-fr|o|IPA|Fr-eau.ogg}}</nowiki></code> → {{IPA-fr|o|IPA|Fr-eau.ogg}} | ||
| + | |||
| + | For the default lede, however, a placeholder such as ‹-› is required: | ||
| + | *<code><nowiki>{{IPA-fr|o|-|Fr-eau.ogg}}</nowiki></code> → {{IPA-fr|o|-|Fr-eau.ogg}} | ||
| + | |||
{{usage of IPA templates}} | {{usage of IPA templates}} | ||
Revision as of 15:25, 21 May 2009
French pronunciation: [{{{1}}}]
Usage
This template formats IPA transcriptions and links them to WP:IPA for French. The first value is for the transcription, and a second is an optional switch to control 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 IPA: [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:
For the default lede, however, a placeholder such as ‹-› is required: