Difference between revisions of "Template:IPA-gl"

From blackwiki
Jump to navigation Jump to search
imported>CommonsDelinker
m (Replacing Tú.ogg with File:Es-tú.ogg (by ZooFari because: File renamed: Standardized name for pronouncation files.).)
imported>WOSlinker
(move docs to subpage)
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>
 
+
<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|Es-tú.ogg}}</nowiki></code> → {{IPA-gl|tu|IPA|Es-tú.ogg}}
 
 
 
For the default lede, however, a placeholder such as ‹-› is required in the second cell:
 
*<code><nowiki>{{IPA-gl|tu|-|Es-tú.ogg}}</nowiki></code> → {{IPA-gl|tu|-|Es-tú.ogg}}
 
 
 
{{usage of IPA templates}}
 
 
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
 
 
[[Category:IPA templates|{{PAGENAME}}]]
 
 
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 

Revision as of 11:04, 5 October 2010

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}}Spanish: [tu]
  • {{IPA-gl|tu|eo}}Galician pronunciation: [tu]
  • {{IPA-gl|tu|langeo}}Galician pronunciation: [tu]
  • {{IPA-gl|tu|local}}local pronunciation: [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]  ( listen)

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

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

Template:Usage of IPA templates