Template:Memory: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
No edit summary
(Increase border size just a smidge so color is easier to see (2px to 3px))
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div id="memorywrap" style="max-width: 300px; padding: 10px;">
<includeonly><div id="memorywrap" style="max-width: 300px; padding: 10px;">
<div>
<div style="border: {{#switch:{{{color|}}}
[[File:{{{1|}}}.png|300px|center|link=]]
  |blue=#22d2ed
<div id="brokenmemory">[[File:Broken Memory Pieces {{{2|}}}.png|300px|center|link=]]</div>
  |green=#2aed22
  |pink=#dc22ed
  |red=#ff1616
  |yellow=#fff316
  |#default=#6573cc}} 3px solid; margin-right: -4px;">
[[File:{{#if:{{{missing|}}}|Broken Memory Pieces 11|{{{1}}}}}.png|{{#if:{{{width|}}}|{{{width|}}}|300px}}|center|link=]]
<div id="brokenmemory">[[File:{{#if:{{{missing|}}}|Broken Memory Pieces 11|Broken Memory Pieces {{{2}}}}}.png|{{#if:{{{width|}}}|{{{width|}}}|300px}}|center|link={{#if:{{{missing|}}}||{{#if:{{{link|}}}|{{{link|}}}|File:{{{1}}}.png}}}}]]</div>
</div>
</div>
<div>
{{#ifeq:{{{type|}}}|hidden||<div>
<div style="float:left;"><div style="padding:5px; background-color: blue; border-radius: 5px;">[[File:Memory Icon Cooking.png|40px|center|link=]]</div></div>
<div style="float:left;{{#if:{{{desc|}}}|display:none;|}}"><div style="padding:4px; background-color: #6573cc; border-radius: 5px; margin-top: 4px; margin-right: 6px;">[[File:Memory Icon {{{type|}}}.png|32px|center|link=]]</div></div><div style="text-align:{{#if:{{{desc|}}}|center|left}}; line-height: 1.4; margin-top: 7px; font-size: 14px;">{{#if:{{{desc|}}}|{{{desc|}}}|Find exclusive Memory Pieces when {{#switch:{{{type|}}}
<div style="text-align: left;">Find exclusive Memory Pieces when feeding critters.</div></div>
          |critters=feeding [[critters]]
</div></includeonly>
          |gardening=[[gardening]]
          |flowers=watering [[Foraging#Flowers|flowers]]
          |thorns=removing small Night Thorns
          |mining=[[mining]]
          |fishing=[[fishing]]
          |digging=[[digging]]
          |cooking=[[cooking]]
          |#default={{{type|}}}}}}}</div></div>}}
</div></includeonly><noinclude></noinclude>

Latest revision as of 22:16, 24 January 2024