Template:Resource: Difference between revisions
Mastergalen (talk | contribs) (Created page with "<includeonly>{{infobox common | title = {{ #if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }} | imagearea = [[File:{{#if: {{{imagearea|}}} | {{{imagearea}}} | {{#ifexist: F...") |
m (Changed field name) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
| 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}} | ||
[[Category:Infobox templates|R]] | [[Category:Infobox templates|R]] | ||
</noinclude> | </noinclude> |
Latest revision as of 01:37, 2 March 2014
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
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. |
Cookies help us deliver our services. By using our services, you agree to our use of cookies.