Module:IPA/data/doc: Difference between revisions

Content deleted Content added
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1:
{{High-use}}
This data module stores labels, language codes, and their associated IPA keys used by [[Module:IPA]] and [[Module:IPA/category documentation]].
 
==Schema for languages==
;(code)
:[[ISO 639]] code.
;name
:Name of the language. Filled in by [[Module:Lang]] if missing.
;text
:Replaces the language name in canned labels without affecting the link.
;link
:Name of the article about the language. Filled in by <code>name</code> + "&nbsp;language" (or just <code>name</code> if it ends in "&nbsp;languages") if missing, or by [[Module:Lang]] if <code>name</code> is also missing.
;key
:Page name of the key.
;dialects
:;(code)
::IETF subtag. Must be in all caps unless it is a private tag starting with <code>x-</code>.
:;name, text, link, key
::Override the above.
:;isVariant
::<code>true</code> if the subtag is an IANA variant. This makes the subtag lowercase.
:;aliasOf
::Key for another entry in the same table of dialects.
 
{{#invoke:IPA/overview|main}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox other| |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:IPA-related modules| ]]
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>