Difference between revisions of "Template:Item"

From Wurmpedia
Jump to navigation Jump to search
m
(Pages without improve| are generally not incomplete, it's just that the items improve with the same skill they are created with.)
Line 31: Line 31:
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
 
[[Category:Items]]
 
[[Category:Items]]
{{#if: {{#if: {{{improve|}}} | {{#if: {{{active|}}} | {{#if: {{{passive|}}} | {{#if: {{{group|}}} | {{#if: {{{materials|}}} | {{#if: {{{result|}}} | {{{skill|}}} }} }} }} }} }} }} ||[[Category:Incomplete item templates]]}}
+
{{#if: {{#if: {{{active|}}} | {{#if: {{{passive|}}} | {{#if: {{{group|}}} | {{#if: {{{materials|}}} | {{#if: {{{result|}}} | {{{skill|}}} }} }} }} }} }} ||[[Category:Incomplete item templates]]}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
Usage example:
 
Usage example:

Revision as of 20:16, 1 March 2009

Usage example:

{{item
|name=Hammer
|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
}}