Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Tweak environment display language to "Indoor Only" and "Outdoor Only" - consistent with labels used in game (remove s))
(Create category links for Color/type combinations - Furniture (Crafted + Furniture as one), Clothing, Wallpaper, Flooring. Still have to fix Landscaping. Putting everything in one Color category was resulting in huge categories.)
Line 171: Line 171:
     {{!}} id="infobox-label" {{!}} Color:
     {{!}} id="infobox-label" {{!}} Color:
     {{!}} {{#arrayprint:a-color|, |@@@@| {{color|@@@@}}}} |
     {{!}} {{#arrayprint:a-color|, |@@@@| {{color|@@@@}}}} |
  {{#arrayprint:a-color| |@@@@| [[Category:@@@@|@@@@]]}}
    {{#switch:{{{type|}}}
          |Crafted Furniture
          |Furniture={{#arrayprint:a-color| |@@@@| [[Category:@@@@ Furniture|@@@@ Furniture]]}}
          |#default={{#arrayprint:a-color| |@@@@| [[Category:@@@@ {{{type|}}}|@@@@ {{{type|}}}]]}} }}
   |}}
   |}}
}}
}}

Revision as of 18:50, 26 January 2023

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