Difference between revisions of "Template:IPA-all/doc"
Jump to navigation
Jump to search
imported>DixonDBot m (Migrating 15 interwiki links, now provided by Wikidata on d:Q6508089) |
imported>DePiep |
||
| Line 25: | Line 25: | ||
{{usage of IPA templates}} | {{usage of IPA templates}} | ||
| − | <includeonly> | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
| − | |||
[[Category:IPA language templates|{{PAGENAME}}]] | [[Category:IPA language templates|{{PAGENAME}}]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 11:49, 19 October 2014
| 40px | This is a documentation subpage for Template:IPA-all. 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, a general IPA key. It is intended for languages without specific support, and for narrow transcriptions of languages that do. See below for specific templates.
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 IPA: appears:
{{IPA-all|a}}→ IPA: [a]{{IPA-all|a|pron}}→ pronounced [a]{{IPA-all|a|local}}→ local pronunciation: [a]{{IPA-all|a|}}→ [a]
Language names may be entered as well; in this case, the colon is required:
{{IPA-all|a|Dutch:}}→ Dutch: [a]
Any of these may be combined with a sound file in an optional third cell:
{{IPA-all|a|local|Nl-A.ogg}}→ local pronunciation: [a] (Audio file "Nl-A.ogg " not found)
To keep the default lede, however, ‹IPA› must be entered in the second cell:
{{IPA-all|a|IPA|Nl-A.ogg}}→ IPA: [a] (Audio file "Nl-A.ogg " not found)
The similar template {{pronunciation}} has no lede switch:
{{pronunciation|Nl-A.ogg}}→ Template:Pronunciation
Template:Usage of IPA templates