Template:Respell

From imedwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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ˈʃən/) is respelled Script error: No such module "Respell".; using this template, the formatting is:

  • {{respell|prə|NUN|see|AY|shən}}Script error: No such module "Respell".

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/ Script error: No such module "Respell".) 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 [[Wikipedia:England|England]].

Common practice is to put no punctuation except one space between the IPA and the respelling for clarity, as in:

  • Massachusetts (/ˌmæsəˈsɪts/ Script error: No such module "Respell"., /-zɪts/ Script error: No such module "Respell".) 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 [[Wikipedia:New England|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}}Script error: No such module "Respell".
  • Copenhagen: {{respell|KOH|pən|HAY|gən|,_-|HAH|-}}Script error: No such module "Respell".

An argument beginning in (- or ending in -) will also suppress the extra hyphen, so that optional syllables can be indicated.

  • coupe: {{respell|KOOP|(-ay)}}Script error: No such module "Respell".

Examples

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}}Script error: No such module "Respell".

Template Data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Respell

Template Data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
33

no description

Unknownoptional
44

no description

Unknownoptional
55

no description

Unknownoptional
66

no description

Unknownoptional
77

no description

Unknownoptional
Linklink

link=no will not link the respelling.

Default
yes
Example
no
Booleanoptional

See also

Template:IPA templates

This template is based (in parts) on the Template:Respell from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.