Template talk:Value

Template broken, proposing replacement
The template is arguably broken:

Broken
EDIT: The template has since been repaired, "correcting" these broken examples.
 * For starters, it breaks the line in sentences: "This is worth, right"
 * Second, it doesn't work in bullet lists:
 * Lastly, it creates paragraphs, and bloats tables:
 * Lastly, it creates paragraphs, and bloats tables:

I can fix it, but I would also like to propose an alternative: User:Happypal/Value. It replaces the text with smaller Coin icons:

Fixed + icon proposal

 * Inside a sentence: "This is worth, right"
 * Bullet lists:
 * Paragraphs:
 * Paragraphs:

Rest of Conversation
So yeah, should I just fix it, or should I also use my icon scheme? 13:26, 31 May 2011 (UTC)
 * yes, something should get fixed now. The least disruptive fix would be to put spaces between each item of the current template and remove the line breaks. While i like the look and usage of your template, I'm not a huge fan of the template+sub-template system you have there. --JonTheMon 14:54, 31 May 2011 (UTC)
 * Meh, it was to allow a null value, but in the end, I'll import it only as a single template. 14:58, 31 May 2011 (UTC)
 * There, I got it to work on a single template. I'll fix the template later tonight, and if I get more positive feedback, I'll "upgrade" it to the icon view, sometime later. 15:11, 31 May 2011 (UTC)
 * I like what you have done, and the options you have incorporated. Good work! -- Wynthyst [[Image:User Wynthyst sig icon.png ]] talk  12:12, 3 June 2011 (UTC)
 * I'm still on the fence about using icons by default, but at least the great part about a template is that we can change it. happypal (talk &bull; contribs) 12:16, 3 June 2011 (UTC)

Reverse parameter order
I think it would make more sense if the parameter order was Copper|Silver|Gold|Platinum. It shortens the text needed since most prices are in the copper-silver range. Plus, I'm not sure Platinum will get much use as I don't know of any item worth more than 99 gold. ~Markus 12:22, 3 June 2011 (UTC)
 * Current order seems to make more sense since it's closer to the decimal system you use in real life. If the price is less than a platinum coin, it's just omitted anyway. Can't see a problem here --The dnmr 12:35, 3 June 2011 (UTC)
 * I can see it either way I guess. Just keep in mind it is already in production. Changing it now would require editing pages, as well as bother users who are used to the current scheme. happypal (talk &bull; contribs) 12:44, 3 June 2011 (UTC)
 * I'm sure it would be so difficult to edit the 10 pages it's on. The problem, dnmr, is one of semantics, not formatting.  I don't see why I should have to type  to get  when it would be easier to type  and be done with it.  Proper variables could always be added such that  and  are identical.  This would probably increase the self-description of the template in the field and remove the need to edit existing templates. ~Markus 13:11, 3 June 2011 (UTC)
 * Don't be rude. It's not that difficult no, but it does require a minimal amount of effort. a minimal amount of effort here, there, then everywhere does end up being a big effort. I can propose you use explicitly numbered parameters like this:
 * {|class="terraria"


 * }
 * Don't ask me to mix named parameters though (ie t= instead of 4=), as that would actually add quite some complexity the template. On the bright side though, the "Wrong order" does have the bright side of making Platinum rank 1 :) happypal (talk &bull; contribs) 13:24, 3 June 2011 (UTC)
 * It actually isn't overly hard to mix names and positional variables. One other possibility to consider is having the template only accept the value in copper, so for 5 silver you'd use --JonTheMon 13:35, 3 June 2011 (UTC)
 * It's hard if the user decides to get fancy, and writes, say : That "1" in the fourth slot would actually be the third parameter... on the other hand  remains correct.
 * is an idea, but I don't like the idea of thinking about how many 0's I need to add for 50 Gold.
 * I think explicitly numbered parameters is both simple and convenient. happypal (talk &bull; contribs) 13:46, 3 June 2011 (UTC)
 * is an idea, but I don't like the idea of thinking about how many 0's I need to add for 50 Gold.
 * I think explicitly numbered parameters is both simple and convenient. happypal (talk &bull; contribs) 13:46, 3 June 2011 (UTC)