Difference between revisions of "Template:IPA-gl/doc"
Jump to navigation
Jump to search
imported>Nuvolet (→Usage) |
imported>Vanisaac |
||
| (6 intermediate revisions by 5 users not shown) | |||
| Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
| − | This template formats IPA transcriptions and links them to [[ | + | This template formats IPA transcriptions and links them to [[Help:IPA/Portuguese|Help:IPA/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 ''Galician pronunciation:'' appears: | 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: | ||
| Line 9: | Line 9: | ||
*<code><nowiki>{{IPA-gl|tu|pron}}</nowiki></code> → {{IPA-gl|tu|pron}} | *<code><nowiki>{{IPA-gl|tu|pron}}</nowiki></code> → {{IPA-gl|tu|pron}} | ||
*<code><nowiki>{{IPA-gl|tu|lang}}</nowiki></code> → {{IPA-gl|tu|lang}} | *<code><nowiki>{{IPA-gl|tu|lang}}</nowiki></code> → {{IPA-gl|tu|lang}} | ||
| + | *<code><nowiki>{{IPA-gl|tu|eo}}</nowiki></code> → {{IPA-gl|tu|eo}} | ||
| + | *<code><nowiki>{{IPA-gl|tu|langeo}}</nowiki></code> → {{IPA-gl|tu|langeo}} | ||
| + | *<code><nowiki>{{IPA-gl|tu|local}}</nowiki></code> → {{IPA-gl|tu|local}} | ||
*<code><nowiki>{{IPA-gl|tu|IPA}}</nowiki></code> → {{IPA-gl|tu|IPA}} | *<code><nowiki>{{IPA-gl|tu|IPA}}</nowiki></code> → {{IPA-gl|tu|IPA}} | ||
*<code><nowiki>{{IPA-gl|tu|}}</nowiki></code> → {{IPA-gl|tu|}} | *<code><nowiki>{{IPA-gl|tu|}}</nowiki></code> → {{IPA-gl|tu|}} | ||
| Line 21: | Line 24: | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
| − | + | [[Category:IPA language templates|{{PAGENAME}}]] | |
| − | + | }}</includeonly> | |
| − | [[Category:IPA templates|{{PAGENAME}}]] | ||
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 22:07, 25 April 2020
| 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 Help:IPA/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|eo}}→ Eonavian pronunciation: [tu]{{IPA-gl|tu|langeo}}→ Eonavian: [tu]{{IPA-gl|tu|local}}→ locally [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