Difference between revisions of "Template:Item"

From Wurmpedia
Jump to navigation Jump to search
m (removed obsolete link)
(edited to allow other image file types)
Line 2: Line 2:
 
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
| [[Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|90px|A {{{name|{{PAGENAME}}}}}]]
+
| [[Image:{{{image|{{{name|{{PAGENAME}}}}}.{{imagetype|png}}}}}|center|90px|A {{{name|{{PAGENAME}}}}}]]
 
|-
 
|-
 
! style="background-color:#3c5;" | Creation
 
! style="background-color:#3c5;" | Creation
Line 36: Line 36:
  
 
<pre>{{item
 
<pre>{{item
|name=Hammer
+
|name=Hammer         *** defaults to {{PAGENAME}} ***
 +
|imagetype=jpg      *** defaults to png ***
 
|active=[[hammer head]] (0.4 kg)
 
|active=[[hammer head]] (0.4 kg)
 
|passive=[[shaft]] (1.0 kg)
 
|passive=[[shaft]] (1.0 kg)

Revision as of 14:47, 5 April 2010

Usage example:

{{item
|name=Hammer         *** defaults to {{PAGENAME}} ***
|imagetype=jpg       *** defaults to 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
}}