Module:CharStat

--This module is invoked by Template:CharStat local p = {} local getArgs = require('Module:Arguments').getArgs local getColor = require('Module:Color').colorByGame local stats = { -- character stats {'Level',     '\n!Level'}, {'HP',     '\n!HP'}, {'Str',    '\n!Str'}, {'Mag',    '\n!Mag'}, {'Mnd', '\n!Mnd'}, {'Skl',    '\n!Skl'}, {'Spd',    '\n!Spd'}, {'Agl', '\n!Agl'}, {'Lck',    '\n!Lck'}, {'Def',    '\n!Def'}, {'Res',    '\n!Res'}, {'Con',    '\n!Con'}, {'Bld', '\n!Bld'}, {'Wt',     '\n!Wt'}, {'Wlv',    '\n!Wlv'}, {'Move',   '\n!Mov'}, {'Lead',   '\n!Lead'}, {'LS', '\n!LS'}, {'MS',     '\n!MS'}, {'PC',     '\n!PC'}, {'Gold',   '\n!Gold'} }

function p.main(frame) args = getArgs(frame) if(pcall(p._main, args)) then return p._main(args) else return ' See Template:CharStat for more info. '   end end

function p._main(args) end

return p --