Confirmedusers, Interface administrators
1,131
edits
mNo edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
local title = args.title or titleObject.baseText | local title = args.title or titleObject.baseText | ||
local size = args.imagesize or '180px' | local size = args.imagesize or '180px' | ||
local imageString | local imageString | ||
local images = {} | local images = {} | ||
if args.images then | if args.images then | ||
Line 18: | Line 18: | ||
imageString = imageString .. l | imageString = imageString .. l | ||
end | end | ||
else | |||
imageString = '[[File:' .. args.image .. '.png|180px]]' -- forcing 180px as it can't seem to use the size variable | |||
end | end | ||