Difference between revisions of "Template:IPA-gl/doc"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
m (→‎Usage: fixing links to IPA key pages using AWB)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 24: Line 24:
  
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:IPA language templates|{{PAGENAME}}]]
 
[[Category:IPA language templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:07, 25 April 2020

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