Jump to content

Module:Sanctions/AlertHelper

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by ProcrastinatingReader (talk | contribs) at 10:46, 24 July 2020 (call sandbox for easier test). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {}
local getArgs = require('Module:Arguments').getArgs

function p.build(frame, args)
	topic = args[1] or args['topic']
	if not topic then
		--
	end
	
	return frame:expandTemplate{
		title = 'Ds/alert/sandbox',
		args = { topic }
	}
end

function p.main(frame)
	local args = getArgs(frame)
	return p.build(frame, args)
end

return p