Difference between revisions of "Template:IPA-ca"

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=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 for Catalan|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude>
+
<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>
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Revision as of 15:34, 5 August 2017

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

50px 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] (Audio file "Es-tú.ogg " not found)

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

  • {{IPA-ca|tu|-|Es-tú.ogg}} → Catalan pronunciation: [tu] (Audio file "Es-tú.ogg " not found)

Template:Usage of IPA templates

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