Template:CoverThumb: Difference between revisions

From 3DO World
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<span class="coverThumb" style="position:relative; display:inline-block;">
<div class="cover-preview">
   <span style="width:60px;height:80px;overflow:hidden;display:flex;align-items:center;justify-content:center;">
   <!-- Small -->
    [[File:{{{1}}}|x80px|link={{{2|}}}|alt={{{3|}}}]]
  [[File:{{{1}}}|frameless|x80px|class="cover-small mw-image-no-margin"|link={{{2|}}}|alt={{{3|}}}]]
   </span>
    
 
   <!-- Large -->
   <!-- popup: hidden by default so it never affects table layout -->
   <div class="cover-large">
   <span class="coverPopup" style="display:none; position:absolute; left:70px; top:-10px; z-index:99999;
     [[File:{{{1}}}|frameless|250px|class="cover-large-img mw-image-no-margin"|link={{{2|}}}|alt={{{3|}}}]]
        background:#fff; border:1px solid #aaa; padding:4px; box-shadow:0 2px 10px rgba(0,0,0,0.25);">
   </div>
     [[File:{{{1}}}|220px|link={{{2|}}}|alt={{{3|}}}]]
</div>
   </span>
</span>
</includeonly>
</includeonly>

Latest revision as of 12:50, 29 January 2026