Module:User:SuggestBot/WikiProjects
Appearance
Purpose
This module supports SuggestBot when posting or updating suggestions to WikiProjects, using the design layout of WikiProject X.
Usage
{{#invoke:User:SuggestBot|function_name}}
local wp = {}
function wp.hello(frame)
return "Hello World!"
end
function wp.test_args(frame)
result = "The method got the following arguments:"
if frame:getArgument('is_included') then
result = result .. "\n* is_included" .. frame.args[is_included]
end
for k, v in pairs(frame) do
result = result .. "\n* " .. k .. "=" .. v
end
return result
end
return wp