Editing Module:Infobox Animal
From Eco - English Wiki
Your changes will be displayed to readers once an authorized user accepts them. (help)
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 63: | Line 63: | ||
-- 12em seems to be enough for the other column to scale up to fill the remaining space. | -- 12em seems to be enough for the other column to scale up to fill the remaining space. | ||
-- With this the longest line "Attack Damage:" fits on one line. | -- With this the longest line "Attack Damage:" fits on one line. | ||
infobox = infobox .. '|-\n| Eats:\n|' .. longValueColumnStyle .. '| ' .. animalTable.foodSources .. '\n' | infobox = infobox .. '|-\n| Eats:\n|' .. longValueColumnStyle .. '| ' .. AnimalUtils.formatFoodSources(animalTable.foodSources) .. '\n' | ||
end | end | ||