Difference between revisions of "Template:IPA-de"

From IntactiWiki
Jump to navigation Jump to search
(created from WP)
 
m (small)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude><small>{{#switch: {{{2}}}
+
<includeonly><small>{{#switch: {{{2}}}
 
  |IPA=IPA:&#32;
 
  |IPA=IPA:&#32;
 
  |lang=German:&#32;
 
  |lang=German:&#32;
Line 9: Line 9:
 
  |=
 
  |=
 
  |German pronunciation:&#32;
 
  |German pronunciation:&#32;
}}</small>{{IPA|lang=de{{#switch:{{{2|}}}|at|langat=-AT|ch|langch=-CH}}}}{{#if:{{{3|}}}
+
}}</small>{{{1}}}</includeonly><noinclude>
|{{IPA audio link|{{{3}}} }}
+
== Usage ==
}}</onlyinclude>
+
 
 +
This template formats IPA transcriptions<!-- and links them to Help:IPA/Standard German. 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:
 +
 
 +
* <code>pron</code> → "pronounced"
 +
* <code>lang</code> → "German:"
 +
* <code>at</code> → "Austrian German pronunciation:"
 +
* <code>langat</code> → "Austrian German:"
 +
* <code>ch</code> → "Swiss Standard German pronunciation:"
 +
* <code>langch</code> → "Swiss Standard German:"
 +
* <code>IPA</code> → "IPA:"
 +
 
 +
With no second parameter, the leading text "German pronunciation:" will be used; an empty second parameter will show no leading text.
 +
 
 +
== Example ==
 +
<nowiki>{{IPA-de|ˈʊlf ˈdʊnkəl|pron}}</nowiki>
 +
 
 +
{{IPA-de|ˈʊlf ˈdʊnkəl|pron}}
 +
</noinclude>

Latest revision as of 20:40, 7 August 2022

Usage

This template formats IPA transcriptions.

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 → "German:"
  • at → "Austrian German pronunciation:"
  • langat → "Austrian German:"
  • ch → "Swiss Standard German pronunciation:"
  • langch → "Swiss Standard German:"
  • IPA → "IPA:"

With no second parameter, the leading text "German pronunciation:" will be used; an empty second parameter will show no leading text.

Example

{{IPA-de|ˈʊlf ˈdʊnkəl|pron}}

pronounced ˈʊlf ˈdʊnkəl