Template:Respell

From Dungeons and Dragons Wiki
Revision as of 08:33, 27 August 2012 by Daranios (talk | contribs) (Trying to import templates from Wikipedia)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{{1}}}

Template documentation (for the above template, sometimes hidden or invisible)

This template formats pronounciation respellings of English words, and links to the respelling key at Wikipedia:Pronunciation respelling key. It formats stressed syllables with bold, small-cap text. For example, the word "perfume" is respelled "pər-FEWM"; using this template, the formatting is:

The formatting is: stressed syllables are in bold Template:Smallcaps, unstressed syllables are in lowercase. All text is in italics, and is wikilinked to the pronounciation key page.

Do not separate every syllable with a pipe: join unstressed syllables with a hyphen, and only use a pipe to separate them from stressed syllables.

How to use[edit]

Once you have available the spelling syllables, you can put them in the {{respell}} template. To start with, one syllable per parameter (without dashes) does it. But there are situations, regarding stressing, that require more attention.

1. The template accepts up to seven syllables (parameters), separated by a pipe ("|"). The pipes are automatically replaced by hyphens, and they alternate the stressing: Template:Tlx[[Wikipedia:Pronunciation respelling key|1-TEMPLATE:SMALLCAPS-3-TEMPLATE:SMALLCAPS-5-TEMPLATE:SMALLCAPS-7]]. If more parameters (syllables) are needed, just use two templates.

2. When unstressed syllables follow one another (– . . .), they need to be hyphenated together in a single parameter:

Template:Tlx[[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-gə-ridh-əm]] (algorithm)

3. Stressed syllables are counted from the last syllable backwards: the second-last, fourth-last, and sixth-last parameters are formatted as stressed. The other parameters are unstressed (. – .– . – .):

Template:Tlx[[Wikipedia:Pronunciation respelling key|ə-TEMPLATE:SMALLCAPS-nə-TEMPLATE:SMALLCAPS-bee-ə]] (arachnophobia)

4. When the final syllable is stressed (. –), one needs to add an extra apostrophe parameter:

Template:Tlx[[Wikipedia:Pronunciation respelling key|pər-TEMPLATE:SMALLCAPS]] (perfume)

5. Note: Case in the input is ignored:

Template:Tlx[[Wikipedia:Pronunciation respelling key|ə-TEMPLATE:SMALLCAPS-nə-TEMPLATE:SMALLCAPS-bee-ə]]Template:Main other
Template:Tlx[[Wikipedia:Pronunciation respelling key|ə-TEMPLATE:SMALLCAPS-nə-TEMPLATE:SMALLCAPS-bee-ə]]Template:Main other

Where to use[edit]

On Wikipedia, respelling is most commonly used to clarify the pronunciation of a name or topic in the lead section or introductory paragraph. Per the Manual of Style, respelling should follow the International Phonetic Alphabet, and never be used in place of it. The template provides a link to the key so that readers may easily look up how to pronounce the word. For example:

Worcestershire (pronounced /ˈwʊstərʃər/ [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-tər-shər]]) is a county located in central England.
'''Worcestershire''' ({{IPA-en|ˈwʊstərʃər|pron}} {{Respell|WUUS|tər-shər}}) is a county located in central [[England]].

The respelling key covers only English pronunciation, and should not be used for foreign names or words which have not been assimilated into English. If you need help transcribing the pronunciation into the IPA, please ask at Wikipedia talk:IPA for English.

When not to use[edit]

The transcription may supplement the IPA in many cases, but it is not adequate for general use. For example, MOW and TOW are poor transcriptions, because people will tend to read them incorrectly as Moe, toe rather than as Mao, Tao, which is what they actually transcribe. The metal cobalt is likewise impractical to transcribe with this system, because people will invariably read [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-bolt]] incorrectly, as rhyming with molt and dolt. (This cannot be easily fixed; *[[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-balt]] and *[[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-bahlt]] have the wrong vowel.) In such problematic cases, rhymes, sound-alikes, or {{USdict}} transcription may be better choices.

Examples[edit]

Here are examples of how to use the template for words with different numbers of syllables and different stress patterns:

Pattern Example Coding Result
No stress . of {{Respell|uv}} uv
Two syllables, first one stressed – . Ceres {{Respell|SEER|eez}} [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-eez]]
Three syllables, middle one stressed . – . Haumea {{Respell|how|MAY|ə}} [[Wikipedia:Pronunciation respelling key|how-TEMPLATE:SMALLCAPS]]
Stress followed by multiple unstressed syllables – . . . algorithm {{Respell|AL|gə-ridh-əm}} [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-gə-ridh-əm]]
Two stressed syllables – . – . Makemake {{Respell|MAH|kee|MAH|kee}} [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-kee-TEMPLATE:SMALLCAPS-kee]]
Two stressed syllables with strings of unstressed syllables . . – . . – . . . . disestablishmentarianism {{Respell|dis-ə|STAB|lish-mən|TAIR|ee-ən-iz-əm}} [[Wikipedia:Pronunciation respelling key|dis-ə-TEMPLATE:SMALLCAPS-lish-mən-TEMPLATE:SMALLCAPS-ee-ən-iz-əm]]
Monosyllable with stress Pan {{Respell|PAN|'}} [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS]]
Two syllables, final stress . – perfume {{Respell|pər|FEWM|'}} [[Wikipedia:Pronunciation respelling key|pər-TEMPLATE:SMALLCAPS]]
Two stressed syllables, first and final – . . – overconsume
Azerbaijan
{{Respell|OH|vər-kən|SEWM|'}}
{{Respell|AZ|ər-by|JAHN|'}}
[[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-vər-kən-TEMPLATE:SMALLCAPS]]
[[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-ər-by-TEMPLATE:SMALLCAPS]]
Space issues
Too many syllables for one template if you wish upon a star {{Respell|IF|ew|WISH|ə-}}{{Respell|PON|ə|STAR|'}} [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-ew-TEMPLATE:SMALLCAPS]][[Wikipedia:Pronunciation respelling key|ə-TEMPLATE:SMALLCAPS-ə-TEMPLATE:SMALLCAPS]]
Word break fits inside a parameter betting odds {{Respell|BET|ing odz}} [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-ing odz]]
Word break does not fit inside a parameter Jazze Pha {{Respell|JAZ|ee}} {{Respell|FAY|'}} [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS-ee]] [[Wikipedia:Pronunciation respelling key|TEMPLATE:SMALLCAPS]]

See also[edit]

IPA formatting templates for English:

Smallwikipedialogo.png This page uses Creative Commons Licensed content from Wikipedia (view authors).

<noiclude> </noiclude>


Visit Template:Respell/doc to edit this text! (How does this work?)