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

From Hgames Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<templatestyles src="Harem-Heroes-Gallery/styles.css" />
+
<div style="display:flex; gap:12px; padding:12px; overflow-x:auto; scroll-snap-type:x mandatory; border:1px solid var(--border-color-base,#c8ccd1); border-radius:10px; background:var(--background-color-neutral-subtle,#f8f9fa); box-shadow:0 1px 4px rgba(0,0,0,.08);">{{#if:{{{image1|}}}|<div style="flex:0 0 auto; width:min(500px,80vw); scroll-snap-align:center; border:1px solid var(--border-color-subtle,#eaecf0); border-radius:8px; overflow:hidden; background:var(--background-color-base,#fff); text-align:center;">[[File:{{{image1}}}|center|frameless|500x400px]]<div style="padding:6px 8px; font-size:.875em; color:var(--color-subtle,#54595d); border-top:1px solid var(--border-color-subtle,#eaecf0);">{{{caption1|}}}</div></div>}}...</div>
<gallery mode="slideshow" widths="600" heights="450" class="hh-gallery">
 
{{#if:{{{image1|}}}|File:{{{image1}}}{{!}}{{{caption1|}}}}}
 
{{#if:{{{image2|}}}|File:{{{image2}}}{{!}}{{{caption2|}}}}}
 
{{#if:{{{image3|}}}|File:{{{image3}}}{{!}}{{{caption3|}}}}}
 
{{#if:{{{image4|}}}|File:{{{image4}}}{{!}}{{{caption4|}}}}}
 
{{#if:{{{image5|}}}|File:{{{image5}}}{{!}}{{{caption5|}}}}}
 
{{#if:{{{image6|}}}|File:{{{image6}}}{{!}}{{{caption6|}}}}}
 
{{#if:{{{image7|}}}|File:{{{image7}}}{{!}}{{{caption7|}}}}}
 
{{#if:{{{image8|}}}|File:{{{image8}}}{{!}}{{{caption8|}}}}}
 
</gallery>
 

Revision as of 04:38, 3 September 2026

...