Template:Structure/doc: Difference between revisions
Mastergalen (talk | contribs) No edit summary |
(→Usage: Added maxproduction) |
||
Line 23: | Line 23: | ||
{| class="table table-hover" | {| class="table table-hover" | ||
|- | |- | ||
| | | Name || Description || Default value | ||
|- | |- | ||
| <code> | | <code>imagearea</code> || The filename of the image to display. || [[media:No_image.png|No image.png]]. | ||
|- | |- | ||
| <code> | | <code>imagesize</code> || The horizontal width of the image, in pixels. For example: <tt>290px</tt>. || image width. | ||
|- | |- | ||
| <code> | | <code>type</code> || The category to which the structure belongs. || <tt>?</tt> | ||
|- | |- | ||
| <code> | | <code>appearance</code> || The version number of the first release in which this structure appeared. || <tt>?</tt> | ||
|- | |- | ||
| <code>capacity</code> || The maximum capacity of this structure. It can be items, citizens, etc.. For example | | <code>workers</code> || The maximum number of workers and their occupation in this structure. For example: <tt>25 vendors</tt>. || Not visible. | ||
|- | |||
| <code>capacity</code> || The maximum capacity of this structure. It can be items, citizens, etc.. For example: <tt>10,000 weight units</tt>. || Not visible. | |||
|- | |||
| <code>maxproduction</code> || Depending on the building type, either the maximum amount of goods that can be produced in building's lifespan or, if the building's resources aren't finite, the amount of goods that can be produced in one year. For example: <tt>3,0000 fish/yr</tt> or <tt>100,000 stone</tt>. || Not visible. | |||
|} | |} | ||
Latest revision as of 23:08, 30 May 2014
This is a documentation subpage for Template:Structure. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Structure
Category |
Storage, Markets, and Trade |
First Appearance |
1.0.0 |
Max. Workers |
25 vendors |
Max. Capacity |
10,000 weight units |
Usage
The example on the right was made using this code:
{{structure |imagearea=Market_img_400.jpg |imagesize=290px |type = Storage, Markets, and Trade |appearance=1.0.0 |workers=25 [[vendor]]s |capacity=10,000 [[weight unit]]s }}
Name | Description | Default value |
imagearea |
The filename of the image to display. | No image.png. |
imagesize |
The horizontal width of the image, in pixels. For example: 290px. | image width. |
type |
The category to which the structure belongs. | ? |
appearance |
The version number of the first release in which this structure appeared. | ? |
workers |
The maximum number of workers and their occupation in this structure. For example: 25 vendors. | Not visible. |
capacity |
The maximum capacity of this structure. It can be items, citizens, etc.. For example: 10,000 weight units. | Not visible. |
maxproduction |
Depending on the building type, either the maximum amount of goods that can be produced in building's lifespan or, if the building's resources aren't finite, the amount of goods that can be produced in one year. For example: 3,0000 fish/yr or 100,000 stone. | Not visible. |
See also
Cookies help us deliver our services. By using our services, you agree to our use of cookies.