Module:Template rating
Documentation for this module may be created at Module:Template rating/doc
local getArgs = require("Module:Arguments").getArgs
local ctg = require("Module:Category handler")._category_handler
local p = {}
function p._template_rating(args)
local rating = args["rating"] or draft -- Rating of the template/module: draft, ready, broken, or deprecated
local namespace = args["namespace"] or "template" -- Namespace: either module or template; default is template
local name = args["name"] or "Some template" -- The name of the module/template
local details = args["details"] -- Extra details, if any
local replacement = args["replacement"] -- If this is deprecated, is there a replacement?
local is_archived = args["archived"] or false -- If this is deprecated, should the old one be preserved?
end
function p.template_rating(frame)
local args = getArgs(frame)
return p._template_rating(args)
end
return p