This site is not maintained anymore. Please move to MHWiki.org

Template:Building

From Die2Nite Wiki
Jump to: navigation, search
View metadata
Construction Diary
Item rp book2.gif
Temporary no
Category ?
Defence Small def.gif -
Action points Small pa.gif ?
Buildings required ?
Materials required ?
Unlocks nothing
Upgradable no


An example of use is displayed below. This code:

{{Building
| name=Construction Diary
| image=item_rp_book2.gif
| category=[[Workshop]]
| base_ap=15, 14, 13, 12, 11, 10
| need_buildings=[[Workshop]]
| need_items={{ItemIconOnlyLink|Järpen_Table}}x1
}}

gives:

View metadata
Construction Diary
Item rp book2.gif
Temporary no
Category Workshop
Defence Small def.gif -
Action points Small pa.gif 15, 14, 13, 12, 11, 10
Buildings required Workshop
Materials required Item table.gifItem table.gifJärpen_Tablex1
Unlocks nothing
Upgradable no

Available parameters

  • name: displayed at top of table (defaults to base page name)
  • image: an image displayed at the top of table (defaults to No_Item_Image.png)
  • temporary: set it to anything to mark building as temporary construction (defaults to 'no')
  • category: building category this construction belongs to
  • defense: amount of Small def.gif construction of this building gives (defaults to '-')
  • base_ap: amount of Small pa.gif needed to construct the building
  • need_buildings: building required before this is available
  • need_items: materials needed for construction
  • opens: buildings unlocked by this construction
  • upgrades: set it to anything to mark building as upgradeable