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

From blackwiki
Jump to navigation Jump to search
imported>Nuvolet
({{IPA-es|x|local}})
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(7 intermediate revisions by 6 users not shown)
Line 3: Line 3:
  
 
==Usage==
 
==Usage==
This template formats IPA transcriptions and links them to [[WP:IPA for Spanish]]. 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/Spanish]]. 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:  
 
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:  
Line 9: Line 9:
 
*<code><nowiki>{{IPA-es|tu|pron}}</nowiki></code> → {{IPA-es|tu|pron}}
 
*<code><nowiki>{{IPA-es|tu|pron}}</nowiki></code> → {{IPA-es|tu|pron}}
 
*<code><nowiki>{{IPA-es|tu|lang}}</nowiki></code> → {{IPA-es|tu|lang}}
 
*<code><nowiki>{{IPA-es|tu|lang}}</nowiki></code> → {{IPA-es|tu|lang}}
 +
*<code><nowiki>{{IPA-es|tu|am}}</nowiki></code> → {{IPA-es|tu|am}}
 
*<code><nowiki>{{IPA-es|tu|local}}</nowiki></code> → {{IPA-es|tu|local}}
 
*<code><nowiki>{{IPA-es|tu|local}}</nowiki></code> → {{IPA-es|tu|local}}
 
*<code><nowiki>{{IPA-es|tu|IPA}}</nowiki></code> → {{IPA-es|tu|IPA}}
 
*<code><nowiki>{{IPA-es|tu|IPA}}</nowiki></code> → {{IPA-es|tu|IPA}}
Line 21: Line 22:
 
{{usage of IPA templates}}
 
{{usage of IPA templates}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
  
[[Category:IPA templates|{{PAGENAME}}]]
+
[[Category:IPA language templates|{{PAGENAME}}]]
  
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
[[th:แม่แบบ:IPA-es]]
+
}}</includeonly>
</includeonly>
 

Latest revision as of 22:06, 25 April 2020

Usage

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

  • {{IPA-es|tu}}Spanish pronunciation: [tu]
  • {{IPA-es|tu|pron}}pronounced [tu]
  • {{IPA-es|tu|lang}}Spanish: [tu]
  • {{IPA-es|tu|am}}American Spanish: [tu]
  • {{IPA-es|tu|local}}locally [tu]
  • {{IPA-es|tu|IPA}}IPA: [tu]
  • {{IPA-es|tu|}}[tu]

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

  • {{IPA-es|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-es|tu|-|Es-tú.ogg}}Spanish pronunciation: [tu] (About this soundlisten)

Template:Usage of IPA templates