Jump to content

Template:IPA-pt: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
IPA for Portuguese is up
WP:IPA for Portuguese isn't ready yet, I'm still working on it!
Line 1: Line 1:
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=Portuguese:&nbsp;|pron=pronounced&nbsp;|eu=European Portuguese:&nbsp;|br=Brazilian Portuguese:&nbsp;|=|Portuguese pronunciation:&nbsp;}}</small><span title="Pronunciation in IPA" class="IPA">[[Wikipedia:IPA for Portuguese|[{{{1}}}]]]</span><small>{{#if:{{{3|}}}|&nbsp; ([[File:Speaker Icon.svg|13px|link=:Media:{{{3|}}}]] [[:Media:{{{3|}}}|listen]])}}</small></onlyinclude>
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=Portuguese:&nbsp;|pron=pronounced&nbsp;|eu=European Portuguese:&nbsp;|br=Brazilian Portuguese:&nbsp;|=|Portuguese pronunciation:&nbsp;}}</small><span title="Pronunciation in IPA" class="IPA">[[Portuguese phonology|[{{{1}}}]]]</span><small>{{#if:{{{3|}}}|&nbsp; ([[File:Speaker Icon.svg|13px|link=:Media:{{{3|}}}]] [[:Media:{{{3|}}}|listen]])}}</small></onlyinclude>
{{pp-template|small=yes}}
{{pp-template|small=yes}}


==Usage==
==Usage==
This template formats IPA transcriptions and links them to [[WP:IPA for Portuguese]]. The transcription should match the conventions of that key; for narrower dialect transcriptions, use {{tl|IPA-all}}, which links to a more complete IPA key.
This template formats IPA transcriptions and links them to [[Portuguese phonology]]. The transcription should match the conventions of that key; for narrower dialect transcriptions, use {{tl|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 ''Portuguese pronunciation:'' appears:
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 ''Portuguese pronunciation:'' appears:

Revision as of 05:33, 11 June 2009

Portuguese pronunciation: [{{{1}}}]

Usage

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

  • {{IPA-pt|bo}}Portuguese pronunciation: [bo]
  • {{IPA-pt|bo|pron}}pronounced [bo]
  • {{IPA-pt|bo|lang}}Portuguese: [bo]
  • {{IPA-pt|bo|eu}}European Portuguese: [bo]
  • {{IPA-pt|bo|br}}Brazilian Portuguese: [bo]
  • {{IPA-pt|bo|IPA}}IPA: [bo]
  • {{IPA-pt|bo|}}[bo]

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

  • {{IPA-pt|bo|IPA|Pt-br-bo.ogg}}IPA: [bo]  ( listen)

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

  • {{IPA-pt|bo|-|Pt-br-bo.ogg}}Portuguese pronunciation: [bo]  ( listen)