Template:Needs IPA/doc
This is a documentation subpage for Template:Needs IPA. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
This template uses Lua: |
This template should be used on a single word or phrase that requires transcription into the International Phonetic Alphabet. Use directly after the word or phrase. This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.
Usage
{{needs IPA|lang=xx}}
where xx
is the ISO 639 code for the language for which a transcription is requested. It supports up to three languages.
{{needs IPA|lang=xx|lang2=yy|lang3=zz}}
In the main namespace, the template categorizes the page into the category named "Articles needing [language name] IPA" if it exists, and into Category:Articles needing IPA if it doesn't (or if no language is specified).
You may explicitly specify the term or language being requested in the first parameter, which appears between "needs" and "IPA":
{{needs IPA|English|lang=en}}
{{needs IPA|surname|lang=xx}}
Examples
Markup | Renders as |
---|---|
Glauxkenfruble{{needs IPA|lang=lt}} |
Glauxkenfruble[needs IPA] |
Glauxkenfruble{{needs IPA|Lithuanian|lang=lt}} |
Glauxkenfruble[needs Lithuanian IPA] |
Tracking categories
TemplateData
TemplateData for Needs IPA
<templatedata>{ "description": "An inline template that marks a word or phrase as requiring transcription in the International Phonetic Alphabet", "params": { "1": { "label": "Qualifier", "description": "Text that appears between \"needs\" and \"IPA\"", "type": "string", "required": false, "example": "Lithuanian" }, "date": { "label": "Month and year", "description": "Provides the month and year; e.g., 'January 2013', but not 'jan13'", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "lang": { "label": "Language", "description": "ISO 639 language code for the language for which a transcription is requested", "example": "en", "type": "string", "suggested": true }, "lang2": { "label": "Language 2", "description": "ISO 639 language code for the second language for which a transcription is requested", "example": "de", "type": "string" }, "lang3": { "label": "Language 3", "description": "ISO 639 language code for the third language for which a transcription is requested", "example": "ar", "type": "string" }, "reason": { "label": "Reason", "description": "Text appended in the tooltip providing context for the request", "type": "string" } }, "paramOrder": [ "1", "lang", "lang2", "lang3", "reason", "date" ] } </templatedata>
See also
- {{Pronunciation needed}}, another inline template requesting phonetic transcription