Template:Infobox Buildings/doc

This is a infobox with basic information about buildings.

It will be used for Factories as well as for Raw Material Sources.

Example1:  will present the file called Apples.png and show Apples as linked word to the page called Apples. Example2:  will present the file called Apple Juice.png and show Apple Juice just as unlinked word. Links to the product will only be inserted for "Required Goods" (source1 ... source8) because otherwise the "Produced Goods" (good1 ... good8) would create a circular reference to themself...
 * You don't need to use Wikicode for the tags  and   to generate a list of possible goods including its picture. This Template use the provided variable to search for the picture and to show the name. Make sure that the spelling of the image corresponds exactly to the good!


 * Use only the highest achievable level for the tag . Level 1 is hardcoded to this template.


 * Tags ending with  and   are used to present min/max-values. Use _low for the values of lowest level for this building (normally level 1) and _high for the values of the highest level (normally level 12 for Factories and level 6 for Sources).


 * Why up to sixteen sources and twelve goods? Because it is a table with three rows and "a power of four" columns ;-)

Parameters
{	"params": { "name": { "label": "Name", "description": "Name of the Facility. Points to Pagename by default.", "default": "", "required": true, "suggested": true, "type": "string" },		"image": { "label": "Image", "description": "Image of the Facility. Points to a file called like the pagename by default", "default": ".png", "required": true, "suggested": true, "type": "string" },		"type": { "label": "Type/Category", "description": "categorizes this page", "type": "string", "required": true, "suggested": true },		"level": { "label": "Level (max.)", "description": "Maximum Level this building can acquire", "type": "number", "example": "6", "suggested": true },		"speed_low": { "label": "Speed (low)", "description": "slowest loading speed factor", "default": "1x", "suggested": true },		"speed_high": { "label": "Speed (high)", "description": "fastest loading speed factor", "default": "2x", "suggested": true },		"capacity_low": { "label": "Storage capacity (low)", "description": "set the lowest storage capacity of this building", "example": "240", "type": "number", "suggested": true },		"capacity_high": { "label": "Storage capacity (high)", "description": "set the highest storage capacity of this building", "example": "500", "type": "number", "suggested": true },		"platforms_low": { "label": "Platform (min)", "description": "minimum numbers of platform for this building", "type": "number", "default": "1", "suggested": true },		"platforms_high": { "label": "Platform (max)", "description": "maximum numbers of platforms for this building", "type": "number", "default": "2", "suggested": true },		"autosupply_low": { "label": "Autosupply (min)", "description": "minimum autosupply rate", "type": "string", "default": "-0%", "suggested": true },		"autosupply_high": { "label": "Autosupply (max)", "description": "maximum Autosupply rate", "example": "-15%", "suggested": true },		"source1": { "description": "if the building is a factory, use source1 to source12 to show the required sources", "type": "string", "suggested": true },		"source2": {}, "source3": {}, "source4": {}, "source5": {}, "source6": {}, "source7": {}, "source8": {}, "source9": {}, "source10": {}, "source11": {}, "source12": {}, "good1": { "description": "use good1 to good12 to show which goods will be produced by this building", "required": true, "suggested": true },		"good2": {}, "good3": {}, "good4": {}, "good5": {}, "good6": {}, "good7": {}, "good8": {}, "good9": {}, "good10": {}, "good11": {}, "good12": {}, "source13": {}, "source14": {}, "source15": {}, "source16": {} },	"description": "This is a infobox with basic information about buildings.\nIt will be used for Factories as well as for Raw Material Sources.\nThe infobox can show up to 12 sources and up to 12 produced goods.", "format": "block", "paramOrder": [ "name", "image", "type", "level", "speed_low", "speed_high", "capacity_low", "capacity_high", "platforms_low", "platforms_high", "autosupply_low", "autosupply_high", "source1", "source2", "source3", "source4", "source5", "source6", "source7", "source8", "source9", "source10", "source11", "source12", "source13", "source14", "source15", "source16", "good1", "good2", "good3", "good4", "good5", "good6", "good7", "good8", "good9", "good10", "good11", "good12" ] }

Example
