Difference between revisions of "Template:IPA-all/doc"

From blackwiki
Jump to navigation Jump to search
imported>Nardog
m
(←Blanked the page)
Line 1: Line 1:
−
{{documentation subpage}}
 
  
−
==Usage==
 
−
This template formats IPA transcriptions and links them to [[Help: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:
 
−
 
−
*<code><nowiki>{{IPA-all|a}}</nowiki></code> → {{IPA-all|a}}
 
−
*<code><nowiki>{{IPA-all|a|pron}}</nowiki></code> → {{IPA-all|a|pron}}
 
−
*<code><nowiki>{{IPA-all|a|local}}</nowiki></code> → {{IPA-all|a|local}}
 
−
*<code><nowiki>{{IPA-all|a|}}</nowiki></code> → {{IPA-all|a|}}
 
−
 
−
Language names may be entered as well; in this case, the colon is required:
 
−
*<code><nowiki>{{IPA-all|a|Dutch:}}</nowiki></code> → {{IPA-all|a|Dutch:}}
 
−
 
−
Any of these may be combined with a sound file in an optional third cell:
 
−
*<code><nowiki>{{IPA-all|a|local|Nl-A.ogg}}</nowiki></code> → {{IPA-all|a|local|Nl-A.ogg}}
 
−
 
−
To keep the default lede, however, ‹IPA› must be entered in the second cell:
 
−
*<code><nowiki>{{IPA-all|a|IPA|Nl-A.ogg}}</nowiki></code> → {{IPA-all|a|IPA|Nl-A.ogg}}
 
−
 
−
The similar template {{tl|pronunciation}} has no lede switch:
 
−
*<code><nowiki>{{pronunciation|Nl-A.ogg}}</nowiki></code> → {{pronunciation|Nl-A.ogg}}
 
−
 
−
{{usage of IPA templates}}
 
−
 
−
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
−
[[Category:IPA language templates|{{PAGENAME}}]]
 
−
 
−
}}</includeonly>
 

Revision as of 17:26, 18 January 2018