Difference between revisions of "Template:Item"

From Wurmpedia
Jump to navigation Jump to search
(use image= override whenever the the item image is requested. Dead links to PAGENAME.png or PAGENAME.jpg should only occur if image= is not set)
(added butchering)
Line 24: Line 24:
 
  | wood = Obtained through [[woodcutting]].
 
  | wood = Obtained through [[woodcutting]].
 
  | dig = Obtained through [[digging]].
 
  | dig = Obtained through [[digging]].
 +
| butchering = Obtained through [[butchering]].
 
  | cooking = * Put {{#if:{{{materials|}}}|
 
  | cooking = * Put {{#if:{{{materials|}}}|
 
{{{materials}}}
 
{{{materials}}}
Line 87: Line 88:
 
|name=Huge shod club        *** defaults to {{PAGENAME}} ***
 
|name=Huge shod club        *** defaults to {{PAGENAME}} ***
 
|result=1 '''huge shod club''' (15.00 kg)
 
|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 ***
+
|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
 
|improve=no
 
}}
 
}}
 
</pre>
 
</pre>
 +
  
  
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 14:54, 16 April 2012

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)
|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
}}