Template:Structure: Difference between revisions
(Added category exclusion parameter) |
(Added maxproduction) |
||
(One intermediate revision by one other user not shown) | |||
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: {{{maxproduction|}}} | {{infobox row|label=Max. Production|field={{{maxproduction}}} }} }} | |||
}}{{#if:{{{exclude|}}}| |[[Category:Structures]]}}</includeonly> | }}{{#if:{{{exclude|}}}| |[[Category:Structures]]}}</includeonly> | ||
<noinclude> | <noinclude> |
Latest revision as of 23:09, 30 May 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.