Modul:labels/doc
Ez a lap a Modul:labels dokumentációja. Ez a lap tartalmazza a modul használati útmutatóját és kategóriáit. |
This module supports Module:labels/templates, which in turn is used by the template {{label}}
. See Module:labels/data and its submodules Module:labels/data/regional and Module:labels/data/topical for lists of defined labels, and for labels that are aliases (or "redirects") for other labels.
Many implementation details of this module are subject to change in the near future, so it should be considered under construction. This only affects the internals of the module and of the labels themselves, not the way it is used from within entries.
The module takes a list of labels and will process them as follows:
- If the label is listed in Module:labels/data or one of its submodules as an alias of another label, replace its name with the name it redirects to, and continue with the next steps.
- If the label is defined in Module:labels/data as a label, use that, as long as the label is not restricted to particular languages by the
"language"
or"languages"
fields. - Otherwise, just show the label's name unaltered.
Testcases
szerkesztéscode | result |
---|---|
{{label|grc|Attic}} |
(Attic) |
{{label|en|Attic}} |
(Attic) |
Conflicts
szerkesztésThe following labels are found in both Module:labels/data/regional and Module:labels/data/subvarieties. The label data in Module:labels/data/subvarieties overrides the data in Module:labels/data/regional. If you would like the data in Module:labels/data/regional to be used by {{label}}
, please move it to Module:labels/data/subvarieties.
- labels
- Arvanitika
- Cirebon
- East Palatine
- Hessian
- Kölsch
- Moselle Franconian
- Pahang
- Palatine German
- Ripuarian
- West Palatine