Module:User:Anomie/Bug46815

From Bonkipedia
Revision as of 18:21, 12 November 2022 by ManfredoDo (talk | contribs) (1 revision imported: Module Import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:User:Anomie/Bug46815/doc

local p = {}

function p.preprocess( frame )
	local n = frame.args[1]
	return frame:preprocess( '<ref name="ref ' .. n .. '">Ref ' .. n .. '</ref>' )
end

function p.expandTemplate( frame )
	return frame:expandTemplate{ title = 'User:Anomie/Bug46815/refN', args = { frame.args[1] } }
end

return p