Changes

Jump to navigation Jump to search
491 bytes removed ,  15:12, 18 April 2020
Tracking categories don't exist on this wiki
return tostring(root)
end
 
function p.renderTrackingCategories(args)
local isDeprecated = false -- Tracks deprecated parameters.
for k, v in pairs(args) do
k = tostring(k)
if k:find('^item_style%d+$') or k:find('^item_value%d+$') then
isDeprecated = true
break
end
end
local ret = ''
if isDeprecated then
ret = ret .. '[[Category:List templates with deprecated parameters]]'
end
return ret
end
checkType('makeList', 2, args, 'table')
local data = p.makeListData(listType, args)
local list = return p.renderList(data) local trackingCategories = p.renderTrackingCategories(args) return list .. trackingCategories
end
Anonymous user

Navigation menu