Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(switch dairy and oil ingredients to using more appropriately named identical file (going to request rename/removal of currently used duplicate file))
(Display Other label on image if universe=Other. Can be removed later, but should be useful for easily identifying whether universe has been defined for items.)
Line 7: Line 7:
|colspan=2 id="infobox-image" | {{#if:{{{universe|}}}|{{#switch:{{{universe|}}}
|colspan=2 id="infobox-image" | {{#if:{{{universe|}}}|{{#switch:{{{universe|}}}
           |none
           |none
           |None
           |None=
           |Other=
           |Other=<div id="infobox-universe">[[File:Non-Disney-Related_light.png{{!}}24px{{!}}link={{{type|}}}#Non-Disney-Related]] [[{{{type|}}}#Non-Disney-Related{{!}}Other]]</div>[[Category:Other_{{{type|}}}]]<div style="clear:both;"></div>
           |Beauty and the Beast
           |Beauty and the Beast
           |Cars
           |Cars

Revision as of 21:02, 2 April 2023

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