Board Thread:Support Requests - Getting Technical/@comment-15636815-20151207190323

On TrainStation Wiki, we have infoboxes for different types of items. A locomotive infobox, for example, could look like this, if it's a permanent addition to the game, or like this, if it's available only for a short time.

Buildings use a different infobox that doesn't yet have all the features of the locomotive infobox. Here is a typical building page.

Our issues are twofold.
 * 1) The bigger and more important issue is that buildings have a discount available. When players complete certain tasks, they automatically buy buildings for 10% less, from then on. We'd like to use a format similar to the locomotive infobox that displays both the full cost and the discounted cost. The locomotive box already fills the desktop screen, leaving little or no room for more columns for discounted cost. And don't even get me started on how the hell we're going to make these portable. One step at a time.
 * 2) *Further, since we have no idea whether an editor sees the full cost or the discounted cost in the game, we'd like to allow editors to enter whatever they see and make the template calculate the other. (Alternatively, we can simply force the editors to enter both. We currently have a way to do that that allows the editor to enter the same cost twice (into different subtemplates), forcing the subtemplates to do the dirty work.)
 * 3) Locomotives have precisely two cost options: gems, or gold. Buildings also have two cost options, but theirs are gems, or materials. Materials includes gold plus 16 different cargo types, although any one building will always use a maximum of three materials for its cost. The issue is how to display the materials cost in similar fashion to the way the locomotive infoboxes display the gold cost, and still have the materials cost look good.

Nothing too complex. :P 