Difference between revisions of "Template:Gallery"

From The Viking Age Compendium
Jump to: navigation, search
m
m
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div>
+
<!--|GroupImage1 = {{#ifeq: {{{Category1|}}} | {{PAGENAME}} | | {{{GroupImage1|}}} }}
{{#if: {{{Title|}}} |:'''''{{{Title|}}}'''''|}}
+
|GroupLink1 = {{#ifeq: {{{Category1|}}} | {{PAGENAME}} | | {{{GroupLink1|}}} }}  
<div><ul>
+
|GroupCaption1 = {{#ifeq: {{{Category1|}}} | {{PAGENAME}} | | {{{GroupCaption1|}}} }} --><!-- Mobile View --><div id="mf-HideOnDesktop">{{Gallery-Tiles
{{#if: {{{Image1|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke; border:1px solid WhiteSmoke;}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image1|}}}|frameless|none|{{{Width|120px}}}|link={{{Link1|}}}]] <div style="margin:0px 3px;">[[{{{Link1|}}}|{{{Caption1|}}}]]</div></li>|}}
+
|Title = {{{Title|}}}
{{#if: {{{Image2|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image2|}}}|frameless|none|{{{Width|120px}}}|link={{{Link2|}}}]] <div style="margin:0px 3px;">[[{{{Link2|}}}|{{{Caption2|}}}]]</div></li>|}}
+
|Height = 120px
{{#if: {{{Image3|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image3|}}}|frameless|none|{{{Width|120px}}}|link={{{Link3|}}}]] <div style="margin:0px 3px;">[[{{{Link3|}}}|{{{Caption3|}}}]]</div></li>|}}
+
|Width = 130px
{{#if: {{{Image4|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image4|}}}|frameless|none|{{{Width|120px}}}|link={{{Link4|}}}]] <div style="margin:0px 3px;">[[{{{Link4|}}}|{{{Caption4|}}}]]</div></li>|}}
+
|Colour = {{{Colour|}}}  
{{#if: {{{Image5|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image5|}}}|frameless|none|{{{Width|120px}}}|link={{{Link5|}}}]] <div style="margin:0px 3px;">[[{{{Link5|}}}|{{{Caption5|}}}]]</div></li>|}}
+
|CategoryImage1 = {{#ifeq: {{{Category1|}}} | {{PAGENAME}} | | {{{CategoryImage1|}}} }}
{{#if: {{{Image6|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image6|}}}|frameless|none|{{{Width|120px}}}|link={{{Link6|}}}]] <div style="margin:0px 3px;">[[{{{Link6|}}}|{{{Caption6|}}}]]</div></li>|}}
+
|Category1 = {{#ifeq: {{{Category1|}}} | {{PAGENAME}} | | {{{Category1|}}} }}
{{#if: {{{Image7|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image7|}}}|frameless|none|{{{Width|120px}}}|link={{{Link7|}}}]] <div style="margin:0px 3px;">[[{{{Link7|}}}|{{{Caption7|}}}]]</div></li>|}}
+
|Image1 = {{{Image1|}}}|Link1 = {{{Link1|}}}|Caption1 = {{{Caption1|}}}
{{#if: {{{Image8|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image8|}}}|frameless|none|{{{Width|120px}}}|link={{{Link8|}}}]] <div style="margin:0px 3px;">[[{{{Link8|}}}|{{{Caption8|}}}]]</div></li>|}}
+
|Image2 = {{{Image2|}}}|Link2 = {{{Link2|}}}|Caption2 = {{{Caption2|}}}
{{#if: {{{Image9|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image9|}}}|frameless|none|{{{Width|120px}}}|link={{{Link9|}}}]] <div style="margin:0px 3px;">[[{{{Link9|}}}|{{{Caption9|}}}]]</div></li>|}}
+
|Image3 = {{{Image3|}}}|Link3 = {{{Link3|}}}|Caption3 = {{{Caption3|}}}
{{#if: {{{Image10|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image10|}}}|frameless|none|{{{Width|120px}}}|link={{{Link10|}}}]] <div style="margin:0px 3px;">[[{{{Link10|}}}|{{{Caption10|}}}]]</div></li>|}}
+
|Image4 = {{{Image4|}}}|Link4 = {{{Link4|}}}|Caption4 = {{{Caption4|}}}
{{#if: {{{Image11|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image11|}}}|frameless|none|{{{Width|120px}}}|link={{{Link11|}}}]] <div style="margin:0px 3px;">[[{{{Link11|}}}|{{{Caption11|}}}]]</div></li>|}}
+
|Image5 = {{{Image5|}}}|Link5 = {{{Link5|}}}|Caption5 = {{{Caption5|}}}
{{#if: {{{Image12|}}} |<li style="{{#if: {{{Colour|}}} |background-color:WhiteSmoke;|}} display: inline-block; vertical-align:top; height: {{{Height|120px}}}; Width:{{{Width|120px}}}; margin:0px 6px 5px 0px;">[[File:{{{Image12|}}}|frameless|none|{{{Width|120px}}}|link={{{Link12|}}}]] <div style="margin:0px 3px;">[[{{{Link12|}}}|{{{Caption12|}}}]]</div></li>|}}
+
|Image6 = {{{Image6|}}}|Link6 = {{{Link6|}}}|Caption6 = {{{Caption6|}}}
</ul></div></div>
+
|Image7 = {{{Image7|}}}|Link7 = {{{Link7|}}}|Caption7 = {{{Caption7|}}}
 +
|Image8 = {{{Image8|}}}|Link8 = {{{Link8|}}}|Caption8 = {{{Caption8|}}}
 +
|Image9 = {{{Image9|}}}|Link9 = {{{Link9|}}}|Caption9 = {{{Caption9|}}}
 +
|Image10 = {{{Image10|}}}|Link10 = {{{Link10|}}}|Caption10 = {{{Caption10|}}}
 +
|Image11 = {{{Image11|}}}|Link11 = {{{Link11|}}}|Caption11 = {{{Caption11|}}}
 +
|Image12 = {{{Image12|}}}|Link12 = {{{Link12|}}}|Caption12 = {{{Caption12|}}}
 +
|Image13 = {{{Image13|}}}|Link13 = {{{Link13|}}}|Caption13 = {{{Caption13|}}}
 +
|Image14 = {{{Image14|}}}|Link14 = {{{Link14|}}}|Caption14 = {{{Caption14|}}}
 +
|Image15 = {{{Image15|}}}|Link15 = {{{Link15|}}}|Caption15 = {{{Caption15|}}}
 +
|Image16 = {{{Image16|}}}|Link16 = {{{Link16|}}}|Caption16 = {{{Caption16|}}}
 +
}}</div><!-- Desktop View --><div id="mf-HideOnMobile">{{Gallery-Tiles
 +
|Title = {{{Title|}}}
 +
|Height = {{{Height|}}}
 +
|Width = {{{Width|}}}
 +
|Colour = {{{Colour|}}}  
 +
|CategoryImage1 = {{#ifeq: {{{Category1|}}} | {{PAGENAME}} | | {{{CategoryImage1|}}} }}
 +
|Category1 = {{#ifeq: {{{Category1|}}} | {{PAGENAME}} | | {{{Category1|}}} }}
 +
|Image1 = {{{Image1|}}}|Link1 = {{{Link1|}}}|Caption1 = {{{Caption1|}}}
 +
|Image2 = {{{Image2|}}}|Link2 = {{{Link2|}}}|Caption2 = {{{Caption2|}}}
 +
|Image3 = {{{Image3|}}}|Link3 = {{{Link3|}}}|Caption3 = {{{Caption3|}}}
 +
|Image4 = {{{Image4|}}}|Link4 = {{{Link4|}}}|Caption4 = {{{Caption4|}}}
 +
|Image5 = {{{Image5|}}}|Link5 = {{{Link5|}}}|Caption5 = {{{Caption5|}}}
 +
|Image6 = {{{Image6|}}}|Link6 = {{{Link6|}}}|Caption6 = {{{Caption6|}}}
 +
|Image7 = {{{Image7|}}}|Link7 = {{{Link7|}}}|Caption7 = {{{Caption7|}}}
 +
|Image8 = {{{Image8|}}}|Link8 = {{{Link8|}}}|Caption8 = {{{Caption8|}}}
 +
|Image9 = {{{Image9|}}}|Link9 = {{{Link9|}}}|Caption9 = {{{Caption9|}}}
 +
|Image10 = {{{Image10|}}}|Link10 = {{{Link10|}}}|Caption10 = {{{Caption10|}}}
 +
|Image11 = {{{Image11|}}}|Link11 = {{{Link11|}}}|Caption11 = {{{Caption11|}}}
 +
|Image12 = {{{Image12|}}}|Link12 = {{{Link12|}}}|Caption12 = {{{Caption12|}}}
 +
|Image13 = {{{Image13|}}}|Link13 = {{{Link13|}}}|Caption13 = {{{Caption13|}}}
 +
|Image14 = {{{Image14|}}}|Link14 = {{{Link14|}}}|Caption14 = {{{Caption14|}}}
 +
|Image15 = {{{Image15|}}}|Link15 = {{{Link15|}}}|Caption15 = {{{Caption15|}}}
 +
|Image16 = {{{Image16|}}}|Link16 = {{{Link16|}}}|Caption16 = {{{Caption16|}}}
 +
}}</div>

Latest revision as of 13:12, 22 February 2020