Difference between revisions of "Template:Item"
Jump to navigation
Jump to search
Line 35: | Line 35: | ||
# [[Activate]] a {{{active}}} | # [[Activate]] a {{{active}}} | ||
# Right-click a {{{passive}}} | # Right-click a {{{passive}}} | ||
− | {{#if:{{{group|}}}|# Open submenu "Create > [[{{{group}}}]]"}} | + | {{#if:{{{group|}}}|# Open submenu "Create > [[{{{group}}}]]"}}{{#if:{{{assemble|}}}|# {{{assemble}}}}} |
− | {{#if:{{{assemble|}}}|#{{{assemble}}}}} | ||
{{#ifeq:{{{materials}}}|no|| | {{#ifeq:{{{materials}}}|no|| | ||
{{!}}- | {{!}}- |
Revision as of 18:55, 4 January 2013
General item template.
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:
{{item |name=Hammer *** defaults to {{PAGENAME}} *** |image=hammer.jpg *** defaults to {{PAGENAME}}.jpg or {{PAGENAME}}.png *** |active=[[hammer head]] (0.4 kg) |passive=[[shaft]] (1.0 kg) |assemble=Any final assemble actions |group=Tools |materials=no |result=1 '''hammer''' - 1.4 kg |skill=blacksmithing |improve=smithing }}
{{item |name=Huge shod club *** defaults to {{PAGENAME}} *** |result=1 '''huge shod club''' (15.00 kg) |creation=Troll drop *** 'no' will result in 'The item can not be created', other options include farm, fish, botanize, forage, mine, wood, dig, butchering *** |improve=no |combinable=yes *** Item can be combined. Other options are hot and no. No is default *** }}