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:37, 21 March 2014 (hmmm, preprocessing references once prevents a LATER ref from being parsed into the second references /. Which is odd indeed.). 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 reflistmarker = frame:preprocess("<references />")
	local unused = '' -- frame:preprocess("<ref> Test</ref>")
	reflist = '' -- mw.text.unstrip(frame:preprocess("<references />"))
	reflistmarker2 = '' -- frame:preprocess("<references />")
	local unusedN = frame:preprocess("<ref>Test</ref>")
	local reflistN = frame:preprocess("<references />")
return reflist .. "X" .. reflistmarker .. "!" .. reflistmarker2 .. "|" .. reflistN .. "__"
end
return p