Forum:Item infoboxes?

I was just looking at the Banana yucca fruit and Irr. banana yucca articles and wondering why the consumables infobox does not allow variants to be specified, while the armor infobox does. Maybe the word "variant" has different meanings, or maybe it isn't considered as useful to capture non-repairable item variants?

I am also wondering if there can there be multiple levels of infobox inheritance, as it seems like things like armor, ammo, consumables, etc. ought to be inheriting from an intermediate item infobox if possible. --(talk 20:00, 20 January 2012 (UTC)


 * If anything,  should be removed from Infobox armor gamebryo. It's usually double-listed in the article and just bloats the infobox. I'll make a separate topic about this in due time; I've collected a whole list of such parameters during my recent conversion of the infoboxes to the new meta-template and it's not really practicable to discuss them one at a time.
 * Regarding inheritance, there isn't really such a thing in templates (wiki syntax is just a parser language and not a proper programming language). You can't do something like "this template should support the parameters of that template plus some of its own"; parameters which aren't explicitly specified in the "end template" are not passed through to higher levels of the template chain. You'd still have to update each "end template" whenever you wanted to add a common parameter, otherwise the individual templates wouldn't support the common parameter even if it is defined somewhere higher up the chain.
 * In order not to overdo it with technical details (there's quite a number of drawbacks to doing something like this), let me just leave it at that and add that this would get highly complicated very quickly, make the whole setup hard to maintain, put additional strain on the server and have virtually no benefits. I understand where you're coming from though; if this was possible, I'd have done it long ago :) -- Porter21 (talk) 20:58, 20 January 2012 (UTC)