Template:Infobox: Difference between revisions

429 bytes added ,  21:16, 2 February 2023
add linked text for crafting category row
(Add "No Tags" category and hide Tags row if tags=none - found at least one item (Green Light Terrazzo Flooring) with no tags assigned)
(add linked text for crafting category row)
Line 61: Line 61:
   {{!}}-
   {{!}}-
   {{!}} id="infobox-label" {{!}} Crafting Category:
   {{!}} id="infobox-label" {{!}} Crafting Category:
   {{!}} style="" {{!}} {{{craftingcategory|}}}
   {{!}} style="" {{!}} {{#switch:{{{craftingcategory|}}}
          |Refined Materials=[[Crafting#Refined Materials|Refined Materials]]
          |Crafted Enchantment
          |Enchantments=[[Crafting#Enchantments|Enchantments]]
          |Fences & Paving=[[Crafting#Fences & Paving|Fences & Paving]]
          |Functional Items=[[Crafting#Functional_Items|Functional Items]]
          |Furniture=[[Crafting#Furniture|Furniture]]
          |#default={{{craftingcategory|}}}}}
}}{{#if:{{{category|}}}|<nowiki/>
}}{{#if:{{{category|}}}|<nowiki/>
   {{!}}-
   {{!}}-
moderator
26,674

edits