Template:Goodbox

Goodbox is a template that creates an infobox on the page by displaying data provided by template parameters and loading data from the data template Template:Goods_csv. The infobox to the right on this page is an example.

Overview
This template should be used for all Goods on the wiki. The template requires only the  parameter, which tells the code behind the scenes which Good you want an infobox for.

In the future, this template could be augmented to automatically create categories based on the information retrieved. For example, the infobox for Parts could add categories for building materials, rare goods, or even goods that are at the end of their production chain.

Parameters
Only the first,  is required, and it must be spelled correctly to match the in-game name of the good. Other parameters are optional, but add to the value of displaying the infobox.

Errors
When the template is called without a name, the template reminds you that it is required.

Example:

Yields:

When providing the name of a good, it is important that it is spelled correctly, including any punctuation. Otherwise, an error will return from the data module.

Example:

Broken:

Fixed: