Template:IPA: Difference between revisions

m 1 revision imported
m add template data very scuffed
 
Line 1: Line 1:
<includeonly>{{#invoke:IPA|main}}</includeonly><noinclude>
<includeonly>{{#invoke:IPA|main}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<templatedata>{
"description": "This template ensures proper display of transcriptions using the International Phonetic Alphabet (IPA). Its behavior changes drastically depending on whether more than one unnamed parameter is given. For dialect-neutral transcriptions of English, use IPAc-en instead.",
"params": {
"1": {
"label": "Transcription or language code",
"description": "Transcription including brackets ([...] for a phonetic transcription and /.../ for a phonemic one) if this template is being used just for formatting. IETF language tag if used for linking the transcription to a language-specific key or introductory guide.",
"type": "string",
"required": true,
"example": "[ɛɡzɑ̃pl], en"
},
"2": {
"label": "Transcription",
"description": "Without brackets.",
"example": "ɛɡzɑ̃pl",
"type": "string"
},
"3": {
"label": "Label code",
"description": "Replaces the default label \"[language name] pronunciation:\" with another canned one. Leave it blank to have no label.",
"type": "string",
"suggestedvalues": [
"lang",
"ipa",
"pron",
"also",
"alsolang",
"langalso",
"local",
"localpron"
]
},
"audio": {
"aliases": [
"4"
],
"label": "Audio file",
"description": "Name of an audio file to accompany the transcription.",
"type": "wiki-file-name"
},
"label": {
"label": "Label",
"description": "Text that precedes the transcription. Unlike \"Label code\", this displays any wikitext as entered.",
"type": "line"
},
"link": {
"description": "\"yes\" links the language name in the label to the article about the language.",
"type": "string",
"suggestedvalues": [
"yes"
]
},
"small": {
"description": "\"no\" cancels the reduction of the label size.",
"type": "string",
"suggestedvalues": [
"no"
]
},
"generic": {
"description": "\"yes\" links the transcription to [[Help:IPA]] instead of a language-specific key. Required if the transcription does not adhere to the conventions of the language-specific key.",
"type": "string",
"suggestedvalues": [
"yes"
]
},
"wrap": {
"description": "\"none\" prevents wrapping anywhere in the transcription. \"all\" cancels the prevention of wrapping after non-space characters in the transcription.",
"type": "string",
"suggestedvalues": [
"none",
"all"
]
},
"class": {
"description": "Additional HTML class(es) for the transcription.",
"type": "string"
},
"lang": {
"label": "Language code",
"description": "IETF language tag when the first parameter is a transcription.",
"example": "en",
"type": "string"
},
"tooltip": {
"label": "Tooltip",
"description": "Tooltip to replace the default one with. Leave it blank to have no tooltip.",
"type": "string"
},
"cat": {
"description": "\"no\" cancels the categorization of the page into \"Pages with [language name] IPA\".",
"type": "string",
"suggestedvalues": [
"no"
]
}
},
"paramOrder": [
"1",
"2",
"3",
"audio",
"label",
"link",
"small",
"generic",
"wrap",
"class",
"lang",
"tooltip",
"cat"
],
"format": "inline"
}</templatedata>
</noinclude>
</noinclude>