Mastergalen (talk | contribs) No edit summary |
m (Changed field name) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
| rows = | | rows = | ||
{{infobox row|label=First Appearance|field={{ #if: {{{appearance|}}} | {{{appearance}}} | ? }} }} | {{infobox row|label=First Appearance|field={{ #if: {{{appearance|}}} | {{{appearance}}} | ? }} }} | ||
{{ #if: {{{weight|}}} | {{infobox row|label=Weight|field={{{weight}}} }} }} | |||
{{ #if: {{{value|}}} | {{infobox row|label=Trading value|field={{{value}}} }} }} | |||
}}[[Category:Resources]]</includeonly><noinclude> | }}[[Category:Resources]]</includeonly><noinclude> | ||
{{doc}} | {{doc}} |
The example on the right was made using this code:
{{resource |imagearea=Fish.jpg |imagesize=200px |appearance=1.0.0 |weight=1 [[weight unit]] |value=1 }}
Parameter | Description | Default |
---|---|---|
imagearea |
The filename of the image to display. | No image.png |
imagesize |
The horizontal width of the image, in pixels. For example: 200px. | image width. |
appearance |
The version number of the first release in which this resource appeared. | ? |
weight |
The number of weight units that this resource takes up in inventories. E.g. 25 weight units. | Optional |
value |
The trading value of this resource in the trading post. For example 4. | Optional |
The above documentation is transcluded from Template:Resource/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.