Template:Structure/sandbox: Difference between revisions
No edit summary |
(Rough draft of template including an "exclude" parameter that must be set if you want to exclude the page from the Structures category.) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
{{infobox row|label=First Appearance|field={{ #if: {{{appearance|}}} | {{{appearance}}} | ? }} }} | {{infobox row|label=First Appearance|field={{ #if: {{{appearance|}}} | {{{appearance}}} | ? }} }} | ||
}} | }} | ||
{{#if:{{ | {{#if:{{{exclude|}}}| |[[Category:Structures]]}} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Latest revision as of 00:55, 22 February 2014
This is the template sandbox page for Template:Structure (diff). See also the companion subpage for test cases. |
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.