Template:Building
From Project Rebearth
Building
[edit]A styled infobox for all building pages on the Project Rebearth Wiki. Matches the wiki's visual identity with warm browns, golds, and scooped corners.
Usage
[edit]{{Building
| name = Bakery
| image =
| image_wood = BakeryWood.png
| image_stone = BakeryStone.png
| image_earth = BakeryClay.png
| caption =
| category = Food
| type = Point
| production = Yes
| placement =
| cost =
| rate = [[Flour]]: -50/day, [[Food]]: +50/day, [[Tools]]: -0.1/day
| population = -5
| storage = 100 ([[Food]])
| upgrades_to =
| upgraded_from =
| special =
}}
Use image for buildings with a single appearance across all biomes, or use image_wood / image_stone / image_earth for biome-specific variants. Do not combine both.
Parameters
[edit]| Parameter | Required | Description |
|---|---|---|
name |
No | Building name. Defaults to the page title. |
image |
No | Image filename for buildings with a single appearance (e.g. museum.png).
|
image_wood |
No | Biome variant image for the Wood biome. |
image_stone |
No | Biome variant image for the Stone biome. |
image_earth |
No | Biome variant image for the Earth biome (assets use "Clay" in filenames). |
caption |
No | Caption displayed below the image. |
category |
Yes | Building category (e.g. Food, Housing, Production, Town, Storage, Territory). |
type |
Yes | Building type (e.g. Point). |
production |
No | Whether the building produces resources (Yes or No).
|
placement |
No | Placement restrictions (e.g. "Within 100m of Center"). |
cost |
No | Construction cost. Supports raw wikitext for simple or complex biome-based cost tables. |
rate |
No | Production and consumption rates per day. |
population |
No | Population effect (positive = provides, negative = requires). |
storage |
No | Storage capacity and resource type. |
upgrades_to |
No | The building this upgrades to (link). |
upgraded_from |
No | The building this is upgraded from (link). |
special |
No | Any special effects or unlocks. |
Examples
[edit]Production Building (Bakery)
[edit]Housing Building (House)
[edit]Single-Image Building (Museum)
[edit]Upgrade Chain (Windmill → Improved Windmill)
[edit]Windmill
General
Category
Food
Type
Point
Production
Yes
Economy
Population
Workers
-5
Upgrades