Porcopedia
Advertisement
Template-info.png Documentation

This is just a generic infobox with a few sample fields

Usage

{{infoboxResource
| image = 
| tech = //use this if and only if the resource is gated behind a technology
| type = 
| location = 
| producer = 
| madefrom =
| usedfor = //resources that needs this to be made
| usedin = //alternative to the previous one
| usedby = //the building(s) that use this
}}

Example

Icon ressources.png InfoboxResource/doc
Barley.png
Details
Unlocked by N/A
Type raw material
Found in Arid
Produced by Farm
Used for Beer
Used in Beer
Used by Brewery
{{infoboxResource
| image = barley.png
| tech = N/A 
| type = raw material
| location = Arid
| producer = [[Farm]]
| usedfor = [[Beer]]
| usedin = [[Beer]]
| usedby = [[Brewery]]
}}
Advertisement