Category talk:Templates/Material icons

Ish, I'm worried that the template is misleading. looks like its trying to show 20 cloth. See how the templates for gold and plat look. Can we make it so that you have to add px so it is less confusing? It will also make it easier if we wanted to modify it to show certain amounts of a material. Also I wrote this this morning but gwiki was being lame so I could only post it now. &mdash;♥ Jedi ♥ Rogue ♥ 02:00, 24 August 2008 (UTC)
 * How about we change them from " [[Image: .png|xpx| ]] " to " [[Image: .png|| ]] "? That way, you can put in "50px" if you want a 50 pixel picture, but if people just input 50 for "50 of x material", nothing happens.[[Image:Entrea Sumatae.png|Entrea Sumatae]] Entrea   [Talk]  02:05, 24 August 2008 (UTC)
 * Suggestion: Make the Material icons call Template:MatIcon as {{MatIcon|icon=Iron.png|title=Iron Ingots|}}. Put logic in there with {{#if: {{#pos:|px}}||&amp;nbsp;}}[[Image:|{{#if: {{#pos:|px}}||25px}}|]]. That makes it possible to change the formatting logic in a central place. I think it might be a good idea to have amount templates, like {{1|iron}}. --◄mendel► 03:10, 24 August 2008 (UTC)
 * Wouldn't that logic (I think I'm reading it right...) only allow either a quantity or an image size? If you're trying to make this work like the built-in Image pseudo-template, I again say that it's too much work for too little benefit.  There's no need for these templates to parse quantities (see my argument below).
 * On the other hand, consolidating the format to a central sub-template would indeed make these easier to maintain. I'll make that change now.  &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 03:46, 24 August 2008 (UTC)


 * (edit conflict) My original intent was only for these to be used on crafter tables at the default size of x25px, so I wasn't thinking too much on parameterizing them, but since others had suggested variable size icons I included that. As for the comparison to, the only real use of that template is for showing both  and  together, otherwise it's easier to use the individual template.  If you want to show material quantities, you'd want to create a master template that would call the individual icon templates, like  .  They tried this at GWW with GWW:Template:Mat, but that template never got used.
 * For these individual templates, I don't see the utility of including quantity as a parameter. It's the difference between   or   - the first is extra work for the template code, the second is easy for anyone to understand.  &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 03:27, 24 August 2008 (UTC)