Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Add logic for items that can only be placed in a specific village - very few items this currently impacts (Rapunzel's Art Class Banner, Dreamlight Day Banner, which can also be placed inside, not fully sure how to handle that yet))
No edit summary
Line 671: Line 671:
           |wateronly=[[Category:Outdoor Only]][[:Category:Outdoor Only|Outdoor Only, On Water]]
           |wateronly=[[Category:Outdoor Only]][[:Category:Outdoor Only|Outdoor Only, On Water]]
           |#default=}} {{#if:{{{village|}}}|{{#switch:{{{village|}}}
           |#default=}} {{#if:{{{village|}}}|{{#switch:{{{village|}}}
           |Eternity Isle=([[:Category:Eternity Isle Village Environment|Eternity Isle]][[Category:Eternity Isle Village Environment]])
           |Eternity Isle=([[:Category:Eternity Isle Village Only|Eternity Isle]][[Category:Eternity Isle Village Only]])
           |Dreamlight Valley=([[:Category:Dreamlight Valley Village Environment|Dreamlight Valley]][[Category:Dreamlight Valley Village Environment]])
           |Dreamlight Valley=([[:Category:Dreamlight Valley Village Only|Dreamlight Valley]][[Category:Dreamlight Valley Village Only]])
           |#default=}}|}}
           |#default=}}|}}
}}{{#if:{{{pieces|}}}|<nowiki/>
}}{{#if:{{{pieces|}}}|<nowiki/>

Revision as of 18:55, 18 February 2024

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