FANDOM


-- <nowiki>
 
-- Provides a table for use instead of the default "frame" argument, when using the debug console
-- Usage:
--   frame = require('Module:Debug')
--   = p.main(frame)
 
local p = {}
 
p.args = {}
 
function p.expandTemplate(_, t)
	if t.title == 'GEP' then
		return '1337'
	end
 
	local s = '{{' .. t.title
	if t.args then
		for i, v in pairs(t.args) do
			if type(i) == 'number' then
				s = s .. '|' .. v
			else
				s = s .. '|' .. i .. '=' .. v
			end
		end
	end
 
	return s .. '}}'
end
 
function p.preprocess(_, x)
	return x
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.