Template:Respell/doc
This is a documentation subpage for Template:Respell. It may contain usage information, categories and other content that is not part of the original template page. |
This template is for English words only. For notating pronunciation of non-English words that have not been assimilated into English, use the IPA template for the respective language. In addition, the template is merely to augment the IPA but never to replace it, and therefore should not be used alone without an IPA notation preceding it. See Wikipedia:Manual of Style/Pronunciation for more on showing pronunciation on Wikipedia. If you need help transcribing the pronunciation into the IPA, please ask at Wikipedia:Reference desk/Language. |
This template uses Lua: |
This template formats pronunciation respellings of English words. It puts the input in italics, hyphenates each value so it will represent a syllable, and links to Help:Pronunciation respelling key. Stressed syllables are input in uppercase and will appear slightly smaller than usual uppercase letters.
Notation must be spelled accordingly to the respelling key at Help:Pronunciation respelling key. For example, the word pronunciation (IPA: /prəˌnʌnsiˈeɪʃən/) is respelled prə-NUN-see-AY-shən; using this template, the formatting is:
{{respell|prə|NUN|see|AY|shən}}
→ prə-NUN-see-AY-shən
How to use
On Wikipedia, respelling is most commonly used to help clarify the pronunciation of a name or topic in the lead section or introductory paragraph of an article. Per the Manual of Style, respelling may only follow and augment a corresponding International Phonetic Alphabet template (e.g., {{IPAc-en}}) and may never be used in place of one. The template provides a link to a key so that readers may easily discover how to pronounce an easily mispronounced or difficult-to-pronounce word. For example:
- Worcestershire (/ˈwʊstərʃər/ WUUS-tər-shər) is a county located in central England.
'''Worcestershire''' ({{IPAc-en|ˈ|w|ʊ|s|t|ər|ʃ|ər}} {{respell|WUUS|tər|shər}}) is a county located in central [[England]].
Common practice is to put no punctuation except one space between the IPA and the respelling for clarity, as in:
- Massachusetts (/ˌmæsəˈtʃuːsɪts/ MASS-ə-CHOO-sits, /-zɪts/ -zits) is the most populous state in New England.
'''Massachusetts''' ({{IPAc-en|ˌ|m|æ|s|ə|ˈ|tʃ|uː|s|ɪ|t|s}} {{respell|MASS|ə|CHOO|sits}}, {{IPAc-en|-|z|ɪ|t|s}} {{respell|-zits}}) is the most populous state in [[New England]].
Any argument containing an underscore or beginning or ending with a hyphen will not generate adjoining hyphens and will instead turn the underscore into a space, allowing for denoting word boundaries, alternate pronunciations, and affix ellipses. For example:
- Avram Noam Chomsky:
{{respell|av|RAHM|_|NOHM|_|CHOM|skee}}
→ av-RAHM NOHM CHOM-skee - Copenhagen:
{{respell|KOH|pən|HAY|gən|,_-|HAH|-}}
→ KOH-pən-HAY-gən, -HAH-
An argument beginning in (-
or ending in -)
will also suppress the extra hyphen, so that optional syllables can be indicated.
Examples
- Ceres /ˈsɪəriːz/ SEER-eez
{{respell|SEER|eez}}
- Haumea /haʊˈmeɪə/ how-MAY-ə
{{respell|how|MAY|ə}}
- algorithm /ˈælɡərɪðəm/ AL-gə-ridh-əm
{{respell|AL|gə|ridh|əm}}
- Makemake /ˌmɑːkeɪˈmɑːkeɪ/ MAH-kay-MAH-kay
{{respell|MAH|kay|MAH|kay}}
- disestablishmentarianism /dɪsəˌstæblɪʃmənˈtɛəriənɪzəm/ dis-ə-STAB-lish-mən-TAIR-ee-ə-niz-əm
{{respell|dis|ə|STAB|lish|mən|TAIR|ee|ə|niz|əm}}
- Pan /pæn/ PAN
{{respell|PAN}}
- machine /məˈʃiːn/ mə-SHEEN
{{respell|mə|SHEEN}}
- overconsume /ˌoʊvərkənˈsjuːm/ OH-vər-kən-SEWM
{{respell|OH|vər|kən|SEWM}}
- Azerbaijan /ˌæzərbaɪˈdʒɑːn/ AZ-ər-by-JAHN
{{respell|AZ|ər|by|JAHN}}
- if you wish upon a star /ˌɪf juː ˈwɪʃ əˌpɒn ə ˈstɑːr/ IF yoo WISH ə-PON ə STAR
{{respell|IF|_|yoo|_|WISH|_|ə|PON|_|ə|_|STAR}}
- betting odds /ˈbɛtɪŋ ɒdz/ BET-ing odz
{{respell|BET|ing|_|odz}}
- Jazze Pha /ˈdʒæzi ˈfeɪ/ JAZ-ee FAY
{{respell|JAZ|ee|_|FAY}}
Documentation
|link=no
cancels the link to Help:Pronunciation respelling key. This is for documentation outside the main namespace only.
{{respell|prə|NUN|see|AY|shən|link=no}}
→ prə-NUN-see-AY-shən
Template Data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Respell
Template Data
| ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No description.
|
See also