Difference between revisions of "Template:IPA-ext"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
(per the majority of similar templates)
imported>Nardog
m (→‎top: fixing links to IPA key pages using AWB)
 
Line 1: Line 1:
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=Extremaduran:&nbsp;|pron=pronounced&nbsp;|local=locally&nbsp;|=|Extremaduran pronunciation:&nbsp;}}</small>{{IPA|[[Help:IPA for Astur-Leonese|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude>
+
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=Extremaduran:&nbsp;|pron=pronounced&nbsp;|local=locally&nbsp;|=|Extremaduran pronunciation:&nbsp;}}</small>{{IPA|[[Help:IPA/Astur-Leonese|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude>
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Latest revision as of 15:34, 5 August 2017

Extremaduran pronunciation: [{{{1}}}]

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

Usage

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

  • {{IPA-ext|tu}}Extremaduran pronunciation: [tu]
  • {{IPA-ext|tu|pron}}pronounced [tu]
  • {{IPA-ext|tu|lang}}Extremaduran: [tu]
  • {{IPA-ext|tu|local}}locally [tu]
  • {{IPA-ext|tu|IPA}}IPA: [tu]
  • {{IPA-ext|tu|}}[tu]

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

  • {{IPA-ext|tu|IPA|Es-tú.ogg}}IPA: [tu] (About this soundlisten)

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

  • {{IPA-ext|tu|-|Es-tú.ogg}}Extremaduran pronunciation: [tu] (About this soundlisten)

Template:Usage of IPA templates