16,254
edits
(_getBuildingBenefitText: Fix missing building modifiers) |
(getBuildingInfoBox: Add TotH icon) |
||
Line 559: | Line 559: | ||
table.insert(ret, '{| class="wikitable infobox"') | table.insert(ret, '{| class="wikitable infobox"') | ||
-- Name | -- Name | ||
table.insert(ret, '\n|-\n! ' .. building.name) | table.insert(ret, '\n|-\n! ' .. Icons.getExpansionIcon(building.id) .. building.name) | ||
-- Icon | -- Icon | ||
table.insert(ret, '\n|-\n|style="text-align:center"| ' .. Icons.Icon({building.name, type='building', size='250', notext=true})) | table.insert(ret, '\n|-\n|style="text-align:center"| ' .. Icons.Icon({building.name, type='building', size='250', notext=true})) |