Template:Quest: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Experimented with adding realm icons, character icons, friendship icons. They are added, but optional - shouldn't affect anything existing. Doesn't look quite right somehow, but if tweaked, could more concisely convey info in an infobox setting)
(add Story icon)
Line 1: Line 1:
<span id="nametemplate" {{#ifeq:{{{class|}}}|inline|style="display:inline; margin-right:0;"|}}>[[File:Menu_Icon_Quests.png|{{#if:{{{size|}}}|{{{size|}}}|20}}px|link=]] [[{{{1|}}}]]{{#if:{{{realm|}}}|&nbsp;{{inlineIcon|{{{realm|}}} Realm|iconOnly}}|}}{{#if:{{{friendship|}}}|&nbsp;{{#if:{{{level|}}}|{{inlineIcon|Friendship_{{{level|}}}|iconOnly}}|}}{{inlineIcon|{{{friendship|}}}|iconOnly}}|}}</span><noinclude>[[Category:Formatting templates]]
<span id=""nametemplate"" {{#ifeq:{{{class|}}}|inline|style=""display:inline; margin-right:0;""|}}>[[File:Menu_Icon_Quests.png|{{#if:{{{size|}}}|{{{size|}}}|20}}px|link=]] [[{{{1|}}}]]{{#switch:{{{realm|}}}
<!--{{quest|The Shy Little Robot}}
  |Story=&nbsp;{{inlineIcon|Story|iconOnly}}
  |#default=&nbsp;{{inlineIcon|{{{realm|}}} Realm|iconOnly}}|}}{{#if:{{{friendship|}}}|&nbsp;{{#if:{{{level|}}}|{{inlineIcon|Friendship_{{{level|}}}|iconOnly}}|}}{{inlineIcon|{{{friendship|}}}|iconOnly}}|}}</span><noinclude>[[Category:Formatting templates]]
{{quest|The Shy Little Robot}}
{{quest|The Shy Little Robot|friendship=WALL-E}}
{{quest|The Shy Little Robot|friendship=WALL-E}}
{{quest|The Shy Little Robot|realm=WALL-E}}
{{quest|The Shy Little Robot|realm=WALL-E}}
{{quest|The Shy Little Robot|friendship=WALL-E|level=6}}-->
{{quest|The Shy Little Robot|friendship=Merlin|realm=Story}}
{{quest|The Shy Little Robot|friendship=WALL-E|level=6}}
</noinclude>
</noinclude>

Revision as of 17:22, 14 March 2023