Module:ComicsInfobox/dataCitizenship

-- This creates a full set of all values from different paradigms -- To limit, use one of the below local common = mw.loadData('Module:ComicsInfobox/dataCitizenship_common') local marvel = mw.loadData('Module:ComicsInfobox/dataCitizenship_marvel') local dc = mw.loadData('Module:ComicsInfobox/dataCitizenship_dc')

local valid = {} local substitutes = {} local countries = {}

for k,v in pairs(common.valid) do valid[k] = v end for k,v in pairs(common.substitutes) do substitutes[k] = v end for k,v in pairs(common.countries) do countries[k] = v end for k,v in pairs(marvel.valid) do valid[k] = v end for k,v in pairs(marvel.substitutes) do substitutes[k] = v end for k,v in pairs(marvel.countries) do countries[k] = v end for k,v in pairs(dc.valid) do valid[k] = v end for k,v in pairs(dc.substitutes) do substitutes[k] = v end

local output = { ["valid"] = valid, ["substitutes"] = substitutes, ["countries"] = countries }

return output