Template:Structure/sandbox: Difference between revisions

(Create sandbox version of Template:Structure - attempting to exclude categorization with a parameter)
 
(Rough draft of template including an "exclude" parameter that must be set if you want to exclude the page from the Structures category.)
 
(8 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: {{{meta}}} | | [[Category:Structures]] }}
{{#if:{{{exclude|}}}| |[[Category:Structures]]}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Latest revision as of 00:55, 22 February 2014


[edit] [history] [purge] Documentation icon Template documentation
Structure
Market img 400.jpg
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.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis