Bản mẫu:IPAc-en
Bản mẫu này được sử dụng ở khoảng 3.100 trang, vì thế những thay đổi đến nó sẽ hiện ra rõ ràng. Vui lòng thử nghiệm các thay đổi ở trang con /sandbox, /testcases của bản mẫu, hoặc ở không gian người dùng của bạn. Cân nhắc thảo luận các thay đổi tại trang thảo luận trước khi áp dụng sửa đổi. |
Bản mẫu này sử dụng Lua: |
Note: Per WP:LEAD, do not use this template in the lead section for common English words (e.g., pub, rose, pencil, bus, Monday, Earth, etc.).
This template is used to display English International Phonetic Alphabet (IPA). The pronunciation is broken into individual diaphonemes so that they will have tooltips (mouse-over text) to indicate pronunciation. All diaphonemes from Help:IPA/English are available.
The transcription system of Help:IPA/English, upon which this template relies, is diaphonemic, i.e. meant to cover multiple major varieties of English at once. If you wish to give a narrow transcription of a pronunciation in a certain variety of English, use {{IPA-endia}} or {{IPA-all}} instead.
The initial argument (entry after |) can be used to indicate a pronunciation prescript; link to IPA. The codes are:
Code | Output |
---|---|
lang |
English: |
local |
locally |
ipa |
IPA: |
also |
also |
uk |
UK: |
us |
US: |
uklang |
British English: |
uslang |
American English: |
ukalso |
UK also |
usalso |
US also |
alsouk |
also UK |
alsous |
also US |
The first argument that is not a code above will be treated as a diaphoneme. All diaphonemes listed at Help:IPA/English are available (except the ones that span two syllables such as /aɪ.ər/, /iːər/ and /iə/, which need to be input as aɪ|.|ər
, iː|ər
and i|ə
). Also available are /ɪəˈr/, /ɛəˈr/, /ʊəˈr/, /ɪəˌr/, /ɛəˌr/, and /ʊəˌr/, preserved for when a centering diphthong precedes a stress.
- Separator codes
Use an underscore _
to separate words. When multiple pronunciations for the same word(s) are possible, use a comma and an underscore ,_
to separate the variants which will appear as a comma. As necessary, use a hyphen -
to indicate omitted syllables. Diaphonemes are underlined, but separators are not, and separators do not have any tooltip text.
See the collapsed table below for a full list of diaphoneme codes.
Diaphoneme codes
|
---|
Note that the aliases include ones that are kept merely for compatibility reasons and therefore not recommended for further use, as they might not accurately represent the sound represented by the output. Lỗi kịch bản: Không tìm thấy mô đun “IPAc-en/documentation”. |
The named parameter |audio=
may be used to link to an audio file.
Examples
{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/{{IPAc-en|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ /ˌæləˈbæmə/ ⓘ{{IPAc-en|US|audio=en-us-Alabama.ogg|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
→ US: /ˌæləˈbæmə/ ⓘ
Examples using SAMPA spelling for individual diaphonemes:
{{IPAc-en|,|{|l|@|'|b|{|m|@}}
→ /ˌæləˈbæmə/{{IPAc-en|lang|audio=en-us-Alabama.ogg|,|{|l|@|'|b|{|m|@}}
→ tiếng Anh: /ˌæləˈbæmə/ ⓘ
If "[invalid input]" is displayed, it means that an unsupported input was used. Such instances are tallied at Category:Ill-formatted IPAc-en transclusions, where they can be reviewed and fixed.
Notations with audio links will appear at Category:Articles including recorded pronunciations (English), Category:Articles including recorded pronunciations (UK English) or Category:Articles including recorded pronunciations (US English) depending on the label parameter.
See also
- {{Respell}}, for pronunciation respellings, which may be used for English words in addition to the IPA
Không có miêu tả.
Tham số | Miêu tả | Kiểu | Trạng thái | |||
---|---|---|---|---|---|---|
Không định rõ tham số |