Module:AUAssembly

From EarthMC
Jump to navigation Jump to search

Documentation for this module may be created at Module:AUAssembly/doc

local p = {} --p stands for package
local players = {"iUpgrade","Dools2"}
local text = ""

function p.table( frame )
    text = "{| class='wikitable' style='text-align:left;'\n|+ List of MPs in the AU Assembly\n| colspan='12' style='text-align:center' |[[File:AU Assembly.png|540px]]\n|-"
    table.sort(players)
    for i, v in ipairs(players) do
        text = text.."\n|[[File:"..v..".png|20px]] [[Aurora:"..v.."|"..v.."]]"
    end
    text = text.."\n|}"
    return text
end

return p