Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(add Catalog category)
(add tabletop param intended for tracking items that can be placed on surfaces - name and presentation may need revisiting)
Line 322: Line 322:
   {{!}} id="infobox-label" {{!}} Environment:
   {{!}} id="infobox-label" {{!}} Environment:
   {{!}} {{#ifeq:{{{placement|}}}|indooronly|[[Category:Indoor Only]][[:Category:Indoor Only|Indoor Only]]|}}{{#ifeq:{{{placement|}}}|outdooronly|[[Category:Outdoor Only]][[:Category:Outdoor Only|Outdoor Only]]|}}
   {{!}} {{#ifeq:{{{placement|}}}|indooronly|[[Category:Indoor Only]][[:Category:Indoor Only|Indoor Only]]|}}{{#ifeq:{{{placement|}}}|outdooronly|[[Category:Outdoor Only]][[:Category:Outdoor Only|Outdoor Only]]|}}
}}
{{#if:{{{tabletop|}}}|<nowiki/>
  {{!}}-
  {{!}} id="infobox-label" {{!}} Can Place on Surfaces:
  {{!}} {{#ifeq:{{{tabletop|}}}|yes|[[Category:Tabletop]][[:Category:Tabletop|Yes]]|}}{{#ifeq:{{{tabletop|}}}|no|No|}}
}}
}}
|}{{#if:{{{character|}}}|{{TOC Right}}|}}{{#if:{{{voice|}}}|{{TOC Right}}|}}{{SEO
|}{{#if:{{{character|}}}|{{TOC Right}}|}}{{#if:{{{voice|}}}|{{TOC Right}}|}}{{SEO
|image={{#if:{{{image|}}}|{{{image|}}}|}}
|image={{#if:{{{image|}}}|{{{image|}}}|}}
|keywords={{#if:{{{ingredients|}}}|recipe, cooking recipe, ingredients|}}{{#if:{{{recipe|}}}|recipe, crafting recipe, materials|}}{{#if:{{{favfood|}}}|critter, schedule, critter schedule, favorite, food, feed, catch|}}}}<noinclude>[[Category:Infobox templates]]</noinclude>
|keywords={{#if:{{{ingredients|}}}|recipe, cooking recipe, ingredients|}}{{#if:{{{recipe|}}}|recipe, crafting recipe, materials|}}{{#if:{{{favfood|}}}|critter, schedule, critter schedule, favorite, food, feed, catch|}}}}<noinclude>[[Category:Infobox templates]]</noinclude>

Revision as of 18:40, 22 March 2023

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