Changes

Jump to navigation Jump to search

Template:ItemBoxMulti

11 bytes removed, 00:01, 8 December 2023
m
no edit summary
{{!}}{{#ifeq:{{{note}}}|no|None|{{{note}}}}}}}
|}
 
<!-- {{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}} -->
<!-- The above line created incorrect categories if skill was either foraging or botanizing -->
 
{{#if:{{{skill|}}}|
{{#switch: {{lc:{{{skill|}}}}}
| #default=[[Category:{{{skill}}} items]]}}
}}
 
<!-- second and third skills as skill2= and skill3= -->
 
{{#if:{{{skill2|}}}|
{{#switch: {{lc:{{{skill2|}}}}}
| #default=[[Category:{{{skill2}}} items]]}}
}}
 
{{#if:{{{skill3|}}}|
{{#switch: {{lc:{{{skill3|}}}}}
| #default=[[Category:{{{skill3}}} items]]}}
}}
 
{{#switch: {{lc:{{{passive|}}}}}<!-- Add appropriate categories for various creations as indicated by the passive targeted item -->
| [[roof plan]]=[[Category:Roofs]] [[Category:Structures]]
<!--| [[wall plan]]=[[Category:Walls]] [[Category:Structures]] // Commenting this out, using different categories for walls-->
| #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.
editor
1,567

edits

Navigation menu