Template:IPA-oc/doc
This is a documentation subpage for Template:IPA-oc. It may contain usage information, categories and other content that is not part of the original template page. |
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}}
→ Template:IPA-oc{{IPA-oc|tu|pron}}
→ Template:IPA-oc{{IPA-oc|tu|lang}}
→ Template:IPA-oc{{IPA-oc|tu|IPA}}
→ Template:IPA-oc{{IPA-oc|tu|}}
→ Template:IPA-oc
Any of these may be combined with a sound file in an optional third cell:
{{IPA-oc|tu|IPA|Es-tú.ogg}}
→ Template:IPA-oc
For the default lede, however, a placeholder such as ‹-› is required in the second cell:
{{IPA-oc|tu|-|Es-tú.ogg}}
→ Template:IPA-oc
Template:Usage of IPA templates