Модуль:labels/data/doc
< Модуль:labels | data
This is the documentation page for Модуль:labels/data
This module is one of the data modules specifying the labels recognized by Module:labels and, by extension, the templates {{lb}} and {{tlb}}.
The following are all the data submodules that exist:
Module | Contents |
---|---|
Module:labels/data/lang/langcode |
Language-specific labels. |
Module:labels/data | Miscellaneous non-language-specific labels. |
Module:labels/data/qualifiers | Qualifiers such as somewhat , also , chiefly and ; . Usually these cause the following and/or preceding comma to be omitted.
|
Module:labels/data/regional | Labels specifying a geographic location that is shared among several languages. |
Module:labels/data/topical | Topical labels such as anthropology and Taoism . These typically generate topic categories.
|
Labels defined in earlier-listed modules override those in later-listed modules. In particular, language-specific labels override non-language-specific ones. The full list of language-specific submodules can be found here.
Each language data module exports a single table containing labels and/or aliases. The keys of these tables are label identifiers (passed to the templates), while the values are described below.
Label usages
түзөтүүLabel data is currently used for several purposes:
Template(s) | Parameter(s) | Purpose | Categorizes? |
---|---|---|---|
{{lb}}/{{lbl}}/{{label}} and {{tlb}}/{{term-label}} | |2= , |3= , ... |
Label the language variety or usage conditions of a sense or term. | Yes |
{{alt}}/{{alter}} | numbered parameters following a blank parameter | Identify the language variety or usage conditions of an alternative form. | No |
{{alternative form of}}/{{alt form}}, {{standard spelling of}}/{{stand sp}}, and other form-of templates | |from= , |from2= , ... |
Identify the language variety of a sense or term that is a variant (e.g. alternative form, spelling variant, etc.) of another term. | Yes |
{{syn}}, {{ant}} and other "nyms" templates | |lb= , |lb2= , ...; the <lb:...> inline modifier |
Identify the language variety or usage conditions of a synonym, antonym or the like, specified inline. | No |
{{desc}}/{{descendant}} | |lb= , |lb2= , ...; the <lb:...> inline modifier |
Identify the language variety or usage conditions of a descendant. | No |
{{quote-book}}, {{quote-journal}}, {{cite-book}}, {{cite-journal}} and other quotation and citation templates | |lb= |
Identify the language variety or usage conditions of a piece of quoted text. | No |
{{inflection of}}/{{infl of}} | auto-added under certain combinations of inflection tags | Label the usage conditions of an inflected form of a term. | Yes |
category pages for language varieties | N/A | Control the display and parent categories of category pages that are "associated" with a label in that the label categorizes into the specified category using the plain_categories or regional_categories fields. |
N/A |