Module:Infobox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(add a parameter to the main page which lists the default version, for cases when there are multiple versions) |
(make the Default subobject SMW parameter use the full subobject name) |
||
Line 493: | Line 493: | ||
subobject['Version default'] = version == self.default_version |
subobject['Version default'] = version == self.default_version |
||
result = mw.smw.subobject(subobject, subobject_name) |
result = mw.smw.subobject(subobject, subobject_name) |
||
if version == self.default_version then |
|||
⚫ | |||
end |
|||
end |
end |
||
if result ~= true then |
if result ~= true then |
||
Line 499: | Line 502: | ||
end |
end |
||
end |
end |
||
⚫ | |||
end |
end |
||