View source for Module:Average drop value/Sandbox
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 tb = require('Module:Trailblazer Region')._badge
local p = {}
function p.main(frame)
local args = frame:getParent().args
local orRegions = args['or'] or 'No'
local regions = {'misthalin', 'karamja', 'asgarnia', 'desert', 'fremennik', 'kandarin', 'morytania', 'tirannwn', 'wilderness', 'kourend'}
local ret = mw.html.create('tr')
mw.log(args[1])
if args['incompletable'] == 'Yes' then
ret:tag('th'):wikitext(args[1]):addClass('table-bg-red')
else ret:tag('th'):wikitext(args[1])
end
mw.log(tostring(ret))
local required = ''
local auto = ''
for _, region in ipairs(regions) do
000
1:0
Template used on this page:
Return to Module:Average drop value/Sandbox.