572
edits
No edit summary |
No edit summary |
||
Line 331: | Line 331: | ||
local resources = p._ResourcesData() | local resources = p._ResourcesData() | ||
local ret = {} | local ret = {} | ||
table.insert(ret, '\r\n{| class="wikitable infobox"') | table.insert(ret, '\r\n{| class="wikitable infobox"') | ||
table.insert(ret, '\r\n|-\r\n!'..building.name) | table.insert(ret, '\r\n|-\r\n!'..building.name) | ||
Line 337: | Line 336: | ||
table.insert(ret, '\r\n|-\r\n| <b>Building ID:</b> '..building.id) | table.insert(ret, '\r\n|-\r\n| <b>Building ID:</b> '..building.id) | ||
local tier = p._GetTierRequirements(building.tier) | local tier = p._GetTierRequirements(building.tier) | ||
table.insert(ret, '\r\n|-\r\n| <b>Tier | table.insert(ret, '\r\n|-\r\n| <b>Tier '..building.tier..'</b><ul><li>'..Icons._SkillReq('Township', tier.level, false)..'</li><li> PLACEHOLDER POP'..tier.population..'</li></ul>') | ||
table.insert(ret, '\r\n|}') | table.insert(ret, '\r\n|}') | ||
return table.concat(ret) | return table.concat(ret) |
edits