Module:Infobox: Difference between revisions
m
Only save version anchors for switch infoboxes
Im Wired In (talk | contribs) (Save version anchor to a property) |
Im Wired In (talk | contribs) m (Only save version anchors for switch infoboxes) |
||
Line 472:
local subobject = {
Infobox = self.infobox_name, -- Also store the current Infobox name
['Version anchor'] = self.versions > 1 and self.version_names[version] or nil, -- Store the version anchor
}
for _, param_name in ipairs(self.param_names) do
|