Module:GasIcon
From Stationeers Community Wiki
More actions
Documentation for this module may be created at Module:GasIcon/doc
local GasData = mw.loadData("Module:Gas/data")
local p = {}
function p.GetIcon(frame)
local args = frame:getParent().args
local gas = GasData[args[1]]
local size = args.Size or "32px"
return "[["..gas.Image.."|"..size.."|link=.."..gas.HumanReadableName.."]]"
end
return p