Module:Infobox/vNext
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Infobox/vNext/Documentation
local p = {}
-- Retrieves corresponding infobox configuration (e.g. [[Template:Infobox/Config/Character]])
-- and converts it the template spec format that [[Module:Documentation]] and [[Module:UtilsArg]] understand.
function p.templateSpec(subjectType)
local spec = {}
local config = mw.loadData("Module:Infobox/Config/"..subjectType)
return spec
end
return p