Module:WeaponStat

local wps = {} local getArgs = require('Module:Arguments').getArgs

function wps.main(frame) local args = getArgs(frame) return wps._main(args) end

function wps._main(args) local game = args[game] local color, out if(string.match(game, 'fe')) then i = string.sub(game, 3) color = '' else color = '' end out = '{| border="1" style="max-width: 70%; text-align: center"'.. '\n|-bgcolor='..color.. '\n!colspan=4|Name'.. '\n!colspan=4|Type'.. '\n|-'.. '\n|colspan=4|'.. '\n|colspan=4|'.. '\n|-bgcolor='..color out = out..'|}' return out end

return wps