From Wikipedia, the free encyclopedia

local p = {}



-- Entry point for Lua callers

function p._test(frame)

	local text = frame:preprocess("{{Special:WhatLinksHere/Category:Australia|namespace=0|limit=200}}")

	return text

end



-- Entry point for template callers using #invoke:

function p.test(frame)

	-- args = { nothing yet }

	local args = frame.args -- from calling module

	local pargs = frame:getParent().args -- from template

	return p._test(frame) -- (args[1] or pargs[1], args[2] or pargs[2])

end



return p
From Wikipedia, the free encyclopedia

local p = {}



-- Entry point for Lua callers

function p._test(frame)

	local text = frame:preprocess("{{Special:WhatLinksHere/Category:Australia|namespace=0|limit=200}}")

	return text

end



-- Entry point for template callers using #invoke:

function p.test(frame)

	-- args = { nothing yet }

	local args = frame.args -- from calling module

	local pargs = frame:getParent().args -- from template

	return p._test(frame) -- (args[1] or pargs[1], args[2] or pargs[2])

end



return p

Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook