Board Thread:New on TrainStation Wiki/@comment-5596770-20140217222504/@comment-15636815-20141221092447

Mhommer wrote:

COST Given those parameters would the information be clean enough to allow the template to do all the math? Yes. Super clean and super easy. The template would put it all together essentially like this:

If, then it would use CostNoSam and Cost, respectively, instead. Also, the final code probably won't look exactly like the above because the template needs to test for the number of  parameters present. But you get the idea. As I wrote in one of my posts on the subject, splitting the input into six lines makes this task child's play. The biggest drawback, again, is lack of consistency with something used everywhere on the site except in this new template--that something also generally considered much cleaner and easier to use than six lines of input.

One side note about cost input, though. I didn't make a special announcement about it because it didn't change the existing functionality, and I haven't made casual mention before now because there wasn't a truly appropriate moment. Now there is.

I modified Cost and all four of its offspring to accept the same four-letter abbreviations that Infobox wagon accepts for type of cargo carried, in addition to the input they already accepted. Any user, anywhere, at any time, may use "bric", "marb", or "sili", for example, within any template. You're welcome. ;-)

Mhommer wrote:

Nitpicking :) I don't think we immediately need to go back and revert the entire site, we can handle that at a later time.

Again, we can establish the standard in this template and worry about converting the rest of the site at a later date. Not ideal but makes it a more bite size managable task. Agreed, and pretty much what I meant. It all needs to be done, it all should be done as quickly as we can get to it, we need to bring the community together to work on it as a group, AND attempting to do everything within a week of releasing Infobox item is stupid. We need to plan each segment of the overall project similarly to how we're planning this. That way, we can find the issues and deal with them before we actually start diving in, making it quicker and easier to complete each segment. RL and other considerations mean that we should give ourselves well-deserved breaks between segments, too.

Mhommer wrote:

As for purchases, I would lean more toward Gem and Material or even Gem, Material and Gold since that will make it very obvious the parameters we are looking for. I see your point. So then, headers within the infobox of "Gems Purchase" and "Gold & Materials Purchase"? And what about the parameters within the template itself? Is that what you meant?
 * etc
 * etc
 * etc
 * etc
 * etc