Dies ist die Dokumentationsseite für Modul:Exclusive.
Diese Seite ist nicht oder unvollständig übersetzt. | |
Hilf mit, indem du den Text übersetzt und anschließend diesen Hinweis entfernst. Dies entfernt diese Seite auch aus der Liste von Seiten mit unzureichender Übersetzung. |
This module manages everything {{exclusive}}-related.
The three invokable functions are getInfo
, a general exclusivity function which stores information to dplvars, eicons
, which provides the functionality of {{eicons}}, and simpleEicons
, a helper function to be used in other modules like Module:Item.
Important Note for Porting
When porting {{exclusive}}-related templates/modules to separate language wikis, you might not want to use a cargo-based cache system like on the English wiki.
Please take the following steps in order to use a non-cargo cache system:
- Do not directly port
Module:Exclusive/data
from the en wiki. Instead, head to Template:Exclusive/luadata (en), copy the generated code from that page, and put it as source code ofModule:Exclusive/data
on the target language's wiki. Note that this process will need to be repeated in the future in order to keep the language wiki's exclusivity database up-to-date. - Make sure that the l10n auto translation switch for the target language in
Template:Exclusive
/Template:Eil
/Template:Eicons
/Template:Eversions
is set tofalse
(false
is the default value for non-English languages). - Make sure that the l10n cargo switch for the target language in
Template:Exclusive
(at the beginning) is set tofalse
.