Module:EDDTierTable

local p = {}

function modename(mode) local modedata = { ['cl'] = 'Classic', ['eli'] = 'Elimination', ['kd'] = 'Knockdown', ['fl'] = 'Flawless', ['un'] = 'Unplugged', }   return modedata[mode] end

function p.eddtierline(frame) local f = frame:getParent local vehicle = tostring(f.args['v']) local mode = modename(tostring(f.args['race'])) local goal local rank = tonumber(f.args['rank']) local track return ' '..vehicle..'  '..goal..'  '..mode..'  '..track..'  '..rank..' ' end return p