1,124
edits
Line 85: | Line 85: | ||
local args = a.getArgs(frame) | local args = a.getArgs(frame) | ||
local building = com.modulePagename(args['title']) | local building = com.modulePagename(args['title']) | ||
local buildingData = require('Module:Buildings') | local buildingData = require('Module:Buildings')[building] | ||
mw.log(buildingData) | mw.log(buildingData) | ||
if buildingData or args['image'] then | if buildingData or args['image'] then |