Difference between revisions of "Template:Building/doc"
From A Wiki in the Desert
m (Reformatted the example with HTML so the template is no longer added to the Buildings category) |
(Removed cost to build information) |
||
Line 11: | Line 11: | ||
| size = | | size = | ||
| requirements = | | requirements = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}</pre> | }}</pre> | ||
Line 33: | Line 24: | ||
; requirements ''(optional)'' : A list of any skills or technologies required to construct a building. | ; requirements ''(optional)'' : A list of any skills or technologies required to construct a building. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == | ||
Line 70: | Line 55: | ||
<td> | <td> | ||
* [[Carpentry]] | * [[Carpentry]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td> | </td> | ||
</tr> | </tr> | ||
Line 106: | Line 66: | ||
| requirements = | | requirements = | ||
* [[Carpentry]] | * [[Carpentry]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}</pre> | }}</pre> | ||
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 23:31, 28 May 2021
{{Building}} is for use in any article about an in-game "building". All parameters are optional and can be left blank, though it is preferred to include as many as possible; if undefined, these optional parameters will not appear as part of the template. The recommended image size is a width of 250px so that it will completely fill the infobox without increasing its size.
Template
{{Building | name = | image = | location = | size = | requirements = }}
Usage
- name
- The name of the resource.
- image (optional)
- File name of an image for the resource. Should generally be a clean screenshot of the resource as it appears when dropped on the ground from a character's inventory. The recommended size is 250px but, if larger, the image should scale to fit the template.
- location (optional)
- The location or locations where the building can be constructed such as Compound, Outside, Small Construction Site, Medium Construction Site, etc.
- size (optional)
- The dimensions of the building when constructed inside a Compound.
- requirements (optional)
- A list of any skills or technologies required to construct a building.
Example
Carpentry Shop |
---|
(Building) |
Location |
Compound |
Size |
16 × 14 |
Requirements |
{{Building | name = Carpentry Shop | image = carpentry_shop.png | location = [[Compound]] | size = 16 × 14 | requirements = * [[Carpentry]] }}