Template talk:Crafting Box SMW

Icons on the table
I'm not sure how to do the sizes for the icons on the table. If it was just by type that would be easy. I would add a type param to Template:Infobox Item and then have a switch in here that would makes Tools = 75px, Molds =42px, etc. But Stag head, and I am sure others, don't play well with that.

Maybe we should do it by type but have exceptions for certain icons. But where would the exceptions be entered? Directly in Template:Crafting Box? Maybe as a property on the icon itself (i.e. File:Stag Head.png)? -- &#91;&#91;User:Fenyx4&#124;Fenyx4&#93;&#93; (talk) 21:39, 28 February 2014 (MST)


 * Okay, decided I'd stop wringing my hands over less than a dozen exceptions to the size of icons on the table. So I just threw them directly in the template. It means we'll have to edit the template if any more exceptions come up. And if a lot of exceptions come up we'll probably have to redesign it but that can wait.
 * There are two different topics I think needs discussing so I'm gonna drop them into different sections below. But long story short; I think this is ready to be moved into production. -- Fenyx4 (talk) 08:05, 2 March 2014 (MST)
 * Since there have been no voices of dissent I'm gonna go ahead and get started. -- Fenyx4 (talk) 12:04, 3 March 2014 (MST)

Template implementation
I was already able to leverage semantic properties to query for the ingredient icons. This removed the need for the big list of SotAWiki:Craftbox_Resources. So I changed it so users just enter the pagenames which actually cut out 30k characters of code. The biggest benefit is we won't have to edit Crafting Box everytime a new item is added. Can anyone think of problems with this change? -- Fenyx4 (talk) 08:05, 2 March 2014 (MST)