ढाँचा:IPAc-en

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search

/{{{1}}}/

Template documentation[view] [edit] [history] [purge]

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|@}}/ˌæləˈbæmə/
  • {{IPAc-en|lang|pron|audio=en-us-Alabama.ogg|,|&|l|@|'|b|&|m|@}}अंग्रेजी उच्चारण: /ˌæləˈbæ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.

{{IPA-en}}[सम्पादन गर्ने]

The default behaviour has changed to no prescript.

It can be simulated using the flags lang & pron.

  • {{IPAc-en|lang|pron|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}अंग्रेजी उच्चारण: /ˌæləˈbæmə/

Audio files are specifically called:

{{pron-en}}[सम्पादन गर्ने]

The default behaviour has changed to no prescript. Audio tag simplified & moved to front:

A similar effect is achieved using the flag "pron":

  • {{IPAc-en|pron|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}उच्चारण: /ˌæləˈbæmə/
{{IPAc-en}}[सम्पादन गर्ने]

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

  • b → 'b' in 'buy'
  • d → 'd' in 'dye'
  • dj → 'd' in 'dew'
  • ð → 'th' in 'thy'
  • dʒ → 'j' in 'jam'
  • f → 'f' in 'find'
  • ɡ → 'g' in 'guy'
  • h → 'h' in 'high'
  • j → 'y' in 'yes'
  • k → 'k' in 'kind'
  • l → 'l' in 'lie'
  • lj → 'l' in 'lute'
  • m → 'm' in 'my'
  • n → 'n' in 'nigh'
  • nj → 'n' in 'new'
  • ŋ → 'ng' in 'sing'
  • ŋg → 'ng' in 'finger'
  • θ → 'th' in 'thigh'
  • θj → 'th' in 'enthusiasm'
  • p → 'p' in 'pie'
  • r → 'r' in 'rye'
  • s → 's' in 'sigh'
  • sj → 's' in 'suit'
  • ʃ → 'sh' in 'shy'
  • t → 't' in 'tie'
  • tj → 't' in 'tune'
  • tʃ → 'ch' in 'china'
  • v → 'v' in 'vie'
  • w → 'w' in 'wind'
  • hw → 'wh' in 'why'
  • z → 'z' in 'Zion'
  • ʒ → 's' in 'pleasure'
  • x → 'ch' in 'loch'
  • ʔ → the catch in 'uh-oh'
  • ɑː → 'a' in 'father'
  • ɑr → 'ar' in 'bard'
  • ɒ → short 'o' in 'body'
  • ɒr → 'or' in 'moral'
  • æ → short 'a' in 'bad'
  • aɪ → long 'i' in 'bide'
  • aɪər → 'ire' in 'fire'
  • aʊ → 'ou' in 'pout'
  • aʊər → 'our' in 'hour'
  • ɛ → short 'e' in 'bed'
  • ɛr → 'err' in 'merry'
  • eɪ → long 'a' in 'base'
  • ær → 'arr' in 'marry'
  • ɛər → 'are' in 'bare'
  • ɪ → short 'i' in 'bid'
  • ɪr → 'irr' in 'mirror'
  • iː → long 'e' in 'bead'
  • ɪər → 'ear' in 'beard'
  • ɔː → 'au' in 'baud'
  • ɔr → 'or' in 'born'
  • ɔɪ → 'oy' in 'boy'
  • ɔɪər → 'oir' in 'loir' (rare)
  • oʊ → long 'o' in 'bode'
  • ɔər → 'ore' in 'bore'
  • ʊ → short 'oo' in 'foot'
  • ʊr → 'our' in 'courier'
  • uː → long 'oo' in 'food'
  • ʊər → 'oor' in 'moor'
  • juː → long 'u' in 'cute'
  • jʊər → 'ure' in 'cure'
  • ʌ → short 'u' in 'bud'
  • ʌr → 'urr' in 'hurry'
  • ɜr → 'ir' in 'bird'
  • ɝ → 'ir' in 'bird'
  • ə → schwa 'a' in 'about'
  • ər → 'er' in 'finger'
  • ɚ → 'er' in 'finger'
  • <s>ɪ</s> → schwa 'e' in 'roses'
  • ən → 'on' in 'button'
  • ɵ → schwa 'o' in 'omission'
  • əm → 'm' in 'rhythm'
  • <s>ʊ</s> → schwa 'u' in 'beautiful'
  • əl → 'le' in 'bottle'
  • i → 'y' in 'happy'
  • ˈ → primary stress
  • ˌ → secondary stress
  • . → syllable break

Translation table

  • ' → ˈ
  • , → ˌ
  • _ →  
  • D dh → ð
  • J dZ dzh ʤ → dʒ
  • N ng → ŋ
  • g → ɡ
  • T th → θ
  • S sh → ʃ
  • C ch tS → tʃ
  • Z zh → ʒ
  •  ? - → ʔ
  • A: ah aa → ɑː
  • ar → ɑr
  • ae & { } → æ
  • aer &r → ær
  • E → ɛ
  • ei eI ay → eɪ
  • eir eIr e@r E@r air → ɛər
  • I → ɪ
  • i: ee → iː
  • ir i:r I@r i@r eer → ɪər
  • O O: aw → ɔː
  • or Or awr → ɔr
  • ou oU @u @U oh oe → oʊ
  • oUr ohr → ɔər
  • Q → ɒ
  • U oo → ʊ
  • u: '''oo''' → uː
  • ur u:r u@r U@r oor → ʊər
  • V → ʌ
  • 3 → ɜ
  • 3r 3:r @:r @: ur urr ir er → ɜr
  • ai aI ye eye → aɪ
  • oi OI oy → ɔɪ
  • au aU ow → aʊ
  • ɨ i- I- → <s>ɪ</s>
  • o- ou- → ɵ
  • u- U- → <s>ʊ</s>
  • @r → ər
  • @l → əl
  • @n → ən
  • @m → əm
  • schwa @ → ə

Prefix flags

  • pron, pronunciation → pronunciation:
  • lang, English → English
  • local → local
  • IPA → IPA
  • US → US
  • UK → UK
  • the icon and noicon parameters have been deprecated