Changes

Jump to navigation Jump to search

Template:Item

674 bytes added, 17:53, 29 March 2011
Setting creation parameter will display a specific creation entry instead of the crafting steps
! style="background-color:#3c5;" | Creation
|-
|
{{#if:{{{creation|}}}|
{{#ifeq:{{{creation}}}|no|This item can not be created|{{{creation}}}}}
|
# [[Activate]] a {{{active}}}
{{!}}
{{{materials}}}
}}
}}
|-
|-
|
{{#if:{{{creation|}}}||
* Uses [[{{{skill}}}]]
}}
{{#if:{{{improve|}}}|* {{#ifeq:{{{improve}}}|no|Cannot be [[improve]]d|[[Improve]]s like [[{{{improve}}}]] items}}}}
|}
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
[[Category:Items]]
{{#if:{{{creation|}}}||
{{#if: {{#if: {{{active|}}} | {{#if: {{{passive|}}} | {{#if: {{{group|}}} | {{#if: {{{materials|}}} | {{#if: {{{result|}}} | {{{skill|}}} }} }} }} }} }} ||[[Category:Incomplete item templates]]}}
}}
</includeonly><noinclude>
General item template.  The template adds a box with an image of the item and the steps to create the item.  If the ''creation'' parameter is set the box will display its contents instead of the creation steps. Usage exampleexamples:
<pre>{{item
|name=Hammer *** defaults to {{PAGENAME}} ***
|image=hammer.jpg *** defaults to {{PAGENAME}}.jpg or {{PAGENAME}}.png ***
|active=[[hammer head]] (0.4 kg)
|passive=[[shaft]] (1.0 kg)
}}
</pre>
 
<pre>{{item
|name=Huge shod club *** defaults to {{PAGENAME}} ***
|result=1 '''huge shod club''' (15.00 kg)
|creation=Troll drop *** 'no' will result in 'The item can not be created' ***
|improve=no
}}
</pre>
 
[[Category:Template]]
</noinclude>
editor
1,247

edits

Navigation menu