Difference between revisions of "Template:IPA-de"

From IntactiWiki
Jump to navigation Jump to search
(added Usage and Example)
m (small)
 
Line 1: Line 1:
<includeonly>{{#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;
}}{{{1}}}</includeonly><noinclude>
+
}}</small>{{{1}}}</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
  
Line 29: Line 29:
 
  <nowiki>{{IPA-de|ˈʊlf ˈdʊnkəl|pron}}</nowiki>
 
  <nowiki>{{IPA-de|ˈʊlf ˈdʊnkəl|pron}}</nowiki>
  
{{IPA-de|ˈʊlf ˈdʊnkəl|prom}}
+
{{IPA-de|ˈʊlf ˈdʊnkəl|pron}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21: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