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:43, 21 March 2014 (However, you can set the ref once and get the same list twice. Or set it each time. Say what??). 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 preunused = frame:preprocess("<ref>ONe</ref>")
	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>two</ref>")
	local reflistN = frame:preprocess("<references />")
return reflist .. "X" .. reflistmarker .. "!" .. reflistmarker2 .. "|" .. reflistN .. "__"
end
return p