Template:Memory: Difference between revisions

Increase border size just a smidge so color is easier to see (2px to 3px)
No edit summary
(Increase border size just a smidge so color is easier to see (2px to 3px))
 
(20 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|}}}
{{#if:missing|[[File:Broken Memory Pieces 11.png{{!}}300px{{!}}center{{!}}link=.png]]|[[File:{{{1|}}}.png{{!}}300px{{!}}center{{!}}link=]]}}
  |blue=#22d2ed
<div id="brokenmemory">{{#if:missing|[[File:Broken Memory Pieces 11.png{{!}}300px{{!}}center{{!}}link=.png]]|[[File:Broken Memory Pieces {{{2|}}}.png{{!}}300px{{!}}center{{!}}link=File:{{{1|}}}.png]]}}</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;{{#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="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:{{#if:desc|center|left}}; line-height: 1.4; margin-top: 4px;">{{#if:desc|{{{desc|}}}|Find exclusive Memory Pieces when {{#switch:{{{type|}}}}}
           |critters=feeding [[critters]]
           |critters=feeding [[critters]]
           |gardening=gardening
           |gardening=[[gardening]]
           |flowers=watering [[Foraging#Flowers|flowers]]
           |flowers=watering [[Foraging#Flowers|flowers]]
           |thorns=removing small Night Thorns
           |thorns=removing small Night Thorns
           |mining=mining
           |mining=[[mining]]
           |fishing=[[Fish|fishing]]
           |fishing=[[fishing]]
           |digging=digging
           |digging=[[digging]]
           |cooking=[[Meals#Cooking|cooking]]
           |cooking=[[cooking]]
           |#default={{{type|}}}}}</div></div>
           |#default={{{type|}}}}}}}</div></div>}}
</div></includeonly>
</div></includeonly><noinclude></noinclude>
moderator
26,658

edits