Anonymous

Module:Monsters: Difference between revisions

From Melvor Idle
_getMonsterTable: Center align images
(_getMonsterER: Correct calculation for magic ER)
(_getMonsterTable: Center align images)
Line 1,002: Line 1,002:
     end
     end


     table.insert(tableParts, '\r\n|-\r\n|style="text-align: left;" |' .. Icons.Icon({monster.name, type='monster', size=50, notext=true}))
     table.insert(tableParts, '\r\n|-\r\n|style="text-align: center;" |' .. Icons.Icon({monster.name, type='monster', size=50, notext=true}))
     table.insert(tableParts, '\r\n|style="text-align:left" |[[' .. monster.name .. ']]')
     table.insert(tableParts, '\r\n|style="text-align:left" |[[' .. monster.name .. ']]')
     table.insert(tableParts, '\r\n|style="text-align:right" |' .. monsterID)
     table.insert(tableParts, '\r\n|style="text-align:right" |' .. monsterID)