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

From blackwiki
Jump to navigation Jump to search
imported>Nardog
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 59: Line 59:
 
* [[Template:IPA-ksh]]
 
* [[Template:IPA-ksh]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
  
Line 68: Line 68:
 
<!-- PLEASE ADD INTERWIKIS AFTER THIS LINE, THANKS. -->
 
<!-- PLEASE ADD INTERWIKIS AFTER THIS LINE, THANKS. -->
  
</includeonly>
+
}}</includeonly>

Latest revision as of 22:06, 25 April 2020


Usage

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:

  • 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.

Code Rendered as
{{IPA-de|ɪç|}} [ɪç]
{{IPA-de|ɪç|IPA}} IPA: [ɪç]
{{IPA-de|ɪç|lang}} German: [ɪç]
{{IPA-de|ɪç|pron}} pronounced [ɪç]
{{IPA-de|ɪç}} German pronunciation: [ɪç]

Any of these may be combined with a sound file in an optional third parameter:
{{IPA-de|ɪç||De-ich.ogg}} [ɪç] (About this soundlisten)
{{IPA-de|ɪç|IPA|De-ich.ogg}} IPA: [ɪç] (About this soundlisten)
{{IPA-de|ɪç|lang|De-ich.ogg}} German: [ɪç] (About this soundlisten)
{{IPA-de|ɪç|pron|De-ich.ogg}} pronounced [ɪç] (About this soundlisten)

To display the default leading text, a placeholder such as ‹-› is required as the second parameter:
{{IPA-de|ɪç|-|De-ich.ogg}} German pronunciation: [ɪç] (About this soundlisten)

Template:Usage of IPA templates

See also