Template:IPA-en

From Alternate History Worlds
Revision as of 09:41, 30 December 2016 by Manomow (talk | contribs) (Created page with "<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA: |lang=English: |pron=pronounced |UK=UK: |US=US: |local=locally |=|English pronunciation: }}<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

English pronunciation: /{{{1}}}/ Template:Documentation

Usage

This template formats IPA transcriptions and links them to WP:IPA for English. The transcription should match the conventions of that key; for narrower dialect transcriptions, use Template:Tl, which links to a more complete IPA key.

The first cell in the template is for the transcription, and a second optional cell is a switch that controls the lede. With no second value, the lede English pronunciation: appears:

  • {{IPA-en|n}}English pronunciation: /n/
  • {{IPA-en|n|pron}}pronounced /n/
  • {{IPA-en|n|lang}}English: /n/
  • {{IPA-en|n|local}}locally /n/
  • {{IPA-en|n|IPA}}IPA: /n/
  • {{IPA-en|n|US}}US: /n/
  • {{IPA-en|n|UK}}UK: /n/
  • {{IPA-en|n|}}/n/

Any of these may be combined with a sound file in an optional third cell:

  • {{IPA-en|n|local|En-us-'n'.ogg}}locally /n/  ( listen)

For the default lede, however, a placeholder such as ‹-› is required in the second cell:

  • {{IPA-en|n|-|En-us-'n'.ogg}}English pronunciation: /n/  ( listen)

The similar template Template:Tl has no lede switch:


Template:Usage of IPA templates

simple:Template:IPA-en