I have devised a new infobox template for food. It can be seen at Small Serpent Fish. The template is located here: Template:Infobox Food.
There are several changes. Most importantly, categories are now automatically set according to the type of infobox used. For example, the Small Serpent Fish uses the Template:Infobox Food template, so it will automatically be categorized as Category:Food and Category:Item. Additionally, there is a field for cookability. If it is set to "y", then the page will be categorized as Category:Cookable. You will not find these categories in the normal categories list, and they cannot be deleted directly in the source.
What is more, food items can now be attributed nutritive values for each Stamina and Vitality. Different values can be specified for the cooked version of the food item, though they will be hidden if the "cookable (y/n)" attribute is set to "n".
Finally, I have deleted the "imagewidth" and "imagecaption" fields, which I feel were only in the way and hiding more important fields further down. This I also did for the Template:Infobox Item template.
Please note that it is easy to convert food items using the Template:Infobox Item, since the relevant field names stayed the same. To convert one, edit its source and in the first line rename "Infobox Item" to "Infobox Food". I'll try to do that now, but just in case I miss something or new ones appear.
Please tell me what you think.
Douba (talk) 11:24, April 18, 2014 (UTC)