Module:Test: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Q8j (talk | contribs)
No edit summary
Q8j (talk | contribs)
No edit summary
Line 8: Line 8:
function p.Main(frame)
function p.Main(frame)
return frame:preprocess( '{{support}}' )
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:File:Symbol support vote.svg]]' )
end
function p.Main4(frame)
return "[[File:Symbol support vote.svg]]"
end
end
return p
return p

Revision as of 09:55, 6 April 2021

This is a test module.

Official test pages

General test page · Abuse filter test · AutoWikiBrowser test · Cascading protection test · Category test · Content model test · Deletion test

Module:Test (doc) · Patrol test · Protection test · Redirection test · Revert test · Review test · Revision and suppression test · Template test · VisualEditor test


--[[ 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:File:Symbol support vote.svg]]' )
end
function p.Main4(frame)
	return "[[File:Symbol support vote.svg]]"
end
return p