Module:IDs

From Taskman Wiki
Revision as of 14:16, 18 May 2020 by Annilys (talk | contribs) (Created page with "local p = {}; function p.run(frame) local ids = frame.args[1] local ret = "" for id in string.gmatch(ids, "([A-Z0-9]{4,})(?:,|$)") do ret = ret .. id .. utf8.char(2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

local p = {};

function p.run(frame)
  local ids = frame.args[1]
  local ret = ""
  for id in string.gmatch(ids, "([A-Z0-9]{4,})(?:,|$)") do
    ret = ret .. id .. utf8.char(2002)
  end
  return ret
end