Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(clause to prevent Hairstyle Hairstyle category)
(remove auto-adding Attractions category based on functions=Attraction value, as it is now a furniture category)
 
(13 intermediate revisions by 2 users not shown)
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 142: Line 143:
           |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 178:
           |#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 236:
   {{!}}-
   {{!}}-
   {{!}} id="infobox-label" {{!}} Tags:
   {{!}} id="infobox-label" {{!}} Tags:
   {{!}} {{#arraydefine:a-tag|{{{tags|}}}}}{{#arrayprint:a-tag| |@@@@| {{tag|@@@@|{{{type|}}}|category=yes}} {{#ifeq:{{{category|}}}|Hairstyle| {{#ifeq:@@@@|Hairstyle|<!--Do not create Hairstyle Hairstyle Category-->|[[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 249:
           |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 257:
           |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 295:
           |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 345:
     |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 515:
           |[[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 530:
           |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 558:
           |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 19:01, 6 May 2024

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