Difference between revisions of "Template:Harem-Heroes-Gallery"

From Hgames Wiki
Jump to: navigation, search
(Created page with "<div style="display: flex; flex-wrap: wrap; gap: 10px; padding: 10px; border: 1px solid #ccc; border-radius: 8px; background-color: #f9f9f9;"> {{#if:{{{image1|}}}|<div style...")
 
Line 1: Line 1:
 
<div style="display: flex; flex-wrap: wrap; gap: 10px; padding: 10px; border: 1px solid #ccc; border-radius: 8px; background-color: #f9f9f9;">
 
<div style="display: flex; flex-wrap: wrap; gap: 10px; padding: 10px; border: 1px solid #ccc; border-radius: 8px; background-color: #f9f9f9;">
 
   {{#if:{{{image1|}}}|<div style="flex: 1; min-width: 150px; text-align: center; margin-bottom: 15px;">
 
   {{#if:{{{image1|}}}|<div style="flex: 1; min-width: 150px; text-align: center; margin-bottom: 15px;">
     <img src="{{{image1}}}" style="max-width: 100%; height: auto; border: 1px solid #ddd; border-radius: 4px;"/>
+
     [[File:{{{image1}}}|frameless|border|300px]]
 
     <div style="margin-top: 5px; font-size: 0.9em;">{{{caption1|}}}</div>
 
     <div style="margin-top: 5px; font-size: 0.9em;">{{{caption1|}}}</div>
 
   </div>}}
 
   </div>}}
 
   {{#if:{{{image2|}}}|<div style="flex: 1; min-width: 150px; text-align: center; margin-bottom: 15px;">
 
   {{#if:{{{image2|}}}|<div style="flex: 1; min-width: 150px; text-align: center; margin-bottom: 15px;">
     <img src="{{{image2}}}" style="max-width: 100%; height: auto; border: 1px solid #ddd; border-radius: 4px;"/>
+
     [[File:{{{image2}}}|frameless|border|300px]]
 
     <div style="margin-top: 5px; font-size: 0.9em;">{{{caption2|}}}</div>
 
     <div style="margin-top: 5px; font-size: 0.9em;">{{{caption2|}}}</div>
 
   </div>}}
 
   </div>}}
  <!-- Repeat for more images -->
 
 
</div>
 
</div>

Revision as of 08:20, 15 December 2023