1,124
edits
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 | ||
result = mainBox(building) | |||
mw.log(tostring(result)) | mw.log(tostring(result)) | ||
if args['image'] then | if args['image'] then |