A Wiki in the Desert
Log in

Difference between revisions of "Template:Building/doc"

From A Wiki in the Desert
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
{{Building
 
{{Building
 
| name        =  
 
| name        =  
| description  =
 
 
| image        =  
 
| image        =  
 
| location    =  
 
| location    =  
 
| size        =  
 
| size        =  
 +
| capacity    =
 
| requirements =  
 
| requirements =  
 
}}</pre>
 
}}</pre>
Line 23: Line 23:
  
 
; size ''(optional)'' : The dimensions of the building when constructed inside a Compound.
 
; size ''(optional)'' : The dimensions of the building when constructed inside a Compound.
 +
 +
; capacity ''(optional)'' : The storage capacity of the building.
  
 
; 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.
Line 30: Line 32:
 
<table class="infobox ib-building">
 
<table class="infobox ib-building">
 
   <tr>
 
   <tr>
       <th class="ibname">Carpentry Shop</th>
+
       <th class="ibname">Acid Bath</th>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
       <td align="center" class="ibimage">[[File:carpentry_shop.png|250px|Carpentry Shop]]</td>
+
       <td align="center" class="ibimage">[[File:Acid Bath.png|250px|Acid Bath]]</td>
  </tr>
 
  <tr>
 
      <th class="ibtype">(Description)</th>
 
  </tr>
 
  <tr class="ib-stacked">
 
      <td>This is a brief description</td>
 
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
Line 48: Line 44:
 
   </tr>
 
   </tr>
 
   <tr class="ib-stacked">
 
   <tr class="ib-stacked">
       <td>[[Compound]]</td>
+
       <td>[[where::Compound]]</td>
 
   </tr>
 
   </tr>
 
   <tr class="ib-stacked">
 
   <tr class="ib-stacked">
Line 54: Line 50:
 
   </tr>
 
   </tr>
 
   <tr class="ib-stacked">
 
   <tr class="ib-stacked">
       <td>16 × 14</td>
+
       <td>{{Area | 5 | 3}}</td>
 
   </tr>
 
   </tr>
 
   <tr class="ib-stacked">
 
   <tr class="ib-stacked">
Line 60: Line 56:
 
   </tr>
 
   </tr>
 
   <tr class="ib-stacked">
 
   <tr class="ib-stacked">
       <td>
+
       <td>{{RequireTechnology | Neutralization | 0 }}</td>
* [[Carpentry]]
 
      </td>
 
 
   </tr>
 
   </tr>
 
</table>
 
</table>
  
 
<pre>{{Building
 
<pre>{{Building
| name        = Carpentry Shop
+
| name        = Acid Bath
| description  = This is a brief description
+
| image        = Acid Bath.png
| image        = carpentry_shop.png
+
| location    = [[where::Compound]]
| location    = [[Compound]]
+
| size        = {{Area | 5 | 3}}
| size        = 16 × 14
+
| capacity    =
| requirements =  
+
| requirements = {{RequireTechnology | Neutralization | 0 }}
* [[Carpentry]]
 
 
}}</pre>
 
}}</pre>
  
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:53, 2 June 2023

{{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         = 
| capacity     =
| 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.
capacity (optional)
The storage capacity of the building.
requirements (optional)
A list of any skills or technologies required to construct a building.

Example

Acid Bath
Acid Bath
(Building)
Location
Compound
Size

5 x 3

Requirements
Neutralization 0 (Technology)
{{Building
| name         = Acid Bath
| image        = Acid Bath.png
| location     = [[where::Compound]]
| size         = {{Area | 5 | 3}}
| capacity     =
| requirements = {{RequireTechnology | Neutralization | 0 }}
}}