Module:Infobox: Difference between revisions

From Vintage Story Wiki
m
no edit summary
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 = '[[File:' .. args.image .. '.png|180px]]' -- forcing 180px as it can't seem to use the size variable
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
Confirmedusers, Interface administrators
1,131

edits