Difference between revisions of "Template:IPA-oc"
Jump to navigation
Jump to search
imported>Kwamikagami m (split off sound to subtemplate, replaced: <small>{{#if:{{{3|}}}| {{nowrap|(13px|link=File:{{{3|}}}|alt= [[:Media:{{{3|}}}|listen]])}}}}</small> → {{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} using AWB) |
imported>Kwamikagami m (consolidate thru tl:IPA using AWB) |
||
| Line 1: | Line 1: | ||
| − | <onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA: |lang=Occitan: |pron=pronounced |=|Occitan pronunciation: }}</small> | + | <onlyinclude><small>{{#switch: {{{2}}}|IPA=IPA: |lang=Occitan: |pron=pronounced |=|Occitan pronunciation: }}</small>{{IPA|[[WP:IPA for Occitan|[{{{1}}}]]]}}{{#if:{{{3|}}}|{{IPA audio link|{{{3}}} }} }}</onlyinclude> |
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> | ||
Revision as of 08:38, 15 March 2012
Occitan pronunciation: [{{{1}}}]
Usage
This template formats IPA transcriptions and links them to Help:IPA/Occitan. 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 Occitan pronunciation: appears:
{{IPA-oc|tu}}→ Occitan pronunciation: [tu]{{IPA-oc|tu|pron}}→ pronounced [tu]{{IPA-oc|tu|lang}}→ Occitan: [tu]{{IPA-oc|tu|IPA}}→ IPA: [tu]{{IPA-oc|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
| The above documentation is transcluded from Template:IPA-oc/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |