模板:IPAc-fr
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.
用法
編輯The number of parameters is always limited to 33.
Normal usage:
- {{IPAc-fr|f|r|an|s|ai}} produces [fʁɑ̃sɛ]
- {{IPAc-fr|ch|e|-|m|E|s_|a|m|i}} produces [ʃe mɛ.z‿ami]
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):
- {{IPAc-fr|[-|r|é|p|y|b|l|i|q|-|f|r|an|ç|ai|z}} produces [ʁepyblik fʁɑ̃sɛz
The full range of special values for the first parameter (changing the delimiters and/or specifying that the next parameter is an audio file) is as follows:
- -- [- -] // /- -/ AUD -]AUD //AUD -/AUD
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 bank)
Other values used as parameters will be displayed unconverted. (The conversion system is coded in Template:c-fr.)