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