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

From blackwiki
Jump to navigation Jump to search
imported>Serols
m (Reverted edits by 2600:1011:B055:51C:ADE9:FDE9:1732:40BD (talk) (HG) (3.3.3))
(This section is not to be coded nor transcripts nor any educational scien transcription transcribed on the basis of theory FORBIDDEN)
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 21:31, 23 August 2018