Template:Set drops vars/doc
Jump to navigation
Jump to search
Template:Set drops vars invokes function main in Module:Set drops vars using Lua.
This template is used to set drops variables used by {{DropsLine}} to determine the levels associated with the drop version.
The variables are of the form DropLevel_{type}_{version} and the values are a comma separated list of levels. All values will also be set on the DEFAULT version.
These variables must be defined for any version declared in a drop table template in order for the drop to store the associated level.
Params
type- the type of drop, for examplecombatorfarmingversion- comma separated list of drop versions the levels apply tolevel- comma separated list of levels that apply to this version
Example
Example calling the template multiple times:
{{Set drops vars|type=farming|version=Regular|level=10}}
{{Set drops vars|type=farming|version=Diseased|level=32}}
Sets the following variables:
DropLevel_farming_Regular=10DropLevel_farming_Diseased=32DropLevel_farming_DEFAULT=10,32
