Module:SimpleInfobox
Documentation for this module may be created at Module:SimpleInfobox/doc
local p = {}
function p.infobox(frame)
local args = frame:getParent().args
local name = args["name"] or "No name provided"
local birth_date = args["birth_date"] or "No birth date provided"
local occupation = args["occupation"] or "No occupation provided"
return string.format("Name: %s\nBirth Date: %s\nOccupation: %s", name, birth_date, occupation)
end
return p