Jump to content

Template:Infobox building: Difference between revisions

From Dawn of Embers Wiki
Wiki launch content: written from the game's code, data and story bible (Tools/wiki/content)
 
m Protected "Template:Infobox building": Kept in step with the game's data by the maintainers ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
(No difference)

Revision as of 21:14, 13 October 2026

This template shows the standard information box for a building in Dawn of Embers.

All numbers come from the game's balance data (see How to contribute). Leave a parameter empty when it does not apply; empty rows are hidden.

Usage

{{Infobox building
| name        = Town Hall
| image       = Icon_TownHall.png
| caption     =
| type        = Economy
| hp          = 600
| wood        = 275
| stone       = 100
| gold        =
| food        =
| build_time  = 90
| population  = 30
| accepts     = Wood, Gold, Stone, Food (berries, game)
| trains      = [[Villager]]
| special     =
| status      = In the game
}}

Parameters

Parameter Meaning
name Display name shown in the game. Defaults to the page name.
image Image file name, without the File: prefix.
caption Optional caption under the image.
type Economy, Military, Defensive or Unique (the game's building categories).
hp Hit points of the finished building.
wood, stone, gold, food Construction cost in each resource. Leave empty for 0.
build_time Construction time in seconds (the base value, before modifiers).
population Population capacity the building adds once finished.
accepts Resources villagers (or ships) may drop off here.
trains Units the building trains.
special Anything else: placement rules, attacks, limits.
status "In the game" or "Planned". Defaults to "In the game".