Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
mNo edit summary
m (Support for multiple bundle entry)
 
(7 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 37: Line 37:
           |Mickey & Friends
           |Mickey & Friends
           |Moana
           |Moana
          |Mulan
           |Monsters, Inc.
           |Monsters, Inc.
           |Oswald the Lucky Rabbit
           |Oswald the Lucky Rabbit
Line 57: Line 58:
           |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 62: Line 64:
               |Maleficent
               |Maleficent
               |Moana
               |Moana
              |Mulan
               |Peter Pan
               |Peter Pan
               |Pocahontas
               |Pocahontas
Line 67: Line 70:
               |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 75: Line 77:
               |Maleficent
               |Maleficent
               |Moana
               |Moana
              |Mulan
               |Peter Pan
               |Peter Pan
               |Pocahontas
               |Pocahontas
Line 80: Line 83:
               |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 107: Line 108:
           |Foraging=[[File:Foraging.png|22px|link=Foraging]] [[Foraging]]
           |Foraging=[[File:Foraging.png|22px|link=Foraging]] [[Foraging]]
           |Companion=[[File:Menu_Icon_Companions.png|22px|link=Companions]] [[Companions|Companion]] [[Category: Companions]]
           |Companion=[[File:Menu_Icon_Companions.png|22px|link=Companions]] [[Companions|Companion]] [[Category: Companions]]
           |Wallpaper=[[File:Menu_Icon_Wallpaper.png|22px|link=Wallpaper]] [[Wallpaper]] [[Category: Wallpaper]]
           |Wallpaper=[[File:Menu_Icon_Wallpaper.png|22px|link=Furniture]] [[Furniture#{{{universe|}}}|Wallpaper]] [[Category: Wallpaper]]
           |Flooring=[[File:Menu_Icon_Flooring.png|22px|link=Flooring]] [[Flooring]] [[Category: Flooring]]
           |Flooring=[[File:Menu_Icon_Flooring.png|22px|link=Furniture]] [[Furniture#{{{universe|}}}|Flooring]] [[Category: Flooring]]
           |Crafting=[[File:Crafting.png|22px|link=Crafting]] [[Crafting]]
           |Crafting=[[File:Crafting.png|22px|link=Crafting]] [[Crafting]]
           |Gem
           |Gem
Line 179: Line 180:
}}{{#if:{{{functions|}}}|{{#switch:{{{functions|}}}
}}{{#if:{{{functions|}}}|{{#switch:{{{functions|}}}
           |Arch=
           |Arch=
           |Attraction=[[Category:Attractions]]
           |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 213: Line 214:
   {{!}}-
   {{!}}-
   {{!}} id="infobox-label" {{!}} Categories:
   {{!}} id="infobox-label" {{!}} Categories:
   {{!}} {{#arraydefine:a-category|{{{category|}}}}}{{#arrayprint:a-category|<br/>|@@@@|<span id="nametemplate">{{category|@@@@}}</span>}}
   {{!}} {{#arraydefine:a-category|{{{category|}}}}}{{#arrayprint:a-category|<br/>|@@@@|{{#ifeq:@@@@|Trees|{{#ifeq:{{{type|}}}|Furniture|<span id="nametemplate">{{category|@@@@ (Furniture)}}</span>|<span id="nametemplate">{{category|@@@@}}</span>}}|<span id="nametemplate">{{category|@@@@}}</span>}}}}
}}}}{{#if:{{{size|}}}|<nowiki/>
}}}}{{#if:{{{size|}}}|<nowiki/>
   {{!}}-
   {{!}}-
Line 250: Line 251:
           |Lovely Monsters Star Path=Lovely Monsters
           |Lovely Monsters Star Path=Lovely Monsters
           |A Day at Disney Star Path=A Day at Disney
           |A Day at Disney Star Path=A Day at Disney
          |Update 11 Star Path=Update 11 (SP Name TBA)
           |#default=}}|event={{{from|}}}}}|}}
           |#default=}}|event={{{from|}}}}}|}}
}}}}{{#if:{{{collection|}}}|<nowiki/>
}}}}{{#if:{{{collection|}}}|<nowiki/>
Line 346: Line 348:
     |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]]
     |A Day at Disney Star Path={{price|{{{eventTokens|}}}|dayatdisneytoken}} [[Category:A Day at Disney Star Path]]
    |Update 11 Star Path={{price|{{{eventTokens|}}}|update11_sptoken}} [[Category:Update 11 Star Path]]
     |#default={{{eventTokens|}}} Tokens}}
     |#default={{{eventTokens|}}} Tokens}}
}}{{#if:{{{bundle|}}}|<nowiki/>
}}{{#if:{{{bundle|}}}|<nowiki/>
Line 351: Line 354:
   {{!}} id="infobox-label" {{!}} Bundle:
   {{!}} id="infobox-label" {{!}} Bundle:
   {{!}} {{{bundle|}}}
   {{!}} {{{bundle|}}}
}}{{#if:{{{bundles|}}}|<nowiki/>
  {{!}}-
  {{!}} id="infobox-label" {{!}} Bundles:
  {{!}} {{{bundles|}}}
}}{{#if:{{{bundleName|}}}|<nowiki/>
}}{{#if:{{{bundleName|}}}|<nowiki/>
   {{!}}-
   {{!}}-
Line 531: Line 538:
           |Royal Winter Star Path
           |Royal Winter Star Path
           |Lovely Monsters Star Path
           |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]]}}
           |A Day at Disney Star Path
          |Update 11 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>

Latest revision as of 01:22, 20 June 2024

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