Template:Infobox: Difference between revisions

29 bytes added ,  19:12, 3 July 2023
fix generated wording for fish from dazzle beach category
(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|}}}}}
moderator
27,045

edits