local p =
function p.control(frame) -- Add another function local council = frame.args[1] -- To access arguments passed to a module, use `frame.args` -- `frame.args[1]` refers to the first unnamed parameter local data = mw.loadData('Module:Sandbox/Mirrorme22/current') local data_all = data.full -- given to the modu local council = data_all[council]
local return_value = string.gsub(council)
return return_value -- greeting depending on the name given, such as "Hello, Fred!"end
return p