Difference between revisions of "Module:Infobox"

Jump to navigation Jump to search
19 bytes removed ,  18:05, 11 August 2022
no edit summary
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
mw.log(buildingData)
if buildingData or args['image'] then
if buildingData or args['image'] then
local result = mainbox(building)
local result = mainbox(building)

Navigation menu