Module:Infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 409:
:addClass('infobox-'..self.infobox_name)
for _, class in ipairs(self.classes) do
self.rtable:addClass('infobox-'..mw.ustring.gsub(class_name = self:get_param(class, self.default_version), '%s', '_'))
if type(class_name) == 'string' then
self.rtable:addClass('infobox-'..mw.ustring.gsub(class_name, '%s', '_'))
end
end
-- Create the switch datatable if multiple versions