Module:BallNameAuto

local p = {} function p.fromIdentifier( x ) local AllBalls = {} AllBalls['uzzi'] = {'Uzzi Tribeball','uzzi'} AllBalls['uzzip1'] = {'Reformed Uzzipball','reuzzip'} AllBalls['lipz'] = {'Lipz Tribeball','lipz'} AllBalls['reulipz'] = {'Reformed Lipzball','relipz'} AllBalls['lipizisland'] = {'Lipiz Islandball','lipiz'} AllBalls['popynijget'] = {'Popynijgetball','popyj'} if (( x.args[2] ~= "false") and ( x.args[2] ~= nil)) then if (x.args[3] == "true2") then return '' .. AllBalls[x.args[1[1]..'|'..x.args[2]..']]' else return '' .. AllBalls[x.args[1[1]..'|'..x.args[2]..']]' end else if (x.args[3] == "true") then return '' elseif (x.args[3] == "true2") then return '' .. AllBalls[x.args[1[1]..']]' else return '' .. AllBalls[x.args[1[1]..']]' end end end function p.rulefromIdentifier( y ) local AllGovms = {} AllGovms['hereditary'] = {'Hereditary Monarchy','monarch'} return '' .. AllGovms[y.args[1]][1] end function p.langfromIdentifier( y ) local AllGovms = {} AllGovms['eletinic'] = {'Early Letinic','eletinic'} return '' .. AllGovms[y.args[1]][1] end

return p