View source for Module:Sandbox/User:Riblet15/Set drops vars
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local var = mw.ext.VariablesLua
local p = {}
function p.main(frame)
return p._main(frame:getParent().args)
end
function p._main(args)
local type = args.type or ''
local levels = args.level or ''
local versions = args.version or ''
-- All levels are additionally saved to the DEFAULT drop version
versions = versions .. ',DEFAULT'
local valuesToSet = {}
for dropVersion in string.gmatch(versions, ' *([^,]+) *') do
local varName = string.format('DropLevel_%s_%s', type, dropVersion)
000
1:0
Templates used on this page:
- Template:Documentation (view source)
- Template:Extension DPL (view source)
- Template:Module sandbox (view source)
- Module:Array (view source)
- Module:DPLlua (view source)
- Module:DependencyList (view source)
- Module:Documentation (view source)
- Module:Paramtest (view source)
- Module:Sandbox/User:Riblet15/Set drops vars (view source)
- Module:Sandbox/User:Riblet15/Set drops vars/doc (view source)
- Module:Tooltip (view source)
- Module:Yesno (view source)
Return to Module:Sandbox/User:Riblet15/Set drops vars.