Module:Loops

-- Module for various loops used in various templates on the wiki -- Author: KockaAdmiralac -- local p = {}; function template_args return mw.getCurrentFrame:getParent.args end function p.list(frame) local args = template_args local ret = '' for i, v in ipairs(args) do       ret = ret .. v .. '*'   end ret = string.gsub(ret, '*', '') return ret end return p --