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

From Hgames Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<includeonly>{{#tag:gallery|
+
<div style="display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding: 10px; border: 1px solid #ccc; border-radius: 8px; background-color: #f9f9f9; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);">
{{#if:{{{image1|}}}|File:{{{image1}}}{{!}}{{{caption1|}}}}}
+
  {{#if:{{{image1|}}}|<div style="flex: 0 0 auto; max-width: 500px; max-height: 500px; box-sizing: border-box; text-align: center;">
{{#if:{{{image2|}}}|File:{{{image2}}}{{!}}{{{caption2|}}}}}
+
    [[File:{{{image1}}}|center|frameless|500x400px]]
{{#if:{{{image3|}}}|File:{{{image3}}}{{!}}{{{caption3|}}}}}
+
    <div style="margin-top: 5px; font-size: 0.9em;">{{{caption1|}}}</div>
{{#if:{{{image4|}}}|File:{{{image4}}}{{!}}{{{caption4|}}}}}
+
  </div>}}
{{#if:{{{image5|}}}|File:{{{image5}}}{{!}}{{{caption5|}}}}}
+
  {{#if:{{{image2|}}}|<div style="flex: 0 0 auto; max-width: 500px; max-height: 500px; box-sizing: border-box; text-align: center;">
{{#if:{{{image6|}}}|File:{{{image6}}}{{!}}{{{caption6|}}}}}
+
    [[File:{{{image2}}}|center|frameless|500x400px]]
{{#if:{{{image7|}}}|File:{{{image7}}}{{!}}{{{caption7|}}}}}
+
    <div style="margin-top: 5px; font-size: 0.9em;">{{{caption2|}}}</div>
{{#if:{{{image8|}}}|File:{{{image8}}}{{!}}{{{caption8|}}}}}
+
  </div>}}
|mode=slideshow|widths=600|heights=450}}</includeonly>
+
  {{#if:{{{image3|}}}|<div style="flex: 0 0 auto; max-width: 500px; max-height: 500px; box-sizing: border-box; text-align: center;">[[File:{{{image3}}}|center|frameless|500x400px]]<div style="margin-top: 5px; font-size: 0.9em;">{{{caption3|}}}</div></div>}}
 +
  {{#if:{{{image4|}}}|<div style="flex: 0 0 auto; max-width: 500px; max-height: 500px; box-sizing: border-box; text-align: center;">[[File:{{{image4}}}|center|frameless|500x400px]]<div style="margin-top: 5px; font-size: 0.9em;">{{{caption4|}}}</div></div>}}
 +
  {{#if:{{{image5|}}}|<div style="flex: 0 0 auto; max-width: 500px; max-height: 500px; box-sizing: border-box; text-align: center;">[[File:{{{image5}}}|center|frameless|500x400px]]<div style="margin-top: 5px; font-size: 0.9em;">{{{caption5|}}}</div></div>}}
 +
  {{#if:{{{image6|}}}|<div style="flex: 0 0 auto; max-width: 500px; max-height: 500px; box-sizing: border-box; text-align: center;">[[File:{{{image6}}}|center|frameless|500x400px]]<div style="margin-top: 5px; font-size: 0.9em;">{{{caption6|}}}</div></div>}}
 +
  {{#if:{{{image7|}}}|<div style="flex: 0 0 auto; max-width: 500px; max-height: 500px; box-sizing: border-box; text-align: center;">[[File:{{{image7}}}|center|frameless|500x400px]]<div style="margin-top: 5px; font-size: 0.9em;">{{{caption7|}}}</div></div>}}
 +
  {{#if:{{{image8|}}}|<div style="flex: 0 0 auto; max-width: 500px; max-height: 500px; box-sizing: border-box; text-align: center;">[[File:{{{image8}}}|center|frameless|500x400px]]<div style="margin-top: 5px; font-size: 0.9em;">{{{caption8|}}}</div></div>}}
 +
</div>

Revision as of 04:45, 3 September 2026