Difference between revisions of "Template:Item"

From Wurmpedia
Jump to navigation Jump to search
(Complicating things)
(catfix)
Line 28: Line 28:
 
|}
 
|}
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
 
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
[[Category:Item]]
+
[[Category:Items]]
 
{{#if: {{#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>

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