Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(add type=Universe)
(Icon/text in upper right of infobox now links to universe page, rather than type/universe anchor (which is already readily accessible within the infobox, and typically within the first line of description text). Currently does not apply to crafted furniture, which will still link to crafting page.)
Line 36: Line 36:
           |Up
           |Up
           |WALL-E
           |WALL-E
           |Wreck-It Ralph=<div id="infobox-universe">[[File:{{{universe|}}}_light.png{{!}}24px{{!}}link={{#if:{{{type|}}}|{{#ifeq:{{{type|}}}|Crafted Furniture|Crafting#Furniture|{{{type|}}}#{{{universe|}}}}}|}}]] {{#if:{{{type|}}}|[[{{#ifeq:{{{type|}}}|Crafted Furniture|Crafting#Furniture{{!}}|{{{type|}}}#{{{universe|}}}{{!}}}}{{{universe|}}}]]|{{{universe|}}}}}</div>[[Category:{{{universe|}}}_{{{type|}}}]]<div style="clear:both;"></div>
           |Wreck-It Ralph=<div id="infobox-universe">[[File:{{{universe|}}}_light.png{{!}}24px{{!}}link={{#if:{{{type|}}}|{{#ifeq:{{{type|}}}|Crafted Furniture|Crafting#Furniture|{{#switch:{{{universe|}}}
          |Cinderella
          |Hercules
          |Moana
          |Ratatouille
          |Snow White
          |WALL-E={{{universe|}}} (Universe)
          |#default={{{universe|}}}}}}}|}}]] {{#if:{{{type|}}}|[[{{#ifeq:{{{type|}}}|Crafted Furniture|Crafting#Furniture{{!}}|{{#switch:{{{universe|}}}
          |Cinderella
          |Hercules
          |Moana
          |Ratatouille
          |Snow White
          |WALL-E={{{universe|}}} (Universe)
          |#default={{{universe|}}}}}{{!}}}}{{{universe|}}}]]|{{{universe|}}}}}</div>[[Category:{{{universe|}}}_{{{type|}}}]]<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]]<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]]<br>|}}{{#if:{{{image_m|}}}|{{#Widget:BodyType}}
<div class="tab content1">[[File:{{{image}}}|center]]</div>
<div class="tab content1">[[File:{{{image}}}|center]]</div>

Revision as of 19:38, 5 June 2023

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