Template:Respell/doc: Difference between revisions

From Azupedia
Jump to navigation Jump to search
imported>Fire
ページの作成:「{{Documentation subpage}} {{二次利用}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata)…」
 
No edit summary
 
Line 7: Line 7:
}}
}}
{{lua|Module:Respell}}
{{lua|Module:Respell}}
 
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.
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.



Latest revision as of 08:01, 23 January 2023

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 prə-NUN-see-AY-shən; using this template, the formatting is:

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:

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:

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

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}}prə-NUN-see-AY-shən

See also

Template:IPA templates