Difference between revisions of "Template:IPA-oc/doc"
Jump to navigation
Jump to search
imported>Nardog |
imported>Vanisaac |
||
| Line 20: | Line 20: | ||
{{usage of IPA templates}} | {{usage of IPA templates}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. --> | <!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. --> | ||
| Line 27: | Line 27: | ||
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --> | <!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --> | ||
[[ja:Template:IPA-oc]] | [[ja:Template:IPA-oc]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 22:08, 25 April 2020
| This is a documentation subpage for Template:IPA-oc. It contains 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}}→ 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:
{{IPA-oc|tu|IPA|Es-tú.ogg}}→ IPA: [tu] (Audio file "Es-tú.ogg " not found)
For the default lede, however, a placeholder such as ‹-› is required in the second cell:
{{IPA-oc|tu|-|Es-tú.ogg}}→ Occitan pronunciation: [tu] (Audio file "Es-tú.ogg " not found)
Template:Usage of IPA templates