Module:Infobox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Californ1a (talk | contribs) mNo edit summary |
(add the 'is default version' parameter to subobjects made from infoboxe versions) |
||
Line 491: | Line 491: | ||
result = mw.smw.set(subobject) |
result = mw.smw.set(subobject) |
||
else |
else |
||
subobject['Is default version'] = version == self.default_version |
|||
result = mw.smw.subobject(subobject, subobject_name) |
result = mw.smw.subobject(subobject, subobject_name) |
||
if version == self.default_version then |
if version == self.default_version then |