Template:Wikichievements/Card: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#ifeq:{{PAGENAME}}|{{Wikichievements/Data|wikichievement={{{id|}}}}} | {{#ifeq:{{PAGENAME}}|{{Wikichievements/Data|wikichievement={{{id|}}}}} | ||
|<div style="display:flex; background-color:#303030; border:1px solid rgba(255,255,255,.1); border-radius:6px; padding:10px"> | |{{#if:{{{mini|}}}|<div style="display:flex; background-color:#303030; border:1px solid rgba(255,255,255,.1); border-radius:6px; padding:10px"> | ||
<div style="display:flex; justify-content:center; align-items:center; min-width:80px; width:80px; height:80px; background-color:#404040; border-radius:4px; overflow:hidden; user-select:none; pointer-events:none; margin-right:8px">{{#if:{{{picture|}}}|[[File:{{{picture}}}|80px|link=]]|[[File:icon-panorama.png|48px|link=]]}}</div> | <div style="display:flex; justify-content:center; align-items:center; min-width:80px; width:80px; height:80px; background-color:#404040; border-radius:4px; overflow:hidden; user-select:none; pointer-events:none; margin-right:8px">{{#if:{{{picture|}}}|[[File:{{{picture}}}|80px|link=]]|[[File:icon-panorama.png|48px|link=]]}}</div> | ||
<div style="display:flex; flex-direction:column; gap:4px; justify-content:center"> | <div style="display:flex; flex-direction:column; gap:4px; justify-content:center"> | ||
Line 12: | Line 12: | ||
<div>{{Wikichievements/Data|reason={{{id|}}}}}</div> | <div>{{Wikichievements/Data|reason={{{id|}}}}}</div> | ||
</div> | </div> | ||
</div> | </div>|<div style="display:flex; gap:10px"><div style="display:flex; justify-content:center; align-items:center; min-width:80px; width:80px; height:80px; background-color:#404040; border-radius:4px; overflow:hidden; user-select:none; pointer-events:none; margin-right:8px">{{#if:{{{picture|}}}|[[File:{{{picture}}}|80px|link=|{{{1|}}}]]|[[File:icon-panorama.png|48px|link=|{{{1|}}}]]}}</div>}} | ||
|}} | |}} |