Documentation for this module may be created at Module:Expand/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 = "[[Category:Expansion required]]"

    for _, arg in ipairs(args) do
        if data[arg] then
            categories = categories .. "[[Category:Expansion required (" .. data[arg].name .. ")]]"
            reason = "\n*" .. arg .. ".\n"

    return "Please expand this article into a full one. The following tasks need to be completed:" .. reason .. "This request can be discussed on the associated discussion page. Remove this notice upon completion." .. categories

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