Anonymous

Module:Pets: Difference between revisions

From Melvor Idle
getPetSidebar: Use infobox class
(Use tabs instead of spaces for indentation)
(getPetSidebar: Use infobox class)
Line 201: Line 201:
local dropChance = p._getPetChance(pet)
local dropChance = p._getPetChance(pet)


result = '{| class="wikitable" style="float:right; clear:right;"\r\n|-\r\n'
result = '{| class="wikitable infobox" style="float:right; clear:right;"\r\n|-\r\n'
result = result..'! '..name..'\r\n|-\r\n| '
result = result..'! '..name..'\r\n|-\r\n| '
result = result..'style="text-align: center;"|' .. Icons.Icon({name, type='pet', size='250', notext=true})
result = result..'style="text-align: center;"|' .. Icons.Icon({name, type='pet', size='250', notext=true})