Aqbeż għall-kontentut

Module:MarkupProcessor

Minn Wikipedija, l-enċiklopedija l-ħielsa

Documentation for this module may be created at Module:MarkupProcessor/doc

local p = {}

function p.processMarkup(frame)
	local f = (frame.args[1] or frame.args.item) and frame or frame:getParent()
	return f:preprocess(f.args[1])
end

function p.process(frame) return p.processMarkup(frame) end

function p.main(frame) return p.processMarkup(frame) end

return p