Template:Structure/doc: Difference between revisions
Mastergalen (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> {{Structure}} == Usage == == See also == <includeonly> <!-- Categories and interw...") |
(→Usage: Added maxproduction) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Categories and interwikis go at the bottom of this page. --> | <!-- Categories and interwikis go at the bottom of this page. --> | ||
{{ | {{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 | |||
}} | |||
== Usage == | == Usage == | ||
The example on the right was made using this code: | |||
<pre> | |||
{{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 | |||
}} | |||
</pre> | |||
{| class="table table-hover" | |||
|- | |||
| Name || Description || Default value | |||
|- | |||
| <code>imagearea</code> || The filename of the image to display. || [[media:No_image.png|No image.png]]. | |||
|- | |||
| <code>imagesize</code> || The horizontal width of the image, in pixels. For example: <tt>290px</tt>. || image width. | |||
|- | |||
| <code>type</code> || The category to which the structure belongs. || <tt>?</tt> | |||
|- | |||
| <code>appearance</code> || The version number of the first release in which this structure appeared. || <tt>?</tt> | |||
|- | |||
| <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. | |||
|} | |||
== See also == | == See also == | ||
* [[Template:Resource]] | |||
<includeonly> | <includeonly> |
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.