Module:Infobox: Difference between revisions

Jump to navigation Jump to search
480 bytes added ,  19:28, 22 December 2021
m
no edit summary
m (update infobox image size from 150px to 160px to match QBE render size)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 68: Line 68:
footer = '| class="infobox-footer" colspan="2" | ' .. footer
footer = '| class="infobox-footer" colspan="2" | ' .. footer
end
end
local gameversion = args.gameversion
if gameversion then
        local frame = mw.getCurrentFrame()
        frame:callParserFunction{ name = '#cargo_store', args = { '',
            _table = 'VersHistInfobox', Version = gameversion
        } }
gameversion = '| class="infobox-gameversion-postfooter" colspan="2" | <div class="qud-infobox-version">Infobox data from game version <span class="qud-version-num">' .. gameversion .. '</span></div>'
    end


         local infoboxStartDiv = '<div class="moduleinfobox'
         local infoboxStartDiv = '<div class="moduleinfobox'
Line 91: Line 100:
args.rows or '',
args.rows or '',
footer or '',
footer or '',
gameversion or '',
'|}',
'|}',
'</div>'
'</div>'

Navigation menu