Template:Infobox: Difference between revisions

Jump to navigation Jump to search
(add Biomes section for handling ingredient-biome combo categories - useful for gifts and new rotating duties)
(fix generated wording for fish from dazzle beach category)
Line 294: Line 294:
   {{!}} {{#switch:{{{type|}}}
   {{!}} {{#switch:{{{type|}}}
           |Ingredient={{#switch:{{{ingtype|}}}
           |Ingredient={{#switch:{{{ingtype|}}}
               |Fish={{#arraydefine:a-biome|{{{biomes|}}}}}{{#arrayprint:a-biome|<br>|@@@@|{{name|@@@@|link=@@@@#Fishing{{!}}@@@@}} [[Category:{{{ingtype|}}} from the @@@@]]}}
               |Fish={{#arraydefine:a-biome|{{{biomes|}}}}}{{#arrayprint:a-biome|<br>|@@@@|{{name|@@@@|link=@@@@#Fishing{{!}}@@@@}} [[Category:{{{ingtype|}}} from {{#ifeq:@@@@|Dazzle Beach||the}} @@@@]]}}
               |#default={{{found|}}}}}
               |#default={{{found|}}}}}
           |#default={{{found|}}}}}
           |#default={{{found|}}}}}