Module:IPA/data/doc: Difference between revisions
Appearance
< Module:IPA | data
Content deleted Content added
mNo edit summary |
schema |
||
Line 1: | Line 1: | ||
{{High-use}} |
{{High-use}} |
||
This data module stores labels, language codes, and their associated IPA keys used by [[Module:IPA]] and [[Module:IPA/category documentation]]. |
This data module stores labels, language codes, and their associated IPA keys used by [[Module:IPA]] and [[Module:IPA/category documentation]]. |
||
==Schema for languages== |
|||
;(key) |
|||
:[[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> + " language" (or just <code>name</code> if it ends in " languages") if missing, or by [[Module:Lang]] if <code>name</code> is also missing. |
|||
;key |
|||
:Page name of the key. |
|||
;dialects |
|||
:;(key) |
|||
::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. |
|||
==Overview== |
|||
{{#invoke:IPA/overview|main}} |
{{#invoke:IPA/overview|main}} |
||
<includeonly>{{ |
<includeonly>{{sandbox other|| |
||
<!-- Categories below this line, please; interwikis at Wikidata --> |
<!-- Categories below this line, please; interwikis at Wikidata --> |
||
[[Category:IPA-related modules| ]] |
[[Category:IPA-related modules| ]] |
Revision as of 19:29, 23 September 2023
![]() | This Lua module is used on approximately 150,000 pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This data module stores labels, language codes, and their associated IPA keys used by Module:IPA and Module:IPA/category documentation.
Schema for languages
- (key)
- 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
name
+ " language" (or justname
if it ends in " languages") if missing, or by Module:Lang ifname
is also missing. - key
- Page name of the key.
- dialects
-
- (key)
- IETF subtag. Must be in all caps unless it is a private tag starting with
x-
. - name, text, link, key
- Override the above.
- isVariant
true
if the subtag is an IANA variant. This makes the subtag lowercase.- aliasOf
- Key for another entry in the same table of dialects.
Overview