Template:StatsTable

This template creates the table with all the financial and temporal values on the building pages. Unnamed variables can be passed usefully to this template only if this is done in the correct order:

1 building cost in €,

2 construction time in seconds,

3 initial income in $,

4 initial xp,

5 lvl1 xp,

6 lvl2 xp,

7 lvl3 xp,

8 lvl4 xp,

9 lvl5 xp,

10 accumulation time in seconds,

11 number of tiles,

12 file name for the image in the top-left cell of the table.

Example: gives

The entire table can be constructed from these values, assuming the increase in values over the levels is according to the standard increment, and that the repair xp values are unknown (as they are in most cases). In order to construct the table for buildings that deviate from the standard value increments, all possible table cells have their own unique identifier that can be given a concrete value instead of the one calculated from other values. You can combine unnamed variables with named variables when calling this template, because named variables get precedence over calculated ones. Specify all twelve unnamed variables first and add the named variables that differ from the standard after them to save yourself a lot of work.

'currency': the currency used to buy the building, either 'money1' for $, or 'money2' for €, or 'basecost' for event buildings you buy with resources;

'cost0' - 'cost5': building cost for lvl0 to lvl5, in $ (or in € for cost0 for some buildings, or in basecost for yet some others);

'constructtime0' - 'constructtime5': construction/upgrading times for lvl0 to lvl5, in seconds;

'income0' - 'income5': income values for lvl0 to lvl5;

'xp0' - 'xp5': income xp values for lvl0 to lvl5;

'repair0' - 'repair5': repair cost for lvl0 to lvl5, in $;

'repairxp0' - 'repairxp5': repair xp for lvl0 to lvl5;

'paytime': accumulation time in seconds;

'size': length of one side of the building, in tiles;

'imagefilename': file name for the image that should go in the top-left cell of the table.

Example: gives