Difference between revisions of "Template:ItemBox"

From Riviera Wiki
Jump to navigation Jump to search
(Created page with "<includeonly> {| class="wikitable" style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1" |+ style="font-weight: bold" | {{{name|{{PAGENAME}}...")
 
 
Line 133: Line 133:


<pre>{{itemBox
<pre>{{itemBox
|name=Hammer         *** defaults to {{PAGENAME}} ***
|name=Hammer
|image=hammer.jpg   *** defaults to {{PAGENAME}}.jpg or {{PAGENAME}}.png ***
|image=hammer.jpg
|active=[[hammer head]] (0.4 kg)
|active=[[hammer head]] (0.4 kg)
|passive=[[shaft]] (1.0 kg)
|passive=[[shaft]] (1.0 kg)
|group=Tools         *** item is in this sub menu in the create list ***
|group=Tools
|materials=no
|materials=no
|result=1 '''hammer''' - 1.4 kg
|result=1 '''hammer''' - 1.4 kg
|skill=blacksmithing
|skill=blacksmithing
|improve=smithing
|improve=smithing
|combinable=no       *** empty or no show nothing, other options are yes or hot ***
|combinable=no
|storage=             *** empty shows nothing, other options are bsb or fsb ***
|storage=
|decoration=no       *** empty shows nothing, yes says it's a decoration, no says it will be in an item pile ***
|decoration=no
}}
}}
</pre>
</pre>


<pre>{{itemBox
<pre>{{itemBox
|name=Huge shod club         *** defaults to {{PAGENAME}} ***
|name=Huge shod club
|result=1 '''huge shod club''' (15.00 kg)
|result=1 '''huge shod club''' (15.00 kg)
|creation=no                 *** 'no' will result in 'The item can not be crafted',
|creation=no
                                other options include farm, fish, botanize, forage,
                                mine, wood, dig, butchering, cooking, unique  ***
|improve=no
|improve=no
}}
}}
Line 164: Line 162:
|active=[[Mallet]] or [[Hammer]]
|active=[[Mallet]] or [[Hammer]]
|passive=[[Tile Border]]
|passive=[[Tile Border]]
|groupM=Fence > Iron > Build iron fence   *** item is in this menu when you right click the passive item
|groupM=Fence > Iron > Build iron fence
                                              (for items like fences where there is no create menu) ***
|materials=* 10x [[Stone brick]]s
|materials=* 10x [[Stone brick]]s
* 1x [[Iron fence bars]]
* 1x [[Iron fence bars]]
|result=*'''Iron fence'''
|result=*'''Iron fence'''
|skill=Masonry
|skill=Masonry
|improveItem=Stone bricks   *** for items like fences and walls, improves using and item and not a set of tools ***
|improveItem=Stone bricks
|note=*You must have at least one stone brick in your [[inventory]] to start building it.
|note=*You must have at least one stone brick in your [[inventory]] to start building it.
|dyeamount=1234
|dyeamount=1234
Line 182: Line 179:
|active=[[Hatchet]]
|active=[[Hatchet]]
|passive=[[Tree Tile]]
|passive=[[Tree Tile]]
|TopMost=Cut down   *** Menu option where its on the top most parent menu.***
|TopMost=Cut down
|materials=no
|materials=no
|result=* 1 '''felled tree''' (up to 186.67 kg)
|result=* 1 '''felled tree''' (up to 186.67 kg)
|skill=woodcutting
|skill=woodcutting
|dyeable=yes                   *** or no, multi or useless
|dyeable=yes


}}
}}
Line 197: Line 194:
|active=[[Hatchet]]
|active=[[Hatchet]]
|passive=[[Tree Tile]]
|passive=[[Tree Tile]]
|TopMost=Cut down   *** Menu option where its on the top most parent menu.***
|TopMost=Cut down
|materials=no
|materials=no
|result=* 1 '''felled tree''' (up to 186.67 kg)
|result=* 1 '''felled tree''' (up to 186.67 kg)

Latest revision as of 22:15, 6 February 2020

General item template -- THIS TEMPLATE USES TOTAL ITEMS REQUIRED, NOT ADDITIONAL.

The template adds a box with an image of the item and the steps to create the item.

If the creation parameter is set the box will display its contents instead of the creation steps.

Usage examples:

{{itemBox
|name=Hammer
|image=hammer.jpg
|active=[[hammer head]] (0.4 kg)
|passive=[[shaft]] (1.0 kg)
|group=Tools
|materials=no
|result=1 '''hammer''' - 1.4 kg
|skill=blacksmithing
|improve=smithing
|combinable=no
|storage=
|decoration=no
}}
{{itemBox
|name=Huge shod club
|result=1 '''huge shod club''' (15.00 kg)
|creation=no
|improve=no
}}
{{itemBox
|image=Iron fence.jpg
|name=Iron fence
|active=[[Mallet]] or [[Hammer]]
|passive=[[Tile Border]]
|groupM=Fence > Iron > Build iron fence
|materials=* 10x [[Stone brick]]s
* 1x [[Iron fence bars]]
|result=*'''Iron fence'''
|skill=Masonry
|improveItem=Stone bricks
|note=*You must have at least one stone brick in your [[inventory]] to start building it.
|dyeamount=1234
}}
{{itemBox
|image=xxxx.jpg
|name=Felled Tree
|active=[[Hatchet]]
|passive=[[Tree Tile]]
|TopMost=Cut down
|materials=no
|result=* 1 '''felled tree''' (up to 186.67 kg)
|skill=woodcutting
|dyeable=yes

}}
{{itemBox
|image=Felled_Tree.jpg
|name=Felled Tree
|active=[[Hatchet]]
|passive=[[Tree Tile]]
|TopMost=Cut down
|materials=no
|result=* 1 '''felled tree''' (up to 186.67 kg)
|skill=woodcutting
|improve=no
}}
}}