Module:Infobox: Difference between revisions

Add smw property Infobox
(Fix smw bug for single-versioned infoboxes)
(Add smw property Infobox)
Line 450:
local subobject_name = 'Infobox.'..mw.title.getCurrentTitle().fullText..'#'..self.version_names[version]
-- Store each param that has smw_property defined and is not nil
local subobject = {Infobox = self.infobox_name} -- Also store the current Infobox name
for _, param_name in ipairs(self.param_names) do
local property = self.params[param_name].smw_property