Module:Infobox Task

From Taskman Wiki
Revision as of 15:11, 18 May 2020 by Annilys (talk | contribs) (Created page with "local p = {}; function p.categorise(frame) local categories = frame:getParent().args[1] local ret = "Category:Tasks" for v in string.gmatch(ids, "([A-Za-z]+)") do...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 categories = frame:getParent().args[1]
  local ret = "[[Category:Tasks]]"
  for v in string.gmatch(ids, "([A-Za-z]+)") do
    ret = ret .. "[[Category:" .. v .. "]]"
  end
  return ret
end

return p