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

From blackwiki
Jump to navigation Jump to search
imported>Nardog
m (→‎Usage: fixing links to IPA key pages using AWB)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 67: Line 67:
 
* [[Template:IPA-gsw]]
 
* [[Template:IPA-gsw]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:IPA language templates|{{PAGENAME}}]]
 
[[Category:IPA language templates|{{PAGENAME}}]]
  
 
[[ja:Template:IPA-ksh]]
 
[[ja:Template:IPA-ksh]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:07, 25 April 2020

Usage

This template formats IPA transcriptions and links them to Help:IPA/Colognian (Kölsch). The transcription should match the conventions of that page; for narrower dialect transcriptions, use {{IPA-all}}, which links to a more complete IPA page.

The first parameter in the template is for the transcription, and a second optional parameter is a switch that controls the leading text:

  • |IPA= → "IPA:"
  • |lang= → "Colognian (Kölsch):"
  • |link= → "Colognian (Kölsch):"
  • |local= → "local:"
  • |pron= → "pronounced"

With no second parameter, the leading text "Colognian (Kölsch) pronunciation:" will be used; an empty second parameter will show no leading text.

Code Rendered as
{{IPA-ksh|iɧ|}} [iɧ]
{{IPA-ksh|iɧ|IPA}} IPA: [iɧ]
{{IPA-ksh|iɧ|lang}} Colognian: [iɧ]
{{IPA-ksh|iɧ|link}} Colognian (Kölsch): [iɧ]
{{IPA-ksh|iɧ|local}} local pronunciation: [iɧ]
{{IPA-ksh|iɧ|pron}} pronounced [iɧ]
{{IPA-ksh|iɧ}} Colognian pronunciation: [iɧ]

Any of these may be combined with a sound file in an optional third parameter:
{{IPA-ksh|iɧ||Ksh-isch.ogg}} [iɧ] (Audio file "Ksh-isch.ogg " not found)
{{IPA-ksh|iɧ|IPA|Ksh-isch.ogg}} IPA: [iɧ] (Audio file "Ksh-isch.ogg " not found)
{{IPA-ksh|iɧ|lang|Ksh-isch.ogg}} Colognian: [iɧ] (Audio file "Ksh-isch.ogg " not found)
{{IPA-ksh|iɧ|link|Ksh-isch.ogg}} Colognian (Kölsch): [iɧ] (Audio file "Ksh-isch.ogg " not found)
{{IPA-ksh|iɧ|local|Ksh-isch.ogg}} local pronunciation: [iɧ] (Audio file "Ksh-isch.ogg " not found)
{{IPA-ksh|iɧ|pron|Ksh-isch.ogg}} pronounced [iɧ] (Audio file "Ksh-isch.ogg " not found)

To display the default leading text, a placeholder such as ‹-› is required as the second parameter:
{{IPA-ksh|iɧ|-|Ksh-isch.ogg}} Colognian pronunciation: [iɧ] (Audio file "Ksh-isch.ogg " not found)

Template:Usage of IPA templates

See also