Board Thread:The Roundhouse/@comment-997381-20180819091958

What would you guys say for implementing the data of Locomotives/Wagons in a template that only sets variables with those data.

That way we could use those templates to call-in the data wanted from other templates and info boxes?

This would be only using the {{#vardefine}}/{{#var}} functionality that seems to be active on this wiki

For example:

Followed by a template, infobox or manual wiki code that makes use of the variables set using the above template call(s)>

The variables set in those data-templates would set special variables with all the relevant data of that type. Eg. Name, image-filename, bonus, etc


 * If you look at UsedTrain i created, you can already see how cascaded use of variables can be usefull
 * I used variable(s) set in UsedTrain inside UsedTrain/Wagon to calculate the total bonus taking into account the set-bonus from the locomotive  