Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(remove adding storage container category for Storage (16/32/48) items - now done in the Category template)
(auto-add categories: Refined Materials, Enchantments, Ingredients)
Line 69: Line 69:
   {{!}} id="infobox-label" {{!}} Type:
   {{!}} id="infobox-label" {{!}} Type:
   {{!}} <span id="nametemplate">{{#switch:{{{type|}}}
   {{!}} <span id="nametemplate">{{#switch:{{{type|}}}
           |Meal=[[File:Menu_Icon_Meals.png|22px|link=Cooking#Meals]] [[Cooking#Meals|Meal]] [[Category: Meals]]
           |Meal
          |Meals=[[File:Menu_Icon_Meals.png|22px|link=Cooking#Meals]] [[Cooking#Meals|Meal]]
          |Meals=[[File:Menu_Icon_Meals.png|22px|link=Cooking#Meals]] [[Cooking#Meals|Meal]] [[Category: Meals]]
           |Ingredient
           |Ingredient
           |Ingredients=[[File:Menu_Icon_Ingredients.png|22px|link=Ingredients]] [[Ingredients|Ingredient]]
           |Ingredients=[[File:Menu_Icon_Ingredients.png|22px|link=Ingredients]] [[Ingredients|Ingredient]] [[Category: Ingredients]]
           |Fish=[[File:Menu_Icon_Fish.png|22px|link=Fishing#Fish Types]] [[Fishing#Fish Types|Fish]]
           |Fish=[[File:Menu_Icon_Fish.png|22px|link=Fishing#Fish Types]] [[Fishing#Fish Types|Fish]]
           |Furniture=[[File:Menu_Icon_Furniture.png|22px|link=Furniture]] [[Furniture#{{{universe|}}}|Furniture]]
           |Furniture=[[File:Menu_Icon_Furniture.png|22px|link=Furniture]] [[Furniture#{{{universe|}}}|Furniture]]
Line 101: Line 101:
   {{!}} id="infobox-label" {{!}} Crafting&nbsp;Category:
   {{!}} id="infobox-label" {{!}} Crafting&nbsp;Category:
   {{!}} style="" {{!}} {{#switch:{{{craftingcategory|}}}
   {{!}} style="" {{!}} {{#switch:{{{craftingcategory|}}}
           |Refined Materials={{inlineIcon|Refined Materials|link=Crafting#Refined Materials}}
           |Refined Materials={{inlineIcon|Refined Materials|link=Crafting#Refined Materials}} [[Category: Refined Materials]]
           |Crafted Enchantment
           |Crafted Enchantment
           |Enchantments={{inlineIcon|Enchantments|link=Crafting#Enchantments}}
           |Enchantments={{inlineIcon|Enchantments|link=Crafting#Enchantments}} [[Category: Enchantments]]
           |Fences & Paving=[[Crafting#Fences & Paving|Fences & Paving]]
           |Fences & Paving=[[Crafting#Fences & Paving|Fences & Paving]]
           |Functional Items={{inlineIcon|Functional Items|link=Crafting#Functional Items}} [[Category: Functional Items]]
           |Functional Items={{inlineIcon|Functional Items|link=Crafting#Functional Items}} [[Category: Functional Items]]

Revision as of 16:26, 19 June 2023

For usage guidelines, please see: Template:Infobox/doc