Template:IPA-fr/sandbox

From blackwiki
Jump to navigation Jump to search

French pronunciation: ​[{{{1}}}]

Template documentation[view] [edit] [history] [purge]

Usage

This template formats IPA transcriptions and links them to Help:IPA/French. 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 French pronunciation: appears:

  • {{IPA-fr|o}}French pronunciation: ​[o]
  • {{IPA-fr|o|pron}}pronounced [o]
  • {{IPA-fr|o|lang}}French: [o]
  • {{IPA-fr|o|IPA}}IPA: [o]
  • {{IPA-fr|o|local}}locally [o]
  • {{IPA-fr|o|}}[o]

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

  • {{IPA-fr|o|IPA|Fr-eau.ogg}}IPA: [o] (About this soundlisten)

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

  • {{IPA-fr|o|-|Fr-eau.ogg}}French pronunciation: [o] (About this soundlisten)

Template:Usage of IPA templates


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for IPA-fr

Gives IPA pronunciation for French text

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
IPA pronunciation1

The IPA pronunciation of the text

Example
pʁezidɑ̃t‿a mɔʁtje
Linerequired
lede2

controls the lede (label) before the IPA text

Example
-, pron, IPA, local, lang
Lineoptional
sound file3

A sound file for the pronunciation

Example
Fr-eau.ogg
Fileoptional


Template documentation[view] [edit] [history] [purge]

Usage

This template formats IPA transcriptions and links them to Help:IPA/French. 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 French pronunciation: appears:

  • {{IPA-fr|o}}French pronunciation: ​[o]
  • {{IPA-fr|o|pron}}pronounced [o]
  • {{IPA-fr|o|lang}}French: [o]
  • {{IPA-fr|o|IPA}}IPA: [o]
  • {{IPA-fr|o|local}}locally [o]
  • {{IPA-fr|o|}}[o]

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

  • {{IPA-fr|o|IPA|Fr-eau.ogg}}IPA: [o] (About this soundlisten)

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

  • {{IPA-fr|o|-|Fr-eau.ogg}}French pronunciation: [o] (About this soundlisten)

Template:Usage of IPA templates


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for IPA-fr

Gives IPA pronunciation for French text

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
IPA pronunciation1

The IPA pronunciation of the text

Example
pʁezidɑ̃t‿a mɔʁtje
Linerequired
lede2

controls the lede (label) before the IPA text

Example
-, pron, IPA, local, lang
Lineoptional
sound file3

A sound file for the pronunciation

Example
Fr-eau.ogg
Fileoptional