Module:Test: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
function p.Main4(frame) |
function p.Main4(frame) |
||
return "[[File:Symbol support vote.svg]]" |
return "[[File:Symbol support vote.svg]]" |
||
end |
|||
function p.Main5(frame) |
|||
return "[[File:Symbol support vote.svg]]" |
|||
end |
|||
function p.Main6(frame) |
|||
return frame:expandTemplate{ title = Test, args = frame.args[1] } |
|||
end |
|||
function p.Main7(frame) |
|||
return frame:expandTemplate{ title = Test, args = frame.args[1] } |
|||
end |
|||
function p.Main8(frame) |
|||
return frame:expandTemplate{ title = Test, args = frame.args[1] } |
|||
end |
|||
function p.Main9(frame) |
|||
return frame:expandTemplate{ title = Test, args = frame.args[1] } |
|||
end |
end |
||
return p |
return p |
Revision as of 10:03, 6 April 2021
This is a test module.
Official test pages |
---|
Test page · Abuse filter test · AutoWikiBrowser test · Cascading protection test · Category test · Content model test · Deletion test · Gallery test · Link test Merge test · Patrol test · Protection test · Redirect test · Review test · Revision deletion test · Rollback test · Tag test · Template test · Module:Test (doc) · 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:Symbol support vote.svg]]' )
end
function p.Main4(frame)
return "[[File:Symbol support vote.svg]]"
end
function p.Main5(frame)
return "[[File:Symbol support vote.svg]]"
end
function p.Main6(frame)
return frame:expandTemplate{ title = Test, args = frame.args[1] }
end
function p.Main7(frame)
return frame:expandTemplate{ title = Test, args = frame.args[1] }
end
function p.Main8(frame)
return frame:expandTemplate{ title = Test, args = frame.args[1] }
end
function p.Main9(frame)
return frame:expandTemplate{ title = Test, args = frame.args[1] }
end
return p