Template:IPA-de: Difference between revisions

WikiAdmin (talk | contribs)
created from WP
 
WikiAdmin (talk | contribs)
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>