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

Okay, I found the answer I was seeking. Unfortunately, it's not the answer I wanted.

I found a way to allow a user to input a cost with any chosen delimiter, such as a slash, and for the template to create a properly formatted string. The template then passes this string both to Cost and CostSam, or whatever other templates are appropriate. Pretty cool.

Here's the catch.

Meta Wikimedia states: "Braces, pipes, and equals signs which are produced by expansion are taken as just characters, not parts of structures". In plain English, this means that the string my template created--which includes | and = characters (because that's the way we write a Cost call)--never gets processed by Cost. Bummer.

At this point, the only options I see are:
 * reverting to the old  and   system, or a variant thereof.
 * asking the editor to input cost data twice for each infobox.

Anyone else see another alternative?