Revision as of 08:18, 9 June 2009 view sourceKwamikagami (talk | contribs)Autopatrolled, Extended confirmed users, Template editors475,368 edits →Usage← Previous edit | Revision as of 07:00, 27 June 2009 view source Kwamikagami (talk | contribs)Autopatrolled, Extended confirmed users, Template editors475,368 editsm nowrap using AWBNext edit → | ||
Line 1: | Line 1: | ||
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA: |lang=German: |pron=pronounced |=|German pronunciation: }}</small><span title="Pronunciation in IPA" class="IPA">]]</span><small>{{#if:{{{3|}}}| (] ])}}</small></onlyinclude> | <onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA: |lang=German: |pron=pronounced |=|German pronunciation: }}</small><span title="Pronunciation in IPA" class="IPA">]]</span><small>{{#if:{{{3|}}}| {{nowrap|(] ])}}}}</small></onlyinclude> | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
Line 6: | Line 6: | ||
The first cell in the template is for the transcription, and a second optional cell is a switch that controls the lede. With no second value, the lede ''German pronunciation:'' appears: | The first cell in the template is for the transcription, and a second optional cell is a switch that controls the lede. With no second value, the lede ''German pronunciation:'' appears: | ||
*<code><nowiki>{{IPA-de|iç}}</nowiki></code> |
*<code><nowiki>{{IPA-de|iç}}</nowiki></code> → {{IPA-de|iç}} | ||
*<code><nowiki>{{IPA-de|iç|pron}}</nowiki></code> |
*<code><nowiki>{{IPA-de|iç|pron}}</nowiki></code> → {{IPA-de|iç|pron}} | ||
*<code><nowiki>{{IPA-de|iç|lang}}</nowiki></code> |
*<code><nowiki>{{IPA-de|iç|lang}}</nowiki></code> → {{IPA-de|iç|lang}} | ||
*<code><nowiki>{{IPA-de|iç|IPA}}</nowiki></code> |
*<code><nowiki>{{IPA-de|iç|IPA}}</nowiki></code> → {{IPA-de|iç|IPA}} | ||
*<code><nowiki>{{IPA-de|iç|}}</nowiki></code> |
*<code><nowiki>{{IPA-de|iç|}}</nowiki></code> → {{IPA-de|iç|}} | ||
Any of these may be combined with a sound file in an optional third cell: | Any of these may be combined with a sound file in an optional third cell: | ||
*<code><nowiki>{{IPA-de|iç|IPA|De-ich.ogg}}</nowiki></code> |
*<code><nowiki>{{IPA-de|iç|IPA|De-ich.ogg}}</nowiki></code> → {{IPA-de|iç|IPA|De-ich.ogg}} | ||
For the default lede, however, a placeholder such as ‹-› is required in the second cell: | For the default lede, however, a placeholder such as ‹-› is required in the second cell: | ||
*<code><nowiki>{{IPA-de|iç|-|De-ich.ogg}}</nowiki></code> |
*<code><nowiki>{{IPA-de|iç|-|De-ich.ogg}}</nowiki></code> → {{IPA-de|iç|-|De-ich.ogg}} | ||
{{usage of IPA templates}} | {{usage of IPA templates}} |
Revision as of 07:00, 27 June 2009
Usage
This template formats IPA transcriptions and links them to WP:IPA for German. The transcription should match the conventions of that key; for narrower dialect transcriptions, use {{IPA-all}}, which links to a more complete IPA key.
The first cell in the template is for the transcription, and a second optional cell is a switch that controls the lede. With no second value, the lede German pronunciation: appears:
{{IPA-de|iç}}
→ German pronunciation:{{IPA-de|iç|pron}}
→ pronounced{{IPA-de|iç|lang}}
→ German:{{IPA-de|iç|IPA}}
→ IPA:{{IPA-de|iç|}}
→
Any of these may be combined with a sound file in an optional third cell:
{{IPA-de|iç|IPA|De-ich.ogg}}
→ IPA: ( listen)
For the default lede, however, a placeholder such as ‹-› is required in the second cell:
{{IPA-de|iç|-|De-ich.ogg}}
→ German pronunciation: ( listen)
Template:IPA-de is deprecated, and is preserved only for historical reasons. Please use {{IPA|de|...}} instead. |