Template:IPA-ksh/doc

From blackwiki
< Template:IPA-ksh
Revision as of 13:33, 29 February 2012 by imported>Matthiaspaul (→‎See also: Added See also links to two other German language-related IPA templates)
Jump to navigation Jump to search

Usage

This template formats IPA transcriptions and links them to WP:IPA for 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:

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

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ʃ|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ʃ|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