Jump to content

Module:Political party/sandbox

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Zukunft99 (talk | contribs) at 14:59, 25 September 2023 (Test color). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {}

local function getData(args)
	local color = args.color
        fetch = require('Module:Political party')._fetch
		color = fetch({args[1], 'color'})
	return color
end

function p._cell(args)
	local color = getData(args)
	return color
end

function p.cell(frame)
	local getArgs = require('Module:Arguments').getArgs
	local args = getArgs(frame)
	return p._cell(args)
end


return p