Jump to content

Module:Side box: Difference between revisions

77 bytes added ,  10 years ago
fix behaviour for "image = none"
(fix metadata logic)
(fix behaviour for "image = none")
Line 36: Line 36:
end
end
table.insert(data.classes, args.class)
table.insert(data.classes, args.class)
-- Image
if args.image and args.image ~= 'none' then
data.image = args.image
end


-- Copy over data that doesn't need adjusting
-- Copy over data that doesn't need adjusting
Line 49: Line 54:
-- Body row
-- Body row
'text',
'text',
'image',
'imageright',
'imageright',


Cookies help us deliver our services. By using our services, you agree to our use of cookies.