Module:MoneyMakingGuide: Difference between revisions

m
no edit summary
m (Fill more of table)
mNo edit summary
Line 15: Line 15:
-- Determines the order of Icons
-- Determines the order of Icons
local DLCParams = {  
local DLCParams = {  
toth  = 'melvorTotH',  
toth  = icons.TotH(),  
aod = 'melvorAoD',  
aod = icons.AoD(),  
ita = 'melvorItA'
ita = icons.ItA()
}
}


Line 127: Line 127:
local pInputs = parseItemInOut(args, 'input')
local pInputs = parseItemInOut(args, 'input')
local pOutputs = parseItemInOut(args, 'output')
local pOutputs = parseItemInOut(args, 'output')
local dlcs = p.parseDLC(dlc)
local dlcs = p.getDLCIcons(dlc)
local html = mw.html.create()
local tbl = mw.html.create()


html:tag("table")
tbl:tag("table")
     :addClass("wikitable")
     :addClass("wikitable")
     :attr('style', 'width: 100%; text-align: center;')
     :attr('style', 'width: 100%; text-align: center;')
Line 186: Line 186:
         :tag("td")
         :tag("td")


return tostring(html)
return tostring(tbl)
end
end


2,875

edits