Difference between revisions of "Module:Uses TemplateStyles"

Jump to navigation Jump to search
Use {{#translate:}}
>Tacsipacsi
(copy bug fix/performance optimization by Pppery from enwiki)
>ExE Boss
(Use {{#translate:}})
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]]', cat)
cats[i] = string.format('[[Category:%s%s]]', cat, frame:callParserFunction( "#translation:" ))
end
end
return table.concat(cats)
return table.concat(cats)
Anonymous user

Navigation menu