Difference between revisions of "Module:Uses TemplateStyles"

Jump to navigation Jump to search
Undo revision 4678331 by ExE Boss (talk): this is a global module; change the local config if you want to modify categories (I don’t think it’s necessary)
en>ExE Boss
(Use {{#translate:}})
en>Tacsipacsi
(Undo revision 4678331 by ExE Boss (talk): this is a global module; change the local config if you want to modify categories (I don’t think it’s necessary))
Line 110: Line 110:
end
end
end
end
local frame = mw.getCurrentFrame();
for i, cat in ipairs(cats) do
for i, cat in ipairs(cats) do
cats[i] = string.format('[[Category:%s%s]]', cat, frame:callParserFunction( "#translation:" ))
cats[i] = string.format('[[Category:%s]]', cat)
end
end
return table.concat(cats)
return table.concat(cats)
Anonymous user

Navigation menu