Difference between revisions of "Template:IPA-ca/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)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
  
 
==Usage==
 
==Usage==
This template formats IPA transcriptions and links them to [[WP:IPA for Catalan]]. 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/Catalan]]. 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 ''Catalan 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 ''Catalan pronunciation:'' appears:  
Line 9: Line 9:
 
*<code><nowiki>{{IPA-ca|tu|pron}}</nowiki></code> → {{IPA-ca|tu|pron}}
 
*<code><nowiki>{{IPA-ca|tu|pron}}</nowiki></code> → {{IPA-ca|tu|pron}}
 
*<code><nowiki>{{IPA-ca|tu|lang}}</nowiki></code> → {{IPA-ca|tu|lang}}
 
*<code><nowiki>{{IPA-ca|tu|lang}}</nowiki></code> → {{IPA-ca|tu|lang}}
*<code><nowiki>{{IPA-ca|tu|va}}</nowiki></code> → {{IPA-ca|tu|va}}
 
*<code><nowiki>{{IPA-ca|tu|langva}}</nowiki></code> → {{IPA-ca|tu|langva}}
 
 
*<code><nowiki>{{IPA-ca|tu|local}}</nowiki></code> → {{IPA-ca|tu|local}}
 
*<code><nowiki>{{IPA-ca|tu|local}}</nowiki></code> → {{IPA-ca|tu|local}}
*<code><nowiki>{{IPA-ca|tu|alt}}</nowiki></code> → {{IPA-ca|tu|alt}}
 
 
*<code><nowiki>{{IPA-ca|tu|ec}}</nowiki></code> → {{IPA-ca|tu|ec}}
 
*<code><nowiki>{{IPA-ca|tu|ec}}</nowiki></code> → {{IPA-ca|tu|ec}}
 
*<code><nowiki>{{IPA-ca|tu|wc}}</nowiki></code> → {{IPA-ca|tu|wc}}
 
*<code><nowiki>{{IPA-ca|tu|wc}}</nowiki></code> → {{IPA-ca|tu|wc}}
Line 26: Line 23:
 
{{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. -->
  
Line 33: Line 30:
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
[[bn:টেমপ্লেট:IPA-ca]]
 
[[bn:টেমপ্লেট:IPA-ca]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:06, 25 April 2020

Usage

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

  • {{IPA-ca|tu}}Catalan pronunciation: [tu]
  • {{IPA-ca|tu|pron}}pronounced [tu]
  • {{IPA-ca|tu|lang}}Catalan: [tu]
  • {{IPA-ca|tu|local}}locally [tu]
  • {{IPA-ca|tu|ec}}Eastern Catalan: [tu]
  • {{IPA-ca|tu|wc}}Western Catalan: [tu]
  • {{IPA-ca|tu|IPA}}IPA: [tu]
  • {{IPA-ca|tu|}}[tu]

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

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

Template:Usage of IPA templates