Template:IPA-ast/doc
This is a documentation subpage for Template:IPA-ast. 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/Astur-Leonese. 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 Asturian pronunciation: appears:
{{IPA-ast|tu}}
→ Template:IPA-ast{{IPA-ast|tu|pron}}
→ Template:IPA-ast{{IPA-ast|tu|lang}}
→ Template:IPA-ast{{IPA-ast|tu|local}}
→ Template:IPA-ast{{IPA-ast|tu|IPA}}
→ Template:IPA-ast{{IPA-ast|tu|}}
→ Template:IPA-ast
Any of these may be combined with a sound file in an optional third cell:
{{IPA-ast|tu|IPA|Es-tú.ogg}}
→ Template:IPA-ast
For the default lede, however, a placeholder such as ‹-› is required in the second cell:
{{IPA-ast|tu|-|Es-tú.ogg}}
→ Template:IPA-ast
Template:Usage of IPA templates