Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(add missing categories/text for different wall-mounted values)
(add Biomes section for handling ingredient-biome combo categories - useful for gifts and new rotating duties)
Line 289: Line 289:
   {{!}} id="infobox-label" {{!}} Found:
   {{!}} id="infobox-label" {{!}} Found:
   {{!}} {{{found|}}}
   {{!}} {{{found|}}}
}}{{#if:{{{biomes|}}}|<nowiki/>
  {{!}}-
  {{!}} id="infobox-label" {{!}} Found:
  {{!}} {{#switch:{{{type|}}}
          |Ingredient={{#switch:{{{ingtype|}}}
              |Fish={{#arraydefine:a-biome|{{{biomes|}}}}}{{#arrayprint:a-biome|<br>|@@@@|{{name|@@@@|link=@@@@#Fishing{{!}}@@@@}} [[Category:{{{ingtype|}}} from the @@@@]]}}
              |#default={{{found|}}}}}
          |#default={{{found|}}}}}
}}{{#if:{{{biomeunlock|}}}|<nowiki/>
}}{{#if:{{{biomeunlock|}}}|<nowiki/>
   {{!}}-
   {{!}}-

Revision as of 18:50, 3 July 2023

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