Module:Infobox: Difference between revisions

From Vintage Story Wiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 4: Line 4:
local titleObject = mw.title.getCurrentTitle()
local titleObject = mw.title.getCurrentTitle()
local title = args.title or titleObject.baseText
local title = args.title or titleObject.baseText
local subtitle = '<b>"' .. args.subtitle .. '"</b>' or ''
local subtitle = ''
if args.subtitle then
subtitle = '<b>"' .. args.subtitle .. '"</b>'
end
local size = args.imagesize or '180px'
local size = args.imagesize or '180px'
local imageString
local imageString
Confirmedusers, Interface administrators
1,131

edits