Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Reduce redundancy of a-biome array definition, add Vegetables to biomes switch) |
||
Line 290: | Line 290: | ||
{{!}} id="infobox-label" {{!}} Found: | {{!}} id="infobox-label" {{!}} Found: | ||
{{!}} {{{found|}}} | {{!}} {{{found|}}} | ||
}}{{#if:{{{biomes|}}}|<nowiki/> | }}{{#if:{{{biomes|}}}|{{#arraydefine:a-biome|{{{biomes|}}}}}<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} id="infobox-label" {{!}} Found: | {{!}} id="infobox-label" {{!}} Found: | ||
{{!}} {{#switch:{{{type|}}} | {{!}} {{#switch:{{{type|}}} | ||
|Foraging={{#ifeq:{{{category|}}}|Flowers| | |Foraging={{#ifeq:{{{category|}}}|Flowers|{{#arrayprint:a-biome|<br>|@@@@|{{name|@@@@|link=@@@@#Flowers{{!}}@@@@}} [[Category:{{{category|}}} from {{#ifeq:@@@@|Dazzle Beach||the}} @@@@]]}}|{{{found|}}}}} | ||
|Gem= | |Gem={{#arrayprint:a-biome|<br>|@@@@|{{#switch:@@@@ | ||
|Plaza | |Plaza | ||
|Peaceful Meadow | |Peaceful Meadow | ||
Line 308: | Line 308: | ||
|Ingredient={{#switch:{{{ingtype|}}} | |Ingredient={{#switch:{{{ingtype|}}} | ||
|Fish | |Fish | ||
|Seafood={{# | |Seafood={{#arrayprint:a-biome|<br>|@@@@|{{name|@@@@|link=@@@@#Fishing{{!}}@@@@}} [[Category:{{{ingtype|}}} from {{#ifeq:@@@@|Dazzle Beach||the}} @@@@]]}} | ||
|Vegetables={{#arrayprint:a-biome|<br>|@@@@|{{name|@@@@|link=@@@@#Goofy's Stall{{!}}@@@@}} [[Category:{{{ingtype|}}} from {{#ifeq:@@@@|Dazzle Beach||the}} @@@@]]}} | |||
|#default={{{biomes|}}}}} | |#default={{{biomes|}}}}} | ||
|#default={{{biomes|}}}}} | |#default={{{biomes|}}}}} |
Revision as of 16:38, 4 July 2023
For usage guidelines, please see: Template:Infobox/doc