Template:Structure: Difference between revisions
(Added category exclusion parameter) |
(Added workers and capacity fields) |
||
Line 5: | Line 5: | ||
{{infobox row|label=Category|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} | {{infobox row|label=Category|field={{ #if: {{{type|}}} | {{{type}}} | ? }} }} | ||
{{infobox row|label=First Appearance|field={{ #if: {{{appearance|}}} | {{{appearance}}} | ? }} }} | {{infobox row|label=First Appearance|field={{ #if: {{{appearance|}}} | {{{appearance}}} | ? }} }} | ||
{{ #if: {{{workers|}}} | {{infobox row|label=Max. Workers|field={{{workers}}} }} }} | |||
{{ #if: {{{capacity|}}} | {{infobox row|label=Max. Capacity|field={{{capacity}}} }} }} | |||
}}{{#if:{{{exclude|}}}| |[[Category:Structures]]}}</includeonly> | }}{{#if:{{{exclude|}}}| |[[Category:Structures]]}}</includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 14:59, 1 March 2014
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
The above documentation is transcluded from Template:Structure/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
Cookies help us deliver our services. By using our services, you agree to our use of cookies.