Template:Upgrade/doc

This is an "intelligent" template that create the "Table of Upgrades".

Usage
To use this template in an article, copy the template below, then paste the template into an article. Keep in mind that this templante won't insert the headline! Remember to insert  before this template.

All parameters are optional (except !) – if you need, for any reason, to override the standard-values, just provide the depending coins-value.

You must remove both the  characters that surround certain entries in order for the data you enter to appear in the published article.

Parameters
{	"params": { "type": { "type": "string", "required": true, "description": { "en": "Is it a Source or a Factory?", "de": "Fabrik oder Rohstoffquelle?" },			"example": { "en": "Source for Raw Material Sources or FactoryT1...FactoryT4 For Factories Tier 1...4", "de": "Source für Rohstoffquelle oder FactoryT1...FactoryT4 für Fabriken Stufe 1...4" },			"label": { "en": "Facility-Type", "de": "Art der Einrichtung" }		},		"coins2": { "label": { "en": "Coins for Level 2", "de": "\"Coins\" für Level 2" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"example": { "en": "20000", "de": "20000" },			"type": "number" },		"coins3": { "label": { "en": "Coins for Level 3", "de": "\"Coins\" für Level 3" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" },		"coins4": { "label": { "en": "Coins for Level 4", "de": "\"Coins\" für Level 4" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" },		"coins5": { "label": { "en": "Coins for Level 5", "de": "\"Coins\" für Level 5" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" },		"coins6": { "label": { "en": "Coins for Level 6", "de": "\"Coins\" für Level 6" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" },		"coins7": { "label": { "en": "Coins for Level 7", "de": "\"Coins\" für Level 7" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" },		"coins8": { "label": { "en": "Coins for Level 8", "de": "\"Coins\" für Level 8" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" },		"coins9": { "label": { "en": "Coins for Level 9", "de": "\"Coins\" für Level 9" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" },		"coins10": { "label": { "en": "Coins for Level 10", "de": "\"Coins\" für Level 10" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" },		"coins11": { "label": { "en": "Coins for Level 11", "de": "\"Coins\" für Level 11" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" },		"coins12": { "label": { "en": "Coins for Level 12", "de": "\"Coins\" für Level 12" },			"description": { "en": "If the standard value is wrong use this to override. Don't use thousands separator!", "de": "Übersteuere den Wert für die benötigten Coins. Benutze keinen Dezimalpunkt!" },			"type": "number" }	},	"description": { "en": "Adds the \"Table of Upgrades\"\n", "de": "Fügt die \"Tabelle der Upgrades\" hinzu." },	"format": "inline" }

Keep in mind that the types are case-sensitive!
 * type (required) : this specifies which table will be used. Use
 * for Factories, Tier 1
 * for Factories, Tier 2
 * for Factories, Tier 3
 * for Factories, Tier 4
 * for Raw Material Sources
 * coins2 ... coins12 (optional) : The number is representing the level. Give the values for the needed Coins. Be sure never to use thousands separators as they will be inserted automatically! Otherwise it can lead to unexpected failures of this template.

Raw Material Sources

 * Standard usage
 * block type:


 * inline type:


 * will produce


 * Override values


 * will produce

Factories

 * this usage


 * will produce

Error handling

 * this usage


 * will produce