Module:TFTUnitData

-- local p   = {} local lib      = require('Module:Feature') local userError = require('Dev:User error')

function p.get(frame) local args; if frame.args == nil then args = lib.arguments(frame) else args = lib.arguments(frame.args) end local get      = require ('Module:TFTUnitData/getter') local champname = args['champname'] or args[1] local data     = args['data']      or args[2] local set      = args['set']       or args[3] or false return get[data](champname) end

return p -- --