Məzmuna keç

Modul:labels/doc

Wiktionary saytından

Bu Modul:labels modulunun sənədləşmə səhifəsidir.

This module is used to support {{context}} and {{label}}. See Module:labels/data and its submodule Module:labels/data/regional for a list 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:

  1. If the label is listed in Module:labels/data as an alias of another label, replace its name with the name it redirects to, and continue with the next steps.
  2. If the label is defined in Module:labels/data as a label, use that.
  3. Otherwise, just show the label's name unaltered.