Actions

Template

Template:Resource

From Project Rebearth

Resource

[edit]

A styled infobox for all resource pages on the Project Rebearth Wiki. Matches the wiki's visual identity with warm browns, golds, and scooped corners, consistent with {{Building}}.

Usage

[edit]
{{Resource
| name          = Wood
| image         = Wood.png
| caption       =
| category      = Raw Materials
| produced_by   = [[Woodcutter]], [[Sawmill]], [[Tree Nursery]], [[Tent]], [[Foraging Hut]]
| obtained_from =
| consumed_by   = Housing (upkeep), [[Tools Workshop]]
| construction  = Yes — primary material in [[Wood Biome]]
| stored_in     = [[Center]], [[Square]], [[Warehouse]], [[Woodcutter]], [[Log Pile]], [[Foraging Hut]]
| chain         = [[Woodcutter]] → Housing upkeep / [[Tools Workshop]]
| affected_by   = [[Goods Production]], [[All Production]]
| special       =
}}

Parameters

[edit]
Parameter Required Description
name No Resource name. Defaults to the page title.
image No Image filename for the resource icon (e.g. WoodIcon.png).
caption No Caption displayed below the image.
category Yes Resource category: Raw Materials, Food & Agriculture, Refined & Manufactured, or Trade & Specialty.
produced_by No Buildings that produce this resource (links). Omit for non-producible resources like Scrap.
obtained_from No Non-building sources (e.g. "Expeditions, Trade"). Use when the resource cannot be produced by buildings.
consumed_by No Buildings or systems that consume this resource daily.
construction No Whether the resource is used as a building material, and in which biomes.
stored_in No Buildings that can store this resource.
chain No Brief production chain summary.
affected_by No Modifiers from choices or alliances that affect this resource.
special No Any special properties (e.g. "Cannot be produced", "Not storable").