FANDOM



Template documentation (for the above template, sometimes hidden or invisible)

Usage

This is the template to be used for decoration buildings.

Attributes

It contains the following attributes:

  • Infobox Picture
    • image: image of the decoration (default: placeholder)
    • imagewidth: width of the image (default: 200px)
    • caption: description of the image (default: the + pagename)
  • Properties
    • Age: Age where the building comes from (default: All Ages)
    • Technology: Technology that needs to be researched (default: None)
  • Costs
    • Coins: Amount of coins it costs to build it (default: 0)
    • Supplies: Amount of supplies it costs to build it (default: 0)
    • Diamonds: Amount of diamonds it costs to build it. If it's zero it is hidden. (default: 0)
  • Production
    • Happiness: Amount of happyness it generates. (default 0)

Example

{{Infobox Decoration
|image = File:Tree.png
|imagewidth = 105
|caption = A Tree
|Age = [[:Category:Stone Age|Stone Age]]
|Supplies = 8
|Time = 0:00:05
|Size = 1x1
|Happiness = 18
}}

generates this:


Visit Template:Infobox Deco/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.