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

From blackwiki
Jump to navigation Jump to search
imported>Yahia.barie
(-)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
  
 
==Usage==
 
==Usage==
This template formats IPA transcriptions and links them to [[WP:IPA for Portuguese|WP:IPA for Galician and 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 [[Help:IPA/Portuguese|Help:IPA/Galician and 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.  
  
 
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:  
 
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:  
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