Difference between revisions of "Template:Item"

From Wurmpedia
Jump to navigation Jump to search
(catfix)
("no" key for materials as well)
Line 14: Line 14:
 
|-
 
|-
 
|
 
|
{{{materials}}}
+
{{#ifeq:{{{materials}}}|no|* None|{{{materials}}}}}
 
|-
 
|-
 
! style="background-color:#3c5;" | Result
 
! style="background-color:#3c5;" | Result
Line 25: Line 25:
 
|
 
|
 
* Uses [[{{{skill}}}]]
 
* Uses [[{{{skill}}}]]
{{#if:{{{improve|}}}|* {{#ifeq:{{{improve|}}}|no|Cannot be improved|Improves like [[{{{improve}}}]] items}}}}
+
{{#if:{{{improve|}}}|* {{#ifeq:{{{improve}}}|no|Cannot be improved|Improves like [[{{{improve}}}]] items}}}}
 
|}
 
|}
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}

Revision as of 12:56, 2 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
}}