Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 138: Line 138:
   {{!}} id="infobox-label" {{!}} Grows into:
   {{!}} id="infobox-label" {{!}} Grows into:
   {{!}} {{name|{{{crop|}}}}}
   {{!}} {{name|{{{crop|}}}}}
}}{{#if:{{{ingtype|}}}|<nowiki/>
  {{!}}-
  {{!}} id="infobox-label" {{!}} Ingredient Type:
  {{!}} {{#switch:{{{ingtype|}}}
          |Vegetables=[[File:Vegetables.png|22px|link=:Category:Vegetables]] [[:Category:Vegetables|Vegetable]][[Category:Vegetables]]
          |Fruit=[[File:Fruit.png|22px|link=:Category:Fruit]] [[:Category:Fruit|Fruit]][[Category:Fruit]]
          |Grains=[[File:Grains.png|22px|link=:Category:Grains]] [[:Category:Grains|Grain]][[Category:Grain]]
          |Dairy and Oil=[[File:Chez_Remy's_Pantry.png|22px|link=:Category:Dairy and Oil]] [[:Category:Dairy and Oil|Dairy and Oil]][[Category:Dairy and Oil]]
          |Spices=[[File:Spices_&_Herbs.png|22px|link=:Category:Spices]] [[:Category:Spices|Spices]][[Category:Spices]]
          |Sweets=[[File:Sweets.png|22px|link=:Category:Sweets]] [[:Category:Sweets|Sweets]][[Category:Sweets]]
          |Ice=[[File:Ice.png|22px|links=:Category:Ice]] [[:Category:Ice|Ice]][[Category:Ice]]
          |Seafood=[[File:Seafood.png|22px|links=:Category:Seafood]] [[:Category:Seafood|Seafood]][[Category:Seafood]]
          |Fish=[[File:Fish.png|22px|links=:Category:Fish]] [[:Category:Fish|Fish]][[Category:Fish]]
          |#default={{{ingtype|}}}}}</span>
}}{{#if:{{{seed|}}}|<nowiki/>
}}{{#if:{{{seed|}}}|<nowiki/>
   {{!}}-
   {{!}}-

Revision as of 20:28, 24 October 2022

Infobox
[[File:{{{image}}}|center]]
Information