Module:Infobox Player
Appearance
Documentation for this module may be created at Module:Infobox Player/doc
local p = {}
local infobox = require("Module:Infobox")
function p.infobox(frame)
local args = frame:getParent().args
local used = {} -- track which keys we’ve output
local out = {}
local player_args = {
{'t', args.username},
{'s', 'About'},
{'f', nationality, args.nationality},
{'f', seasonjoined, args.seasonjoined},
{'s', 'Socials'},
{'f', discord, args.discord},
}
local newFrame = {
getParent = function()
return { args = player_args }
end
}
end
return p