Difference between revisions of "Template:IPA-aus"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
m (→‎top: fixing links to IPA key pages using AWB)
imported>Nardog
(use {{IPA audio link}})
 
Line 1: Line 1:
<onlyinclude><small>{{#if: {{{2|}}}|{{#switch: {{{2}}}|lang=Aboriginal:&nbsp;|pron=pronounced&nbsp;|IPA=IPA:&nbsp;|-=Aboriginal pronunciation:&nbsp;|{{{2}}}&nbsp;}}|{{#if: {{{2}}}|Aboriginal pronunciation:&nbsp;}}}}</small>{{IPA|[[Help:IPA/Australian languages|[{{{1}}}]]]}}<small>{{#if:{{{3|}}}|&nbsp; {{nowrap|([[File:Speaker Icon.svg|13px|link=|alt=]] [[:Media:{{{3|}}}|listen]])}}}}</small></onlyinclude>
+
<onlyinclude><small>{{#if: {{{2|}}}|{{#switch: {{{2}}}|lang=Aboriginal:&nbsp;|pron=pronounced&nbsp;|IPA=IPA:&nbsp;|-=Aboriginal pronunciation:&nbsp;|{{{2}}}&nbsp;}}|{{#if: {{{2}}}|Aboriginal pronunciation:&nbsp;}}}}</small>{{IPA|[[Help:IPA/Australian languages|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude>
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Latest revision as of 12:39, 8 October 2017

Aboriginal pronunciation: [{{{1}}}]

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

Usage

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

  • {{IPA-aus|o}}Aboriginal pronunciation: [o]
  • {{IPA-aus|o|pron}}pronounced [o]
  • {{IPA-aus|o|lang}}Aboriginal: [o]
  • {{IPA-aus|o|IPA}}IPA: [o]
  • {{IPA-aus|o|}}[o]

The name of a specific language may be used instead:

  • {{IPA-aus|o|Gamilaraay}}Gamilaraay [o]
  • {{IPA-aus|o|[[Gamilaraay language|Gamilaraay]] pronunciation}}Gamilaraay pronunciation [o]

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

  • {{IPA-aus|o|IPA|Test.ogv}}IPA: [o] (About this soundlisten)

For the default lede, however, a placeholder hyphen is required in the second cell:

  • {{IPA-aus|o||Test.ogv}}[o] (About this soundlisten)
  • {{IPA-aus|o|-|Test.ogv}}Aboriginal pronunciation: [o] (About this soundlisten)

See also