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

From blackwiki
Jump to navigation Jump to search
imported>Sorakara023
(add ja)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
  
 
== Usage ==
 
== 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 {{tl|IPA-all}}, which links to a more complete IPA page.
+
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 {{tl|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:
 
The first parameter in the template is for the transcription, and a second optional parameter is a switch that controls the leading text:
 +
*{{Para|IPA}} → "IPA:"
 +
*{{Para|lang}} → "Colognian (Kölsch):"
 +
*{{Para|link}} → "[[Colognian language|Colognian (Kölsch)]]:"
 +
*{{Para|local}} → "local:"
 
*{{Para|pron}} → "pronounced"
 
*{{Para|pron}} → "pronounced"
*{{Para|lang}} → "Colognian (Kölsch):"
+
With no second parameter, the leading text "Colognian (Kölsch) pronunciation:" will be used; an empty second parameter will show no leading text.
*{{Para|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.
 
 
{| class="wikitable"
 
{| class="wikitable"
 
!Code!!Rendered as
 
!Code!!Rendered as
Line 21: Line 23:
 
|<code><nowiki>{{IPA-ksh|iɧ|lang}}</nowiki></code>
 
|<code><nowiki>{{IPA-ksh|iɧ|lang}}</nowiki></code>
 
|{{IPA-ksh|iɧ|lang}}
 
|{{IPA-ksh|iɧ|lang}}
 +
|-
 +
|<code><nowiki>{{IPA-ksh|iɧ|link}}</nowiki></code>
 +
|{{IPA-ksh|iɧ|link}}
 +
|-
 +
|<code><nowiki>{{IPA-ksh|iɧ|local}}</nowiki></code>
 +
|{{IPA-ksh|iɧ|local}}
 
|-
 
|-
 
|<code><nowiki>{{IPA-ksh|iɧ|pron}}</nowiki></code>
 
|<code><nowiki>{{IPA-ksh|iɧ|pron}}</nowiki></code>
Line 38: Line 46:
 
|<code><nowiki>{{IPA-ksh|iɧ|lang|Ksh-isch.ogg}}</nowiki></code>
 
|<code><nowiki>{{IPA-ksh|iɧ|lang|Ksh-isch.ogg}}</nowiki></code>
 
|{{IPA-ksh|iɧ|lang|Ksh-isch.ogg}}
 
|{{IPA-ksh|iɧ|lang|Ksh-isch.ogg}}
 +
|-
 +
|<code><nowiki>{{IPA-ksh|iɧ|link|Ksh-isch.ogg}}</nowiki></code>
 +
|{{IPA-ksh|iɧ|link|Ksh-isch.ogg}}
 +
|-
 +
|<code><nowiki>{{IPA-ksh|iɧ|local|Ksh-isch.ogg}}</nowiki></code>
 +
|{{IPA-ksh|iɧ|local|Ksh-isch.ogg}}
 
|-
 
|-
 
|<code><nowiki>{{IPA-ksh|iɧ|pron|Ksh-isch.ogg}}</nowiki></code>
 
|<code><nowiki>{{IPA-ksh|iɧ|pron|Ksh-isch.ogg}}</nowiki></code>
Line 53: 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