Difference between revisions of "Template:IPA-ca"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
m (→‎top: fixing links to IPA key pages using AWB)
imported>Nardog
(IPA-va exists)
 
Line 1: Line 1:
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=Catalan:&nbsp;|langva=Valencian:&nbsp;|pron=pronounced&nbsp;|va=Valencian pronunciation:&nbsp;|ec=Eastern Catalan:&nbsp;|wc=Western Catalan:&nbsp;|local=locally&nbsp;|alt=or&nbsp;|=|Catalan pronunciation:&nbsp;}}</small>{{IPA|[[Help:IPA/Catalan|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude>
+
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=Catalan:&nbsp;|pron=pronounced&nbsp;|ec=Eastern Catalan:&nbsp;|wc=Western Catalan:&nbsp;|local=locally&nbsp;|=|Catalan pronunciation:&nbsp;}}</small>{{IPA|[[Help:IPA/Catalan|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude>
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Latest revision as of 13:40, 24 January 2019

Catalan pronunciation: [{{{1}}}]

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

Usage

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

  • {{IPA-ca|tu}}Catalan pronunciation: [tu]
  • {{IPA-ca|tu|pron}}pronounced [tu]
  • {{IPA-ca|tu|lang}}Catalan: [tu]
  • {{IPA-ca|tu|local}}locally [tu]
  • {{IPA-ca|tu|ec}}Eastern Catalan: [tu]
  • {{IPA-ca|tu|wc}}Western Catalan: [tu]
  • {{IPA-ca|tu|IPA}}IPA: [tu]
  • {{IPA-ca|tu|}}[tu]

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

  • {{IPA-ca|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-ca|tu|-|Es-tú.ogg}}Catalan pronunciation: [tu] (About this soundlisten)

Template:Usage of IPA templates

bn:টেমপ্লেট:IPA-ca