Difference between revisions of "Template:IPA-en"

From Self-sufficiency
Jump to: navigation, search
 
m (1 revision)
(No difference)

Revision as of 14:10, 6 July 2010

English pronunciation: /{{{1}}}/

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 {{IPA-all}}, 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/  (13px 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/  (13px listen)

The similar template {{pron-en}} has no lede switch:

  • {{pron-en|n}} → pronounced /n/
  • {{pron-en|n|En-us-'n'.ogg}} → pronounced /n/ (13px listen)


Template:Usage of IPA templates

simple:Template:IPA-en