ढाँचा:IPAc-en/doc
This template is used to display IPA transcriptions. If the phonemes are broken into individual variables it generates mouseover pronunciation guides. It is also capable of translating phonetic representations into IPA.
If the code /[[Wikipedia:IPA_for_English#Key|??]]/
is displayed, it means that an unsupported input was used, or that you included a non-existent sound file. Such instances are tallied at Category:Ill-formatted IPAc-en transclusions, where they can be reviewed and fixed.
There are a maximum of 50 variables, including the first three.
The first three variables can be used to indicate a prescript (eg, English pronunciation:) or link to an audio file.
{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/{{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/ ( ){{IPAc-en|US|pron|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ अमेरिकी: /ˌæləˈbæmə/ ( )
The pronunciation is broken into individual phonemes so that they will have mouseovers to indicate pronunciation. All phonemes from IPA for English are available. For anything outside that set, a different template should be used.
Individual phonemes can be translated from SAMPA spelling:
{{IPAc-en|,|&|l|@|'|b|&|m|@}}
→ /ˌ[invalid input: '&']ləˈb[invalid input: '&']mə/{{IPAc-en|lang|pron|audio=en-us-Alabama.ogg|,|&|l|@|'|b|&|m|@}}
→ अङ्ग्रेजी: /ˌ[invalid input: '&']ləˈb[invalid input: '&']mə/ ( )
Behaviour Changes from Current Templates
सम्पादन गर्नुहोस्{{IPAc-en}} combines the features of {{IPA-en}}, {{pron-en}} and the original {{IPAc-en}}. It is also intended to replace incidents of {{Audio-IPA}}. To facilitate this a Greasemonkey script is available that will automatically convert any incidents of these templates to {{IPAc-en}} with properly separated phonemes.
Behavioural differences follow.
The default behaviour has changed to no prescript.
{{IPA-en|ˌæləˈbæmə}}
→ अङ्ग्रेजी उच्चारण: /ˌæləˈbæmə/{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/
It can be simulated using the flags lang & pron.
{{IPAc-en|lang|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ अङ्ग्रेजी: /ˌæləˈbæmə/
Audio files are specifically called:
{{IPA-en|ˌæləˈbæmə|-|en-us-Alabama.ogg}}
→ अङ्ग्रेजी उच्चारण: /ˌæləˈbæmə/ ( ){{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}} or {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə|audio=en-us-Alabama.ogg}}
→ /ˌæləˈbæmə/ ( ), /ˌæləˈbæmə/ ( )
The default behaviour has changed to no prescript. Audio tag simplified & moved to front:
{{pron-en|ˌæləˈbæmə|en-us-Alabama.ogg}}
→ उच्चारण/ˌæləˈbæmə/ ( listen){{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/ ( )
A similar effect is achieved using the flag "pron":
{{IPAc-en|pron|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/ ( )
The original template had three flags ( /- , -- and -/ ) that allowed multiple templates to be strung together in case there wasn't enough characters. The maximum character count has increased from 33 to 50 and this feature has been dropped.
Details
सम्पादन गर्नुहोस्
Mouseovers
|
Translation table
|
Prefix flags
|