Jump to content

Module:Sandbox/Wnt

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wnt (talk | contribs) at 17:51, 21 March 2014 (Hmmmm--- looks like the frame:preprocess has to be ONE string to get different references / outputs on the second go.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
-- hexdump = require("Module:Hex")._hexdump
local p = {}
local getArgs = require("Module:Arguments").getArgs
function p.main(frame)
	local args = getArgs(frame)
	local unused = frame:preprocess("Some text<ref>Test One</ref>")
	local reflist = frame:preprocess("<br /><references /><br />")
	local unused2 = frame:preprocess("Another section with refs<ref>Test Two</ref>")
	local reflist2 = frame:preprocess("<br /><references /><br />")
return reflist .. reflist2
end
return p