Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Auto-add category for Tag + Hairstyle - as hairstyles do not have filters, these are difficult to sort by in the UI, and have been shown to be of interest in the community)
mNo edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 10: Line 10:
           |Other=<div id="infobox-universe">[[File:Non-Disney-Related_light.png{{!}}24px{{!}}link={{#ifeq:{{{type|}}}|Crafted Furniture|Crafting#Furniture|{{{type|}}}#Non-Disney-Related}}]] [[{{#ifeq:{{{type|}}}|Crafted Furniture|Crafting#Furniture|{{{type|}}}#General}}|Other]]</div>[[Category:Other_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
           |Other=<div id="infobox-universe">[[File:Non-Disney-Related_light.png{{!}}24px{{!}}link={{#ifeq:{{{type|}}}|Crafted Furniture|Crafting#Furniture|{{{type|}}}#Non-Disney-Related}}]] [[{{#ifeq:{{{type|}}}|Crafted Furniture|Crafting#Furniture|{{{type|}}}#General}}|Other]]</div>[[Category:Other_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
           |Aladdin
           |Aladdin
           |Aladdin Universe =<div id="infobox-universe">[[File:Aladdin_Universe_light.png{{!}}24px{{!}}link=Aladdin Universe{{!}}{{{universe|}}}]] [[Aladdin Universe{{!}}{{{universe|}}}]]</div>[[Category:{{{universe|}}}_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
           |Aladdin Universe =<div id="infobox-universe">[[File:Aladdin_light.png{{!}}24px{{!}}link=Aladdin (Universe){{!}}{{{universe|}}}]] [[Aladdin (Universe){{!}}{{{universe|}}}]]</div>[[Category:{{{universe|}}}_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
           |Beauty and the Beast -- 1991
           |Beauty and the Beast -- 1991
           |Beauty and the Beast -- 2017 =<div id="infobox-universe">[[File:Beauty and the Beast_light.png{{!}}24px{{!}}link=Beauty and the Beast{{!}}{{{universe|}}}]] [[Beauty and the Beast{{!}}{{{universe|}}}]]</div>[[Category:{{{universe|}}}_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
           |Beauty and the Beast -- 2017 =<div id="infobox-universe">[[File:Beauty and the Beast_light.png{{!}}24px{{!}}link=Beauty and the Beast{{!}}{{{universe|}}}]] [[Beauty and the Beast{{!}}{{{universe|}}}]]</div>[[Category:{{{universe|}}}_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
           |Brave
           |Brave
           |Brave Universe =<div id="infobox-universe">[[File:Brave_Universe_light.png{{!}}24px{{!}}link=Brave Universe{{!}}{{{universe|}}}]] [[Brave Universe{{!}}{{{universe|}}}]]</div>[[Category:{{{universe|}}}_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
           |Brave Universe =<div id="infobox-universe">[[File:Brave_light.png{{!}}24px{{!}}link=Brave{{!}}{{{universe|}}}]] [[Brave{{!}}{{{universe|}}}]]</div>[[Category:{{{universe|}}}_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
           |Alice in Wonderland
           |Alice in Wonderland
           |Ancient Civilization
           |Ancient Civilization
Line 38: Line 38:
           |Moana
           |Moana
           |Monsters, Inc.
           |Monsters, Inc.
          |Oswald the Lucky Rabbit
           |Peter Pan
           |Peter Pan
           |Pirates of the Caribbean
           |Pirates of the Caribbean
Line 56: Line 57:
           |WALL-E
           |WALL-E
           |Wreck-It Ralph=<div id="infobox-universe">[[File:{{{universe|}}}_light.png{{!}}24px{{!}}link={{#switch:{{{universe|}}}
           |Wreck-It Ralph=<div id="infobox-universe">[[File:{{{universe|}}}_light.png{{!}}24px{{!}}link={{#switch:{{{universe|}}}
              |Aladdin
               |Cinderella
               |Cinderella
               |Dreamlight Valley
               |Dreamlight Valley
Line 66: Line 68:
               |Snow White
               |Snow White
               |WALL-E={{{universe|}}} (Universe)
               |WALL-E={{{universe|}}} (Universe)
              |#default={{{universe|}}}}}]] [[{{#switch:{{{universe|}}}
               |Aladdin
               |Aladdin
              |Aladdin Universe=Aladdin Universe
              |#default={{{universe|}}}}}]] [[{{#switch:{{{universe|}}}
               |Cinderella
               |Cinderella
               |Dreamlight Valley
               |Dreamlight Valley
Line 79: Line 80:
               |Snow White
               |Snow White
               |WALL-E={{{universe|}}} (Universe)
               |WALL-E={{{universe|}}} (Universe)
              |Aladdin
              |Aladdin Universe=Aladdin Universe
               |#default={{{universe|}}}}}{{!}}{{{universe|}}}]]</div>[[Category:{{{universe|}}}_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
               |#default={{{universe|}}}}}{{!}}{{{universe|}}}]]</div>[[Category:{{{universe|}}}_{{#ifeq:{{{craftingcategory|}}}|Timebending Furniture|Timebending Crafted Furniture|{{{type|}}}}}{{#ifeq:{{{type|}}}|Board Game|&nbsp;Pieces|}}]]<div style="clear:both;"></div>
           |#default=<div id="infobox-universe">{{{universe|}}}</div>[[Category:{{{universe|}}}_{{{type|}}}]]<div style="clear:both;"></div>}}}}{{#if:{{{character|}}}|[[{{{character|}}}#Quests|{{{character|}}} Quest]][[Category:{{{character|}}} Quests]]<br>|}}{{#if:{{{image_m|}}}|{{#Widget:BodyType}}
           |#default=<div id="infobox-universe">{{{universe|}}}</div>[[Category:{{{universe|}}}_{{{type|}}}]]<div style="clear:both;"></div>}}}}{{#if:{{{character|}}}|[[{{{character|}}}#Quests|{{{character|}}} Quest]][[Category:{{{character|}}} Quests]]<br>|}}{{#if:{{{image_m|}}}|{{#Widget:BodyType}}
Line 142: Line 141:
           |Functional Items={{inlineIcon|Functional Items|link=Crafting#Functional Items}} [[Category: Functional Items]]
           |Functional Items={{inlineIcon|Functional Items|link=Crafting#Functional Items}} [[Category: Functional Items]]
           |Furniture={{inlineIcon|Furniture|link=Crafting#Furniture}}
           |Furniture={{inlineIcon|Furniture|link=Crafting#Furniture}}
           |Timebending Furniture=[[File:Lighting.png|22px|link=Timebending#Furniture]] [[Timebending#Furniture|Furniture]] [[Category: Timebending Furniture]]
           |Timebending Furniture={{name|Menu Icon Furniture|link=Timebending#Furniture{{!}}Furniture}} [[Category: Timebending Furniture]]
           |Gift={{name|Gift Icon|link=Timebending#Gifts{{!}}Gifts}} [[Category: Timebending Gifts]]
           |Timebending Fence & Paving={{name|Fencing Icon|link=Timebending#Furniture{{!}}Fence & Paving}} [[Category: Timebending Furniture]]
           |Quest=[[Timebending|Quest]]
           |Quest={{name|Menu Icon Quests|link=Timebending{{!}}Quest}}
          |Ancient Machines={{name|Ancient Machines|link=Timebending#Ancient Machines{{!}}Ancient Machines}} [[Category: Ancient Machines]]
          |Ancient Machine
           |Fragments={{name|Timebending Fragments|link=Timebending#Fragments{{!}}Fragments}} [[Category: Timebending Fragments]]
           |Ancient Machines={{name|Timebending Parts|link=Timebending#Ancient Machines{{!}}Ancient Machine}} [[Category: Timebending Furniture]]
           |Timebending Parts={{name|Timebending Parts|link=Timebending#Timebending Parts{{!}}Ancient Machines}} [[Category: Timebending Parts]]
           |Fragments={{name|Timebending Fragments|link=Timebending#Fragments{{!}}Fragments}}
           |Special={{name|Special|link=Timebending#Special{{!}}Special}}
           |Special={{name|Special|link=Timebending#Special{{!}}Special}}
           |#default={{{craftingcategory|}}}}}
           |#default={{{craftingcategory|}}}}}
Line 177: Line 176:
           |#default={{{ingtype|}}}}}</span>
           |#default={{{ingtype|}}}}}</span>
}}{{#if:{{{functions|}}}|{{#switch:{{{functions|}}}
}}{{#if:{{{functions|}}}|{{#switch:{{{functions|}}}
           |Arch
           |Arch=
           |Attraction=
           |Attraction=<!--[[Category:Attractions]]-->{{cleanup|Either create a new category or confirm if this category exclusively contains rideable furniture}}
           |Clock=[[Category:Clock]]
           |Clock=[[Category:Clock]]
           |Companion Interest=
           |Companion Interest=
Line 235: Line 234:
   {{!}}-
   {{!}}-
   {{!}} id="infobox-label" {{!}} Tags:
   {{!}} id="infobox-label" {{!}} Tags:
   {{!}} {{#arraydefine:a-tag|{{{tags|}}}}}{{#arrayprint:a-tag| |@@@@| {{tag|@@@@|{{{type|}}}|category=yes}} {{#ifeq:{{{category|}}}|Hairstyle|[[Category:@@@@ Hairstyle]]|}} }} {{#if:{{{eventTokens|}}}|{{tag|starpath|{{#switch:{{{from|}}}
   {{!}} {{#arraydefine:a-tag|{{{tags|}}}}}{{#arrayprint:a-tag| |@@@@| {{tag|@@@@|{{{type|}}}|category=yes}} {{#switch:{{{category|}}}
    |Hairstyle
    |Facial Hair={{#ifeq:@@@@|Hairstyle|<!--Do not create Hairstyle Hairstyle Category-->|[[Category:@@@@ Hairstyle]]<!--Also use Hairstyle Categories for Facial Hair-->}}
    |#default=}} }} {{#if:{{{eventTokens|}}}|{{tag|starpath|{{#switch:{{{from|}}}
           |Pixar Fest Star Path=Pixar Fest
           |Pixar Fest Star Path=Pixar Fest
           |Villains' Star Path=Villains
           |Villains' Star Path=Villains
Line 245: Line 247:
           |Royal Winter Star Path=Royal Winter
           |Royal Winter Star Path=Royal Winter
           |Lovely Monsters Star Path=Lovely Monsters
           |Lovely Monsters Star Path=Lovely Monsters
          |A Day at Disney Star Path=A Day at Disney
           |#default=}}|event={{{from|}}}}}|}}
           |#default=}}|event={{{from|}}}}}|}}
}}}}{{#if:{{{collection|}}}|<nowiki/>
}}}}{{#if:{{{collection|}}}|<nowiki/>
Line 252: Line 255:
           |Clothing=Clothing Sets Collection
           |Clothing=Clothing Sets Collection
           |Furniture=Furniture Sets Collection
           |Furniture=Furniture Sets Collection
          |Wallpaper=Furniture Sets Collection
          |Flooring=Furniture Sets Collection
           |Crafted Furniture=Crafting Collection
           |Crafted Furniture=Crafting Collection
           |Ingredient=Ingredients Collection
           |Ingredient=Ingredients Collection
Line 288: Line 293:
           |Crafted Furniture
           |Crafted Furniture
           |Furniture=[[Category: @@@@ Furniture]]
           |Furniture=[[Category: @@@@ Furniture]]
           |Clothing=[[Category: @@@@ Clothing]] {{#ifeq:{{{category|}}}|Hairstyle|[[Category:@@@@ Hairstyle]]|}}
           |Clothing=[[Category: @@@@ Clothing]] {{#switch:{{{category|}}}
    |Hairstyle
    |Facial Hair=[[Category:@@@@ Hairstyle]]<!--Also use Hairstyle Categories for Facial Hair-->
    |#default=}}
           |#default=[[Category: @@@@]]}} }}  
           |#default=[[Category: @@@@]]}} }}  
}}}}{{#if:{{{seed|}}}|<nowiki/>
}}}}{{#if:{{{seed|}}}|<nowiki/>
Line 335: Line 343:
     |Royal Winter Star Path={{price|{{{eventTokens|}}}|royalwintertoken}} [[Category:Royal Winter Star Path]]
     |Royal Winter Star Path={{price|{{{eventTokens|}}}|royalwintertoken}} [[Category:Royal Winter Star Path]]
     |Lovely Monsters Star Path={{price|{{{eventTokens|}}}|monstertoken}} [[Category:Lovely Monsters Star Path]]
     |Lovely Monsters Star Path={{price|{{{eventTokens|}}}|monstertoken}} [[Category:Lovely Monsters Star Path]]
    |A Day at Disney Star Path={{price|{{{eventTokens|}}}|dayatdisneytoken}} [[Category:A Day at Disney Star Path]]
     |#default={{{eventTokens|}}} Tokens}}
     |#default={{{eventTokens|}}} Tokens}}
}}{{#if:{{{bundle|}}}|<nowiki/>
}}{{#if:{{{bundle|}}}|<nowiki/>
Line 504: Line 513:
           |[[Scrooge's Store]]={{inlineIcon|Scrooge's Store|link=Scrooge's Store}}
           |[[Scrooge's Store]]={{inlineIcon|Scrooge's Store|link=Scrooge's Store}}
           |Scrooge's Catalog
           |Scrooge's Catalog
           |[[Scrooge's Store|Scrooge's Catalog]]={{inlineIcon|Scrooge's Catalog|link=Scrooge's Store#Catalog}}[[Category:Catalog]]
           |[[Scrooge's Store|Scrooge's Catalog]]={{inlineIcon|Scrooge's Catalog|link=Scrooge's Catalog}}[[Category:Catalog]]
           |Premium Bundle
           |Premium Bundle
           |[[Premium Bundle]]={{inlineIcon|Premium Bundle|link=Premium Shop}}
           |[[Premium Bundle]]={{inlineIcon|Premium Bundle|link=Premium Shop}}
           |Scrooge's Catalog, Scrooge's Store={{inlineIcon|Scrooge's Catalog|link=Scrooge's Store#Catalog}}[[Category:Catalog]]<br>{{inlineIcon|Scrooge's Store|link=Scrooge's Store}}
          |The Boutique={{name|The Boutique}}
           |Scrooge's Catalog, Scrooge's Store={{inlineIcon|Scrooge's Catalog|link=Scrooge's Catalog}}[[Category:Catalog]]<br>{{inlineIcon|Scrooge's Store|link=Scrooge's Store}}
           |Premium Shop={{name|Premium Shop}} [[Category:Premium Shop]]
           |Premium Shop={{name|Premium Shop}} [[Category:Premium Shop]]
           |Premium Shop (Removed)={{name|Premium Shop}} (Removed) [[Category:Premium Shop]]
           |Premium Shop (Removed)={{name|Premium Shop}} (Removed) [[Category:Premium Shop]]
Line 518: Line 528:
           |Haunted Holiday Star Path
           |Haunted Holiday Star Path
           |Royal Winter Star Path
           |Royal Winter Star Path
           |Lovely Monsters Star Path={{name|{{{from|}}}}} (T{{{tier|}}}{{#ifeq:{{{premium|}}}|yes|&nbsp;Premium[[Category:Premium]]||}}){{#if:{{{bundleName|}}}|<br>{{name|Premium Shop}}[[Category:Premium Shop]]|[[Category:Limited Time]]}}
           |Lovely Monsters Star Path
          |A Day at Disney Star Path={{name|{{{from|}}}}} (T{{{tier|}}}{{#ifeq:{{{premium|}}}|yes|&nbsp;Premium[[Category:Premium]]||}}){{#if:{{{bundleName|}}}|<br>{{name|Premium Shop}}[[Category:Premium Shop]]|[[Category:Limited Time]]}}
           |Redemption Codes=[[Redemption Codes]] [[Category:Redemption Code Items]]
           |Redemption Codes=[[Redemption Codes]] [[Category:Redemption Code Items]]
           |#default={{{from|}}}}}</span>
           |#default={{{from|}}}}}</span>
Line 545: Line 556:
           |upper sides=[[:Category:Upper Side Platforms|Upper Side Platforms]][[Category:Upper Side Platforms]]
           |upper sides=[[:Category:Upper Side Platforms|Upper Side Platforms]][[Category:Upper Side Platforms]]
           |upper middle=[[:Category:Upper Middle Platform|Upper Middle Platform]][[Category:Upper Middle Platform]]
           |upper middle=[[:Category:Upper Middle Platform|Upper Middle Platform]][[Category:Upper Middle Platform]]
           |ceiling=[[:Category:Upper Ceiling Mount|Upper Ceiling Mount]][[Category:Upper Ceiling]]
           |ceiling=[[:Category:Upper Ceiling Mount|Upper Ceiling Mount]][[Category:Upper Ceiling Mount]]
           |paint=[[:Category:Upper Wallpaper & Flooring|Upper Wallpaper & Flooring]][[Category:Upper Wallpaper & Flooring]]
           |paint=[[:Category:Upper Wallpaper & Flooring|Upper Wallpaper & Flooring]][[Category:Upper Wallpaper & Flooring]]
           |wall=[[:Category:Upper Wall Mount|Upper Wall Mount]][[Category:Upper Wall Mount]]
           |wall=[[:Category:Upper Wall Mount|Upper Wall Mount]][[Category:Upper Wall Mount]]

Latest revision as of 15:19, 26 May 2024

For usage guidelines, please see: Template:Infobox/doc