Template:Resource/doc: Difference between revisions
(Added documentation) |
Mastergalen (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
}} | }} | ||
</pre> | </pre> | ||
{| class="table table-hover" | |||
! Parameter !! Description !! Default | |||
|- | |||
| <code>imagearea</code> || The filename of the image to display. || [[:File:No_image.png|No image.png]] | |||
|- | |||
| <code>imagesize</code> || The horizontal width of the image, in pixels. For example: <tt>200px</tt>. || image width. | |||
|- | |||
| <code>appearance</code> || The version number of the first release in which this resource appeared. || <tt>?</tt> | |||
|- | |||
| <code>weight</code> || The number of [[weight unit]]s that this resource takes up in inventories. E.g. <tt>25 weight units</tt>. || Optional | |||
|- | |||
| <code>value</code> || The trading value of this resource in the [[trading post]]. For example <tt>4</tt>. || Optional | |||
|} | |||
== See also == | == See also == |
Latest revision as of 16:07, 2 March 2014
This is a documentation subpage for Template:Resource. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Usage
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 |
See also
Cookies help us deliver our services. By using our services, you agree to our use of cookies.