Difference between revisions of "Template:IPA-es"
Jump to navigation
Jump to search
imported>Kwamikagami (→Usage) |
imported>Kwamikagami m (nowrap using AWB) |
||
| Line 1: | Line 1: | ||
| − | <onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA: |lang=Spanish: |pron=pronounced |=|Spanish pronunciation: }}</small><span title="Pronunciation in IPA" class="IPA">[[WP:IPA for Spanish|[{{{1}}}]]]</span><small>{{#if:{{{3|}}}| ([[File:Speaker Icon.svg|13px|link=:Media:{{{3|}}}]] [[:Media:{{{3|}}}|listen]])}}</small></onlyinclude> | + | <onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA: |lang=Spanish: |pron=pronounced |=|Spanish pronunciation: }}</small><span title="Pronunciation in IPA" class="IPA">[[WP:IPA for Spanish|[{{{1}}}]]]</span><small>{{#if:{{{3|}}}| {{nowrap|([[File:Speaker Icon.svg|13px|link=:Media:{{{3|}}}]] [[:Media:{{{3|}}}|listen]])}}}}</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 ''Spanish 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 ''Spanish pronunciation:'' appears: | ||
| − | *<code><nowiki>{{IPA-es|tu}}</nowiki></code> | + | *<code><nowiki>{{IPA-es|tu}}</nowiki></code> → {{IPA-es|tu}} |
| − | *<code><nowiki>{{IPA-es|tu|pron}}</nowiki></code> | + | *<code><nowiki>{{IPA-es|tu|pron}}</nowiki></code> → {{IPA-es|tu|pron}} |
| − | *<code><nowiki>{{IPA-es|tu|lang}}</nowiki></code> | + | *<code><nowiki>{{IPA-es|tu|lang}}</nowiki></code> → {{IPA-es|tu|lang}} |
| − | *<code><nowiki>{{IPA-es|tu|IPA}}</nowiki></code> | + | *<code><nowiki>{{IPA-es|tu|IPA}}</nowiki></code> → {{IPA-es|tu|IPA}} |
| − | *<code><nowiki>{{IPA-es|tu|}}</nowiki></code> | + | *<code><nowiki>{{IPA-es|tu|}}</nowiki></code> → {{IPA-es|tu|}} |
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-es|tu|IPA|Tú.ogg}}</nowiki></code> | + | *<code><nowiki>{{IPA-es|tu|IPA|Tú.ogg}}</nowiki></code> → {{IPA-es|tu|IPA|Tú.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-es|tu|-|Tú.ogg}}</nowiki></code> | + | *<code><nowiki>{{IPA-es|tu|-|Tú.ogg}}</nowiki></code> → {{IPA-es|tu|-|Tú.ogg}} |
{{usage of IPA templates}} | {{usage of IPA templates}} | ||
Revision as of 07:01, 27 June 2009
Spanish pronunciation: [{{{1}}}]
Usage
This template formats IPA transcriptions and links them to WP:IPA for Spanish. 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 Spanish pronunciation: appears:
{{IPA-es|tu}}→ Spanish pronunciation: [tu]{{IPA-es|tu|pron}}→ pronounced [tu]{{IPA-es|tu|lang}}→ Spanish: [tu]{{IPA-es|tu|IPA}}→ IPA: [tu]{{IPA-es|tu|}}→ [tu]
Any of these may be combined with a sound file in an optional third cell:
For the default lede, however, a placeholder such as ‹-› is required in the second cell:
Template:Usage of IPA templates