Misplaced Pages

Template:IPA-de: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 07:00, 27 June 2009 view sourceKwamikagami (talk | contribs)Autopatrolled, Extended confirmed users, Template editors475,368 editsm nowrap using AWB← Previous edit Revision as of 13:05, 11 September 2009 view source Michael Bednarek (talk | contribs)Autopatrolled, Extended confirmed users84,970 edits Split documentation onto sub page.Next edit →
Line 1: Line 1:
<onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=German:&nbsp;|pron=pronounced&nbsp;|=|German pronunciation:&nbsp;}}</small><span title="Pronunciation in IPA" class="IPA">]]</span><small>{{#if:{{{3|}}}|&nbsp; {{nowrap|(] ])}}}}</small></onlyinclude> <onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA:&nbsp;|lang=German:&nbsp;|pron=pronounced&nbsp;|=|German pronunciation:&nbsp;}}</small><span title="Pronunciation in IPA" class="IPA">]]</span><small>{{#if:{{{3|}}}|&nbsp; {{nowrap|(] ])}}}}</small></onlyinclude><noinclude>{{Documentation}}</noinclude>
{{pp-template|small=yes}}

==Usage==
This template formats IPA transcriptions and links them to ]. The transcription should match the conventions of that key; for narrower dialect transcriptions, use {{tl|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:
*<code><nowiki>{{IPA-de|iç}}</nowiki></code> → {{IPA-de|iç}}
*<code><nowiki>{{IPA-de|iç|pron}}</nowiki></code> → {{IPA-de|iç|pron}}
*<code><nowiki>{{IPA-de|iç|lang}}</nowiki></code> → {{IPA-de|iç|lang}}
*<code><nowiki>{{IPA-de|iç|IPA}}</nowiki></code> → {{IPA-de|iç|IPA}}
*<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:
*<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:
*<code><nowiki>{{IPA-de|iç|-|De-ich.ogg}}</nowiki></code> → {{IPA-de|iç|-|De-ich.ogg}}

{{usage of IPA templates}}

<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->

]

<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->

Revision as of 13:05, 11 September 2009

German pronunciation: 

Template documentation[view] [edit] [history] [purge]
Template:IPA-de is deprecated, and is preserved only for historical reasons. Please use {{IPA|de|...}} instead.
The above documentation is transcluded from Template:IPA-de/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: