Module:Infobox: Difference between revisions
for an infobox with versions, copy the SMW properties of the first version's subobject to the SMW properties of the page as a whole
Im Wired In (talk | contribs) m (Only save version anchors for switch infoboxes) |
(for an infobox with versions, copy the SMW properties of the first version's subobject to the SMW properties of the page as a whole) |
||
Line 492:
else
result = mw.smw.subobject(subobject, subobject_name)
if version == 1 then
result = mw.smw.set(subobject) -- write SMW parameters to the main page for the first version as well
end
end
if result ~= true then
|