This site is not maintained anymore. Please move to MHWiki.org
Template:Building
From Die2Nite Wiki
| Construction Diary | |
| Temporary | no |
| Category | ? |
| Defence |
- |
| Action points |
? |
| 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:
| Construction Diary | |
| Temporary | no |
| Category | Workshop |
| Defence |
- |
| Action points |
15, 14, 13, 12, 11, 10 |
| Buildings required | Workshop |
| Materials required | |
| 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
construction of this building gives (defaults to '-') - base_ap: amount of
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