Module:Test: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
end
end
function p.Main3(frame)
function p.Main3(frame)
return frame:preprocess( '[[File:File:Symbol support vote.svg]]' )
return frame:preprocess( '[[File:Symbol support vote.svg]]' )
end
end
function p.Main4(frame)
function p.Main4(frame)

Revision as of 09:56, 6 April 2021

--[[ This is a test page for testing lua in mediawiki
place your code below this comment
please remove when you are done testing,
Thank You! and have fun
]]

local p ={}
function p.Main(frame)
	return frame:preprocess( '{{support}}' )
end
function p.Main2(frame)
	return frame:preprocess( '{{#ifeq:A|B|true|false}}' )
end
function p.Main3(frame)
	return frame:preprocess( '[[File:Symbol support vote.svg]]' )
end
function p.Main4(frame)
	return "[[File:Symbol support vote.svg]]"
end
return p