Documentation for this module may be created at Module:Images/doc

-- <nowiki>
local p = {}
local data = require("Module:Codename").tables.rel
local getArgs = require("Dev:Arguments").getArgs

function p.main(frame)
    local args = getArgs(frame)
    local reason = ""
    local categories = ""

    for _, arg in ipairs(args) do
        if data[arg] then
            categories = categories .. "[[Category:Image needed (" .. data[arg].name .. ")]]"
        else
            reason = " of " .. arg
        end
    end

    return "This article is in need of a few pictures. Perhaps you can help by uploading a picture" .. reason .. "." .. categories
end

return p
-- <nowiki>
Community content is available under CC-BY-SA unless otherwise noted.