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

From blackwiki
Jump to navigation Jump to search
imported>Matthiaspaul
(→‎See also: Added See also links to two other German language-related IPA templates)
imported>Matthiaspaul
(→‎Usage: Improved pronounciation)
Line 13: Line 13:
 
!Code!!Rendered as
 
!Code!!Rendered as
 
|-
 
|-
|<code><nowiki>{{IPA-ksh||}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh||}}</nowiki></code>
|{{IPA-ksh||}}
+
|{{IPA-ksh||}}
 
|-
 
|-
|<code><nowiki>{{IPA-ksh||IPA}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh||IPA}}</nowiki></code>
|{{IPA-ksh||IPA}}
+
|{{IPA-ksh||IPA}}
 
|-
 
|-
|<code><nowiki>{{IPA-ksh||lang}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh||lang}}</nowiki></code>
|{{IPA-ksh||lang}}
+
|{{IPA-ksh||lang}}
 
|-
 
|-
|<code><nowiki>{{IPA-ksh||pron}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh||pron}}</nowiki></code>
|{{IPA-ksh||pron}}
+
|{{IPA-ksh||pron}}
 
|-
 
|-
|<code><nowiki>{{IPA-ksh|}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh|}}</nowiki></code>
|{{IPA-ksh|}}
+
|{{IPA-ksh|}}
 
|-
 
|-
 
|colspan=2|<br />Any of these may be combined with a sound file in an optional third parameter:
 
|colspan=2|<br />Any of these may be combined with a sound file in an optional third parameter:
 
|-
 
|-
|<code><nowiki>{{IPA-ksh|||Ksh-isch.ogg}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh|||Ksh-isch.ogg}}</nowiki></code>
|{{IPA-ksh|||Ksh-isch.ogg}}
+
|{{IPA-ksh|||Ksh-isch.ogg}}
 
|-
 
|-
|<code><nowiki>{{IPA-ksh||IPA|Ksh-isch.ogg}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh||IPA|Ksh-isch.ogg}}</nowiki></code>
|{{IPA-ksh||IPA|Ksh-isch.ogg}}
+
|{{IPA-ksh||IPA|Ksh-isch.ogg}}
 
|-
 
|-
|<code><nowiki>{{IPA-ksh||lang|Ksh-isch.ogg}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh||lang|Ksh-isch.ogg}}</nowiki></code>
|{{IPA-ksh||lang|Ksh-isch.ogg}}
+
|{{IPA-ksh||lang|Ksh-isch.ogg}}
 
|-
 
|-
|<code><nowiki>{{IPA-ksh||pron|Ksh-isch.ogg}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh||pron|Ksh-isch.ogg}}</nowiki></code>
|{{IPA-ksh||pron|Ksh-isch.ogg}}
+
|{{IPA-ksh||pron|Ksh-isch.ogg}}
 
|-
 
|-
 
|colspan=2|<br />To display the default leading text, a placeholder such as ‹-› is required as the second parameter:
 
|colspan=2|<br />To display the default leading text, a placeholder such as ‹-› is required as the second parameter:
 
|-
 
|-
|<code><nowiki>{{IPA-ksh||-|Ksh-isch.ogg}}</nowiki></code>
+
|<code><nowiki>{{IPA-ksh||-|Ksh-isch.ogg}}</nowiki></code>
|{{IPA-ksh||-|Ksh-isch.ogg}}
+
|{{IPA-ksh||-|Ksh-isch.ogg}}
 
|}
 
|}
 
{{usage of IPA templates}}
 
{{usage of IPA templates}}

Revision as of 18:18, 29 February 2012

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