Difference between revisions of "Template:IPA-gl"

From blackwiki
Jump to navigation Jump to search
imported>AdriLugo
(Created page with '<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA: |lang=Spanish: |pron=pronounced |local=local pronunciation: |locally=locally: |=|Galician p...')
 
imported>Avicennasis
m (Cleanup per Category:Wikipedia pages with incorrect protection templates. You can help!)
Line 1: Line 1:
 
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=Spanish:&nbsp;|pron=pronounced&nbsp;|local=local pronunciation:&nbsp;|locally=locally:&nbsp;|=|Galician pronunciation:&nbsp;}}</small><span title="Pronunciation in IPA" class="IPA">[[WP:IPA for Galician|[{{{1}}}]]]</span><small>{{#if:{{{3|}}}|&nbsp; {{nowrap|([[File:Speaker Icon.svg|13px|link=|alt=]] [[:Media:{{{3|}}}|listen]])}}}}</small></onlyinclude>
 
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=Spanish:&nbsp;|pron=pronounced&nbsp;|local=local pronunciation:&nbsp;|locally=locally:&nbsp;|=|Galician pronunciation:&nbsp;}}</small><span title="Pronunciation in IPA" class="IPA">[[WP:IPA for Galician|[{{{1}}}]]]</span><small>{{#if:{{{3|}}}|&nbsp; {{nowrap|([[File:Speaker Icon.svg|13px|link=|alt=]] [[:Media:{{{3|}}}|listen]])}}}}</small></onlyinclude>
{{pp-template|small=yes}}
 
  
 
==Usage==
 
==Usage==

Revision as of 07:54, 1 July 2010

Galician pronunciation: [{{{1}}}]

Usage

This template formats IPA transcriptions and links them to WP:IPA for Galician. 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 Spanish pronunciation: appears:

  • {{IPA-gl|tu}}Galician pronunciation: [tu]
  • {{IPA-gl|tu|pron}}pronounced [tu]
  • {{IPA-gl|tu|lang}}Spanish: [tu]
  • {{IPA-gl|tu|IPA}}IPA: [tu]
  • {{IPA-gl|tu|}}[tu]

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

  • {{IPA-gl|tu|IPA|Tú.ogg}}IPA: [tu]  ( listen)

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

  • {{IPA-gl|tu|-|Tú.ogg}}Galician pronunciation: [tu]  ( listen)

Template:Usage of IPA templates