Changes

Jump to navigation Jump to search

Template:ItemBox

267 bytes added, 02:04, 7 December 2023
m
Add code to correctly categorize Foraged and Botanized items
{{!}}{{#ifeq:{{{note}}}|no|None|{{{note}}}}}}}
|}
 <!-- {{#if:{{{skill|}}}|[[Category:{{{skill}}} items]]}}--> <!-- The above line created incorrect categories if skill was either foraging or botanizing -->  {{#switch: {{lc:{{{skill|}}}}}| foraging=[[Category:Foraged items]]| botanizing=[[Category:Botanized items]]| #default=[[Category:{{{skill}}} items]]}}  
{{#switch: {{lc:{{{passive|}}}}}<!-- Add appropriate categories for various creations as indicated by the passive targeted item -->
| [[roof plan]]=[[Category:Roofs]] [[Category:Structures]]
editor
1,516

edits

Navigation menu