模块:Exclusive/doc
这是模块:Exclusive的文档页面
This module is the core of the dynamic platform exclusivity system.
The basic function to invoke from templates is
, which queries the exclusivity information database and stores the result to a set of dplvars. These are named in the format getInfo
ex_<platform>
, e.g.
for Desktop, and they are either empty or set to ex_d
. The function does not produce any output.
y
The two other functions,
and eicons
, return the HTML code for the icons denoting platform exclusivity. The first function is intended to be used only by the simpleEicons
{{eicons}}
template, the second function can be used from any other module that includes platform exclusivity icons (such as Module:Item).
Important note: This module relies entirely on the database Module:Exclusive/data. The database is not updated automatically and instead requires periodic manual updates. Please see its documentation for instructions.