Difference between revisions of "Template:IPAc-fr/doc"
imported>Gaèlic |
imported>Jonesey95 |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
− | This template is used to produce a phonetic or phonemic representation (using the [[IPA]] system) of French words or sounds, using natural spelling to avoid the need to search for the correct phonetic symbols. The result is wikilinked to [[Help:IPA for French]]. Optionally, an audio file can also be specified. | + | This template is used to produce a phonetic or phonemic representation (using the [[International Phonetic Alphabet|IPA]] system) of French words or sounds, using natural spelling to avoid the need to search for the correct phonetic symbols. The result is wikilinked to [[Help:IPA for French]]. Optionally, an audio file can also be specified. |
===Usage=== | ===Usage=== | ||
− | The number of parameters is always limited to | + | The number of parameters is always limited to 50. |
Normal usage: | Normal usage: | ||
− | *< | + | *<code><nowiki>{{IPAc-fr|f|r|an|s|ai}}</nowiki></code> produces {{IPAc-fr|f|r|an|s|ai}} |
− | *< | + | *<code><nowiki>{{IPAc-fr|ch|e|-|m|E|s_|a|m|i}}</nowiki></code> produces {{IPAc-fr|ch|e|-|m|E|s_|a|m|i}} |
With an audio file: | With an audio file: | ||
− | *< | + | *<code><nowiki>{{IPAc-fr|qu|e|b|E|c|audio=FR-Québec.ogg}}</nowiki></code> produces {{IPAc-fr|qu|e|b|E|c|audio=FR-Québec.ogg}} |
To change the delimiters (for example, if several instances of the template need to be strung together because of the limit on the number of parameters): | To change the delimiters (for example, if several instances of the template need to be strung together because of the limit on the number of parameters): | ||
− | *< | + | *<code><nowiki>{{IPAc-fr|[-|r|é|p|y|b|l|i|q|-|f|r|an|ç|ai|z}}</nowiki></code> produces {{IPAc-fr|[-|r|é|p|y|b|l|i|q|-|f|r|an|ç|ai|z}} |
The full range of special values for the first parameter (changing the delimiters) is as follows: | The full range of special values for the first parameter (changing the delimiters) is as follows: | ||
− | *< | + | *<code>-- [- -] // /- -/</code> |
<!--The following parameters represent their normal sounds in French: | <!--The following parameters represent their normal sounds in French: | ||
− | *< | + | *<code>a ą b c ć cz d dz dź e ę f g h</code> (or <code>ch</code>) <code>i j k l ł m n ń o p r s ś sz t u</code> (or <code>ó</code>) <code>w y z ź ż</code> (or <code>rz</code>) |
--> | --> | ||
The following parameters have special meanings: | The following parameters have special meanings: | ||
− | *< | + | *<code>-</code> (hyphen) for a space between words |
− | *< | + | *<code>_</code> (underscore) [[Liaison (French)|Liaison]] |
− | *< | + | *<code>'</code> (apostrophe) for a primary stress mark (placed before the stressed syllable) |
− | *< | + | *<code>N</code> for a sound like English ''ng'' (in words like ''camping'') |
<!--more needed here--> | <!--more needed here--> | ||
Line 37: | Line 37: | ||
* [[French phonology]] | * [[French phonology]] | ||
− | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:IPA language templates|c]] | [[Category:IPA language templates|c]] | ||
[[ja:Template:IPAc-fr]] | [[ja:Template:IPAc-fr]] | ||
− | </includeonly> | + | }}</includeonly> |
Latest revision as of 15:24, 31 May 2020
![]() | This is a documentation subpage for Template:IPAc-fr. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to produce a phonetic or phonemic representation (using the IPA system) of French words or sounds, using natural spelling to avoid the need to search for the correct phonetic symbols. The result is wikilinked to Help:IPA for French. Optionally, an audio file can also be specified.
Usage
The number of parameters is always limited to 50.
Normal usage:
With an audio file:
To change the delimiters (for example, if several instances of the template need to be strung together because of the limit on the number of parameters):
The full range of special values for the first parameter (changing the delimiters) is as follows:
-- [- -] // /- -/
The following parameters have special meanings:
-
(hyphen) for a space between words_
(underscore) Liaison'
(apostrophe) for a primary stress mark (placed before the stressed syllable)N
for a sound like English ng (in words like camping)
Other values used as parameters will be displayed unconverted. (The conversion system is coded in Template:c-fr.)
See also