Template:IPAc-fr: Difference between revisions
m (Protected "Template:IPAc-fr": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))) |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span title="Representation in the International Phonetic Alphabet (IPA)" class="IPA"><!-- | <includeonly><span title="Representation in the International Phonetic Alphabet (IPA)" class="IPA"><!-- | ||
-->{{#switch:{{{1}}}|//|/-=[[Help:IPA/French|/]]|-]|-/|--=|[-|#default=[[Help:IPA/French|[]]}}<!-- | -->{{#switch:{{{1}}}|//|/-=[[Wikipedia:Help:IPA/French|/]]|-]|-/|--=|[-|#default=[[Wikipedia:Help:IPA/French|[]]}}<!-- | ||
-->{{#switch:{{{1}}}|[-|-]|//|/-|-/|--=|{{#if:{{{1|}}}|{{c-fr|{{{1}}}}}}}}}<!-- | -->{{#switch:{{{1}}}|[-|-]|//|/-|-/|--=|{{#if:{{{1|}}}|{{c-fr|{{{1}}}}}}}}}<!-- | ||
-->{{for loop||call=c-fr|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}|{{{33|}}}|{{{34|}}}|{{{35|}}}|{{{36|}}}|{{{37|}}}|{{{38|}}}|{{{39|}}}|{{{40|}}}|{{{41|}}}|{{{42|}}}|{{{43|}}}|{{{44|}}}|{{{45|}}}|{{{46|}}}|{{{47|}}}|{{{48|}}}|{{{49|}}}|{{{50|}}}|skipBlanks=yes}}<!-- | -->{{for loop||call=c-fr|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}|{{{22|}}}|{{{23|}}}|{{{24|}}}|{{{25|}}}|{{{26|}}}|{{{27|}}}|{{{28|}}}|{{{29|}}}|{{{30|}}}|{{{31|}}}|{{{32|}}}|{{{33|}}}|{{{34|}}}|{{{35|}}}|{{{36|}}}|{{{37|}}}|{{{38|}}}|{{{39|}}}|{{{40|}}}|{{{41|}}}|{{{42|}}}|{{{43|}}}|{{{44|}}}|{{{45|}}}|{{{46|}}}|{{{47|}}}|{{{48|}}}|{{{49|}}}|{{{50|}}}|skipBlanks=yes}}<!-- | ||
-->{{#switch:{{{1}}}|[-|-]|//|/-|-/|--={{#if:{{{51|}}}|{{c-fr|{{{51}}}}}}}}}<!-- | -->{{#switch:{{{1}}}|[-|-]|//|/-|-/|--={{#if:{{{51|}}}|{{c-fr|{{{51}}}}}}}}}<!-- | ||
-->{{#switch:{{{1}}}|//|-/=[[Help:IPA/French|/]]|[-|/-|--=|-]|#default=[[Help:IPA/French|]]]}}<!-- | -->{{#switch:{{{1}}}|//|-/=[[Wikipedia:Help:IPA/French|/]]|[-|/-|--=|-]|#default=[[Wikipedia:Help:IPA/French|]]]}}<!-- | ||
--></span>{{#if:{{{audio|}}}|{{IPA audio link|{{{audio}}}}}}}</includeonly><noinclude> | --></span>{{#if:{{{audio|}}}|{{IPA audio link|{{{audio}}}}}}}</includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 17:43, 7 May 2021
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.)