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>Nardog
m (→‎top: fixing links to IPA key pages using AWB)
 
(15 intermediate revisions by 9 users not shown)
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=Galician:&nbsp;|eo=Eonavian pronunciation:&nbsp;|langeo=Eonavian:&nbsp;|pron=pronounced&nbsp;|local=locally&nbsp;|=|Galician pronunciation:&nbsp;}}</small>{{IPA|[[Help:IPA/Galician|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude>
{{pp-template|small=yes}}
+
<noinclude>{{documentation}}</noinclude>
 
 
==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 {{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 ''Spanish pronunciation:'' appears:
 
*<code><nowiki>{{IPA-gl|tu}}</nowiki></code> → {{IPA-gl|tu}}
 
*<code><nowiki>{{IPA-gl|tu|pron}}</nowiki></code> → {{IPA-gl|tu|pron}}
 
*<code><nowiki>{{IPA-gl|tu|lang}}</nowiki></code> → {{IPA-gl|tu|lang}}
 
*<code><nowiki>{{IPA-gl|tu|IPA}}</nowiki></code> → {{IPA-gl|tu|IPA}}
 
*<code><nowiki>{{IPA-gl|tu|}}</nowiki></code> → {{IPA-gl|tu|}}
 
 
 
Any of these may be combined with a sound file in an optional third cell:
 
*<code><nowiki>{{IPA-gl|tu|IPA|Tú.ogg}}</nowiki></code> → {{IPA-gl|tu|IPA|Tú.ogg}}
 
 
 
For the default lede, however, a placeholder such as ‹-› is required in the second cell:
 
*<code><nowiki>{{IPA-gl|tu|-|Tú.ogg}}</nowiki></code> → {{IPA-gl|tu|-|Tú.ogg}}
 
 
 
{{usage of IPA templates}}
 
 
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
 
 
[[Category:IPA templates|{{PAGENAME}}]]
 
 
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 

Latest revision as of 15:35, 5 August 2017

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

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

Usage

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

  • {{IPA-gl|tu}}Galician pronunciation: [tu]
  • {{IPA-gl|tu|pron}}pronounced [tu]
  • {{IPA-gl|tu|lang}}Galician: [tu]
  • {{IPA-gl|tu|eo}}Eonavian pronunciation: [tu]
  • {{IPA-gl|tu|langeo}}Eonavian: [tu]
  • {{IPA-gl|tu|local}}locally [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|Es-tú.ogg}}IPA: [tu] (About this soundlisten)

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

  • {{IPA-gl|tu|-|Es-tú.ogg}}Galician pronunciation: [tu] (About this soundlisten)

Template:Usage of IPA templates