Jump to content

Module:Sandbox/Kephir

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Kephir (talk | contribs) at 12:33, 23 February 2013 (more testing). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
-- [[User:Kephir]]'s Scribunto sandbox
-- do not expect anything to stay here in place

return {
	argtest = function (frame)
		local result = ''
		for key, value in pairs(frame:getParent().args) do
			result = result .. key .. '=' .. value .. '<br/>'
		end
		return result
	end,
	templtest = function (frame)
		return '{{X1}} <b>X1</b> [[Template:X1]] [[:Category:X1]] [[Category:X1]]', 'Kaboom!'
	end
}