17,105
edits
m (getPetPageTable: Fix sticky headers) |
(Substitute links with Icons.Icon() where possible to benefit from ambiguous link handling) |
||
Line 131: | Line 131: | ||
table.insert(resultPart, '|-') | table.insert(resultPart, '|-') | ||
table.insert(resultPart, '|style="text-align: center;"|' .. Icons.Icon({pet.name, type='pet', size=60, notext=true})) | table.insert(resultPart, '|style="text-align: center;"|' .. Icons.Icon({pet.name, type='pet', size=60, notext=true})) | ||
table.insert(resultPart, '| | table.insert(resultPart, '|' .. Icons.Icon({pet.name, type='pet', noicon=true})) | ||
table.insert(resultPart, '| ' .. p._getPetEffect(pet)) | table.insert(resultPart, '| ' .. p._getPetEffect(pet)) | ||
end | end | ||
Line 195: | Line 195: | ||
for i, thisPet in pairs(petList) do | for i, thisPet in pairs(petList) do | ||
result = result..'\r\n|-\r\n| | result = result..'\r\n|-\r\n|'..Icons.Icon({thisPet.name, type='pet', noicon=true}) | ||
result = result..'||style="text-align: center;"|'..Icons.Icon({thisPet.name, size='60', type='pet', notext=true}) | result = result..'||style="text-align: center;"|'..Icons.Icon({thisPet.name, size='60', type='pet', notext=true}) | ||
result = result..'||'..p._getPetSource(thisPet) | result = result..'||'..p._getPetSource(thisPet) |