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

From Hgames Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<div class="hh-gallery" id="hhg-{{{gid|1}}}">{{#if:{{{image1|}}}|<div class="hh-gallery-item" id="hhg-{{{gid|1}}}-1">[[File:{{{image1}}}|frameless|500x400px|link=]]<div class="hh-gallery-caption">{{{caption1|}}}</div><div class="hh-gallery-tools">[[#hhg-{{{gid|1}}}-1|⛶ Expand]]</div><div class="hh-gallery-nav"><span class="hh-off">‹</span>[[#hhg-{{{gid|1}}}|✕]]{{#if:{{{image2|}}}|[[#hhg-{{{gid|1}}}-2|›]]|<span class="hh-off">›</span>}}</div></div>}}{{#if:{{{image2|}}}|<div class="hh-gallery-item" id="hhg-{{{gid|1}}}-2">[[File:{{{image2}}}|frameless|500x400px|link=]]<div class="hh-gallery-caption">{{{caption2|}}}</div><div class="hh-gallery-tools">[[#hhg-{{{gid|1}}}-2|⛶ Expand]]</div><div class="hh-gallery-nav">[[#hhg-{{{gid|1}}}-1|‹]][[#hhg-{{{gid|1}}}|✕]]{{#if:{{{image3|}}}|[[#hhg-{{{gid|1}}}-3|›]]|<span class="hh-off">›</span>}}</div></div>}}{{#if:{{{image3|}}}|<div class="hh-gallery-item" id="hhg-{{{gid|1}}}-3">[[File:{{{image3}}}|frameless|500x400px|link=]]<div class="hh-gallery-caption">{{{caption3|}}}</div><div class="hh-gallery-tools">[[#hhg-{{{gid|1}}}-3|⛶ Expand]]</div><div class="hh-gallery-nav">[[#hhg-{{{gid|1}}}-2|‹]][[#hhg-{{{gid|1}}}|✕]]{{#if:{{{image4|}}}|[[#hhg-{{{gid|1}}}-4|›]]|<span class="hh-off">›</span>}}</div></div>}}{{#if:{{{image4|}}}|<div class="hh-gallery-item" id="hhg-{{{gid|1}}}-4">[[File:{{{image4}}}|frameless|500x400px|link=]]<div class="hh-gallery-caption">{{{caption4|}}}</div><div class="hh-gallery-tools">[[#hhg-{{{gid|1}}}-4|⛶ Expand]]</div><div class="hh-gallery-nav">[[#hhg-{{{gid|1}}}-3|‹]][[#hhg-{{{gid|1}}}|✕]]{{#if:{{{image5|}}}|[[#hhg-{{{gid|1}}}-5|›]]|<span class="hh-off">›</span>}}</div></div>}}{{#if:{{{image5|}}}|<div class="hh-gallery-item" id="hhg-{{{gid|1}}}-5">[[File:{{{image5}}}|frameless|500x400px|link=]]<div class="hh-gallery-caption">{{{caption5|}}}</div><div class="hh-gallery-tools">[[#hhg-{{{gid|1}}}-5|⛶ Expand]]</div><div class="hh-gallery-nav">[[#hhg-{{{gid|1}}}-4|‹]][[#hhg-{{{gid|1}}}|✕]]{{#if:{{{image6|}}}|[[#hhg-{{{gid|1}}}-6|›]]|<span class="hh-off">›</span>}}</div></div>}}{{#if:{{{image6|}}}|<div class="hh-gallery-item" id="hhg-{{{gid|1}}}-6">[[File:{{{image6}}}|frameless|500x400px|link=]]<div class="hh-gallery-caption">{{{caption6|}}}</div><div class="hh-gallery-tools">[[#hhg-{{{gid|1}}}-6|⛶ Expand]]</div><div class="hh-gallery-nav">[[#hhg-{{{gid|1}}}-5|‹]][[#hhg-{{{gid|1}}}|✕]]{{#if:{{{image7|}}}|[[#hhg-{{{gid|1}}}-7|›]]|<span class="hh-off">›</span>}}</div></div>}}{{#if:{{{image7|}}}|<div class="hh-gallery-item" id="hhg-{{{gid|1}}}-7">[[File:{{{image7}}}|frameless|500x400px|link=]]<div class="hh-gallery-caption">{{{caption7|}}}</div><div class="hh-gallery-tools">[[#hhg-{{{gid|1}}}-7|⛶ Expand]]</div><div class="hh-gallery-nav">[[#hhg-{{{gid|1}}}-6|‹]][[#hhg-{{{gid|1}}}|✕]]{{#if:{{{image8|}}}|[[#hhg-{{{gid|1}}}-8|›]]|<span class="hh-off">›</span>}}</div></div>}}{{#if:{{{image8|}}}|<div class="hh-gallery-item" id="hhg-{{{gid|1}}}-8">[[File:{{{image8}}}|frameless|500x400px|link=]]<div class="hh-gallery-caption">{{{caption8|}}}</div><div class="hh-gallery-tools">[[#hhg-{{{gid|1}}}-8|⛶ Expand]]</div><div class="hh-gallery-nav">[[#hhg-{{{gid|1}}}-7|‹]][[#hhg-{{{gid|1}}}|✕]]<span class="hh-off">›</span></div></div>}}</div>
+
<templatestyles src="Harem-Heroes-Gallery/styles.css" />
 +
<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:37, 3 September 2026

<templatestyles src="Harem-Heroes-Gallery/styles.css" />