Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Added landcapingtype param switch and type=landscaping to switch - not sure if there are better images?)
(fix landscapingtype typo)
Line 140: Line 140:
   {{!}} id="infobox-label" {{!}} Grows into:
   {{!}} id="infobox-label" {{!}} Grows into:
   {{!}} {{name|{{{crop|}}}}}
   {{!}} {{name|{{{crop|}}}}}
}}{{#if:{{{landcapingtype|}}}|<nowiki/>
}}{{#if:{{{landscapingtype|}}}|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} id="infobox-label" {{!}} Landscaping Type:
   {{!}} id="infobox-label" {{!}} Landscaping Type:
   {{!}} <span id="nametemplate">{{#switch:{{{landcapingtype|}}}
   {{!}} <span id="nametemplate">{{#switch:{{{landscapingtype|}}}
           |Underbrush=[[File:58px-Underbrush_Icon.png|22px|link=:Category:Underbrush]] [[:Category:Underbrush|Underbrush]][[Category:Underbrush]]
           |Underbrush=[[File:58px-Underbrush_Icon.png|22px|link=:Category:Underbrush]] [[:Category:Underbrush|Underbrush]][[Category:Underbrush]]
           |Trees=[[File:58px-Trees_Icon.png|22px|link=:Category:Trees]] [[:Category:Trees|Tree]][[Category:Trees]]
           |Trees=[[File:58px-Trees_Icon.png|22px|link=:Category:Trees]] [[:Category:Trees|Tree]][[Category:Trees]]
Line 149: Line 149:
           |Paths=[[File:58px-Pathing_Icon.png|22px|link=:Category:Paths]] [[:Category:Paths|Path]][[Category:Paths]]
           |Paths=[[File:58px-Pathing_Icon.png|22px|link=:Category:Paths]] [[:Category:Paths|Path]][[Category:Paths]]
           |Fencing=[[File:58px-Fencing_Icon.png|22px|link=:Category:Fencing]] [[:Category:Fencing|Fencing]][[Category:Fencing]]
           |Fencing=[[File:58px-Fencing_Icon.png|22px|link=:Category:Fencing]] [[:Category:Fencing|Fencing]][[Category:Fencing]]
           |#default={{{landcapingtype|}}}}}</span>
           |#default={{{landscapingtype|}}}}}</span>
}}{{#if:{{{ingtype|}}}|<nowiki/>
}}{{#if:{{{ingtype|}}}|<nowiki/>
   {{!}}-
   {{!}}-

Revision as of 00:04, 12 January 2023

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