Module:Infobox Task
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Infobox Task/doc
local p = {}; function p.categorise(frame) local parent = frame:getParent().args local categories = parent[1] local ret = "[[Category:Tasks]]" for v in string.gmatch(categories, "([A-Za-z]+)") do ret = ret .. "[[Category:Tasks in " .. v .. " tier]]" if (v == "Passive") then local stars = parent[2] ret = ret .. "[[Category:" .. stars .. "-star Passive tasks]]" end end return ret end return p