Difference between revisions of "Template:Item"

From Wurmpedia
Jump to navigation Jump to search
(Reverting fixes)
(Let's do it like this)
Line 31: Line 31:
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
 
[[Category:Items]]
 
[[Category:Items]]
{{#if: {{#if: {{{active|}}} | {{#if: {{{passive|}}} | {{#if: {{{group|}}} | {{#if: {{{materials|}}} | {{#if: {{{result|}}} | {{{skill|}}} }} }} }} }} }} ||[[Category:Incomplete item templates]]}}
+
{{#if: {{#if: {{{improve|}}} | {{#if: {{{active|}}} | {{#if: {{{passive|}}} | {{#if: {{{group|}}} | {{#if: {{{materials|}}} | {{#if: {{{result|}}} | {{{skill|}}} }} }} }} }} }} }} ||[[Category:Incomplete item templates]]}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
Usage example:
 
Usage example:
Line 43: Line 43:
 
|result=1 '''hammer''' - 1.4 kg
 
|result=1 '''hammer''' - 1.4 kg
 
|skill=blacksmithing
 
|skill=blacksmithing
 +
|improve=smithing
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 15:12, 16 April 2008

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