Différences entre les versions de « Module:Infobox »

Aller à la navigation Aller à la recherche
80 octets ajoutés ,  11 août 2022 à 18:25
aucun résumé de modification
Ligne 90 : Ligne 90 :
if buildingData or args['image'] then
if buildingData or args['image'] then
local result = mainBox(building)
local result = mainBox(building)
mw.log(tostring(result))
if args['image'] then
if args['image'] then
result:node(infoboxImage(args['image'], args['caption']))
result:node(infoboxImage(args['image'], args['caption']))
end
end
mw.log(tostring(result))
--Production group
--Production group
local workers = buildingData.workers
local workers = buildingData.workers
Ligne 114 : Ligne 115 :
for k, v in ipairs(production) do
for k, v in ipairs(production) do
result:node(v)
result:node(v)
mw.log(tostring(result))
end
end
end
end
1 124

modifications

Menu de navigation