Template:ItemInfobox/doc

From Go-Go Town Wiki
Jump to navigation Jump to search

Usage

This info box is for Item pages.

Syntax

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

The item's name.

Default
{{PAGENAME}}
Example
Apple
Unknownoptional
Iconimage

An optional InfoboxIcon for this item. Defaults to an icon that exists with the same name passed in.

Default
The icon at {{{name}}}_Icon.png, where name defaults to {{PAGENAME}}
Example
{{InfoboxIcon|image=ObjIcon_Item_Wood.png|caption=An icon depicting a tree branch cut on both sides.|alt=An icon depicting a tree branch cut on both sides.}}
Templateoptional
Categorycategory

The item's category. Valid categories are: Animal Feed, Clothing, Drinks, Food, Groceries, Hair, and Trinkets.

Suggested values
Animal Feed Clothing Drinks Food Groceries Hair Trinkets
Example
Groceries
Stringoptional
Industry Zonesindustries

A comma-separated list of zones related to this item.

Suggested values
Farm Fish Forest Mine
Example
For example, apple is grown in the farming zone, so the list would only be Farm. A mushroom is found in the mining zone and can be grown in the farming zone, so its list would be Farm,Mine
Stringoptional
Sell Pricesell_price

The item's sell price. Should be a whole number.

Example
2
Numberoptional
Storage Sizestorage_size

The item's storage size.

Suggested values
1x1x1 1x2x1 2x1x1 2x2x1 2x2x2
Example
1x1x1
Stringoptional
Sourcessources

A list of wiki page links to locations, equipment, zones, EGO Tech packages, etc. where the item can be acquired.

Contentoptional
Recipe Crafter/Fitoutcrafter

The crafter or fitout used to make this recipe.

Example
Sweets N' Treats
Page nameoptional
Recipe Usesuses

A comma-separated list of item=quantity of the items that this recipe uses to make one batch of the recipe.

Example
Cow Milk=1
Stringoptional
Recipe Makesmakes

A comma-separated lists of item=quantity of what this recipe produces.

Example
Cheese=2
Stringoptional
Used Forneeded_for

A list of wiki page links to challenges, recipes, structures, etc. that use this item.

Contentoptional
Seed Sourcesseed_sources

A list of sources where the seeds can be obtained. The SeedSourceCompact template can be used to make this easy. Leave out for items that do not have seeds.

Default
Empty
Example
{{SeedSourceCompact|tech={{ETLink|0|StarterIndustry}}}}
Templateoptional
Seed Import Priceseed_import

The quantity and price of the seeds in the import map in qty=price format. Leave out for items that do not have seeds.

Default
Empty
Example
3=15
Stringoptional
Seed Harvest Quantityharvest_qty

The number of crops produced each seed cycle. Leave out for items that do not have seeds.

Default
Empty
Example
3
Numberoptional
Seed Multiple Harvestsmulti_harvest

Whether the seed produces multiple times before needing to be replanted. Leave out for items that do not have seeds.

Suggested values
Yes No
Default
Empty
Example
Yes
Stringoptional

Example

Base Item


{{ItemInfobox
| name = Wood
| image = {{InfoboxIcon|image=ObjIcon_Item_Wood.png|caption=An icon depicting a tree branch cut on both sides.|alt=An icon depicting a tree branch cut on both sides.}}
| category = Groceries
| industries = Forest
| sell_price = 2
| storage_size = 2x1x1
| sources = {{ItemList|items=Large Stump,Log,Mining Supplies,Pile of Wood,Tree|delim=<br>}}
| needed_for = {{ItemList|items=Planks,Paper Reams|delim=<br>}}
}}

With Recipe


{{ItemInfobox
|name = Planks
|image = {{InfoboxIcon|image=Planks_Icon.png}}
|category = Groceries
|industries = Forest
|sell_price = 3
| storage_size = 2x1x1
| sources = {{ETLink|0|Starter Industry}}
| crafter = [[Table Saw]]
| uses=Wood=1
| makes=Planks=2
| needed_for={{ItemList|items=Wood Frame|delim=<br>}}
}}


For Seeds

{{ItemInfobox
|name=Apple
|image={{InfoboxIcon|image=Apple_Icon.png}}
|category=Groceries
|industries={{#var:zone}}
|sell_price=2
|storage_size=1x1x1
|sources=
* {{Seed|Apple}} 
|harvest_qty=
|seed_import=3=15
|seed_sources={{SeedSourceCompact|tech={{ETLink|2|Automation Farm}}}}
}}