Difference between revisions of "Module:Infobox"

Jump to navigation Jump to search
7 bytes added ,  19:56, 11 August 2022
no edit summary
Line 97: Line 97:
local building = com.modulePagename(args['title'])
local building = com.modulePagename(args['title'])
local buildingData = require('Module:Buildings')[string.lower(building)]
local buildingData = require('Module:Buildings')[string.lower(building)]
 
local result
if buildingData or args['image'] then
if buildingData or args['image'] then
local result = mainBox(building)
result = mainBox(building)
mw.log(tostring(result))
mw.log(tostring(result))
if args['image'] then
if args['image'] then

Navigation menu