Actions

Template

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]
Bakery
General
Category
Food
Type
Point
Production
Yes
Economy
Rate
Flour: -50/day, Food: +50/day, Tools: -0.1/day
Storage
100 (Food)
Population
Workers
-5

Housing Building (House)

[edit]
House
General
Category
Housing
Type
Point
Placement
Within 100m of Center, Square, or Market
Population
Workers
+6

Single-Image Building (Museum)

[edit]
Museum
General
Category
Research
Type
Point

Upgrade Chain (Windmill → Improved Windmill)

[edit]
Windmill
General
Category
Food
Type
Point
Production
Yes
Economy
Rate
Grain: -50/day, Flour: +50/day
Population
Workers
-5
Upgrades

Special Building (Town Hall)

[edit]
Town Hall
General
Category
Town
Type
Point
Population
Workers
-20
Special
Unlocks global ranking, alliances, and choices.