Changes

Jump to navigation Jump to search

Template:ItemBox

10 bytes removed, 12:23, 8 June 2015
m
Attempted fix for excess whitespace after ItemBox
|-
|
{{#if:{{{creation|}}} <!-- creation attribute overrides showing creation steps, displaying the text below instead -->{{#if:{{{creation|}}}
|{{#switch: {{lc:{{{creation}}}}}
| no = This item can not be created.
}}
</ol>
{{#ifeq:{{{materials}}}|no|| <!-- TOTAL materials, not additional --><!-- If materials = 0, close the table header -->{{#ifeq:{{{materials}}}|no||
{{!}}-
! style="background-color:#3c5;" {{!}} Total materials
{{{materials}}}
}}
}}<!-- End of Creation Section -->
|-
! style="background-color:#3c5" | Result
|}
{{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}
[[Category{{#switch: {{lc:Items]] {{{passive|}}}}}<!-- Add appropriate categories for various creations as indicated by the passive targeted item -->{{#switch: {{lc:{{{passive|}}}}}
| [[roof plan]]=[[Category:Roofs]] [[Category:Structures]]
| [[wall plan]]=[[Category:Walls]] [[Category:Structures]]
| #default=}} 
<!-- If (1 creation and (2 anyone from the create group - active and passive and [3)- at least one of group or groupM or TopMost or assemble must be NOT empty] and materials and result and skill - are empty add to Incomplete item templates -->
{{#if:{{{creation|}}}||{{#if:{{#if: {{{active|}}} |{{#if: {{{passive|}}} |{{#if:{{#if: {{{group|}}}|{{{group|}}}|{{#if: {{{groupM|}}}|{{{groupM|}}}|{{#if: {{{TopMost|}}}|{{{TopMost|}}}|{{#if:{{{assemble|}}}|{{{assemble|}}}|}}}}}}}}|{{#if: {{{materials|}}}|{{#if: {{{result|}}} | {{{skill|}}} }}}}}}}}}}||[[Category:Incomplete item templates]]}}}}[[Category:Items]]</includeonly>  <noinclude>
General item template -- THIS TEMPLATE USES TOTAL ITEMS REQUIRED, NOT ADDITIONAL.
}}
</pre>
 
[[Category:Template]]
</noinclude>
UserManager, editor
1,721

edits

Navigation menu