Difference between revisions of "Template:IPA-gl/doc"
Jump to navigation
Jump to search
imported>Kwamikagami (→Usage) |
imported>Nuvolet (→Usage) |
||
| Line 5: | Line 5: | ||
This template formats IPA transcriptions and links them to [[WP:IPA for Portuguese|WP:IPA for Galician and Portuguese]]. The transcription should match the conventions of that key; for narrower dialect transcriptions, use {{tl|IPA-all}}, which links to a more complete IPA key. | This template formats IPA transcriptions and links them to [[WP:IPA for Portuguese|WP:IPA for Galician and Portuguese]]. The transcription should match the conventions of that key; for narrower dialect transcriptions, use {{tl|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 '' | + | 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 ''Galician pronunciation:'' appears: |
*<code><nowiki>{{IPA-gl|tu}}</nowiki></code> → {{IPA-gl|tu}} | *<code><nowiki>{{IPA-gl|tu}}</nowiki></code> → {{IPA-gl|tu}} | ||
*<code><nowiki>{{IPA-gl|tu|pron}}</nowiki></code> → {{IPA-gl|tu|pron}} | *<code><nowiki>{{IPA-gl|tu|pron}}</nowiki></code> → {{IPA-gl|tu|pron}} | ||
Revision as of 15:45, 8 November 2011
| This is a documentation subpage for Template:IPA-gl. 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 WP:IPA for Galician and Portuguese. 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 Galician pronunciation: appears:
{{IPA-gl|tu}}→ Galician pronunciation: [tu]{{IPA-gl|tu|pron}}→ pronounced [tu]{{IPA-gl|tu|lang}}→ Galician: [tu]{{IPA-gl|tu|IPA}}→ IPA: [tu]{{IPA-gl|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