Difference between revisions of "Template:Item"

From Wurmpedia
Jump to navigation Jump to search
Line 1: Line 1:
{| style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
+
<includeonly>{| style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
 
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
Line 26: Line 26:
 
|}
 
|}
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
 +
</includeonly><noinclude>
 +
Usage example:
  
<noinclude> [[Category:Template]] </noinclude>
+
<pre>{{item
 +
|name=Hammer
 +
|active=[[hammer head]] (0.4 kg)
 +
|passive=[[shaft]] (1.0 kg)
 +
|group=Tools
 +
|materials=* None
 +
|result=1 '''hammer''' - 1.4 kg
 +
|skill=blacksmithing
 +
}}
 +
</pre>
 +
 
 +
[[Category:Template]]
 +
</noinclude>

Revision as of 15:43, 1 September 2007

Usage example:

{{item
|name=Hammer
|active=[[hammer head]] (0.4 kg)
|passive=[[shaft]] (1.0 kg)
|group=Tools
|materials=* None
|result=1 '''hammer''' - 1.4 kg
|skill=blacksmithing
}}