Difference between revisions of "Template:Gallery"

From The Viking Age Compendium
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<!-- Mobile View --><div id="mf-HideOnDesktop">{{#ifeq: {{{Category1|}}} | {{PAGENAME}} | {{Gallery-Tiles
 
<!-- Mobile View --><div id="mf-HideOnDesktop">{{#ifeq: {{{Category1|}}} | {{PAGENAME}} | {{Gallery-Tiles
|Title = {{{Title|}}}
+
{{!}}Title = {{{Title|}}}
|Height = 120px
+
{{!}}Height = 120px
|Width = 130px
+
{{!}}Width = 130px
|Colour = {{{Colour|}}}  
+
{{!}}Colour = {{{Colour|}}}  
|CategoryImage1 = {{{CategoryImage1|}}}
+
{{!}}CategoryImage1 = {{{CategoryImage1|}}}
|Category1 = {{{Category1|}}}  
+
{{!}}Category1 = {{{Category1|}}}  
 
| {{Gallery-Tiles
 
| {{Gallery-Tiles
|Title = {{{Title|}}}
+
{{!}}Title = {{{Title|}}}
|Height = 120px
+
{{!}}Height = 120px
|Width = 130px
+
{{!}}Width = 130px
|Colour = {{{Colour|}}}  
+
{{!}}Colour = {{{Colour|}}}  
|CategoryImage1 = {{#ifeq: {{{Category1|}}} | {{PAGENAME}} | | {{{CategoryImage1|}}} }}
+
{{!}}CategoryImage1 = {{#ifeq: {{{Category1|}}} {{!}} {{PAGENAME}} {{!}} {{!}} {{{CategoryImage1|}}} }}
|Category1 = {{#ifeq: {{{Category1|}}} | {{PAGENAME}} | | {{{Category1|}}} }}  
+
{{!}}Category1 = {{#ifeq: {{{Category1|}}} {{!}} {{PAGENAME}} {{!}} {{!}} {{{Category1|}}} }}  
|Image1 = {{{Image1|}}}|Link1 = {{{Link1|}}}|Caption1 = {{{Caption1|}}}
+
{{!}}Image1 = {{{Image1|}}} {{!}} Link1 = {{{Link1|}}} {{!}} Caption1 = {{{Caption1|}}}
|Image2 = {{{Image2|}}}|Link2 = {{{Link2|}}}|Caption2 = {{{Caption2|}}}
+
{{!}}Image2 = {{{Image2|}}} {{!}} Link2 = {{{Link2|}}} {{!}} Caption2 = {{{Caption2|}}}
|Image3 = {{{Image3|}}}|Link3 = {{{Link3|}}}|Caption3 = {{{Caption3|}}}
+
{{!}}Image3 = {{{Image3|}}} {{!}} Link3 = {{{Link3|}}} {{!}} Caption3 = {{{Caption3|}}}
|Image4 = {{{Image4|}}}|Link4 = {{{Link4|}}}|Caption4 = {{{Caption4|}}}
+
{{!}}Image4 = {{{Image4|}}} {{!}} Link4 = {{{Link4|}}} {{!}} Caption4 = {{{Caption4|}}}
|Image5 = {{{Image5|}}}|Link5 = {{{Link5|}}}|Caption5 = {{{Caption5|}}}
+
{{!}}Image5 = {{{Image5|}}} {{!}} Link5 = {{{Link5|}}} {{!}} Caption5 = {{{Caption5|}}}
|Image6 = {{{Image6|}}}|Link6 = {{{Link6|}}}|Caption6 = {{{Caption6|}}}
+
{{!}}Image6 = {{{Image6|}}} {{!}} Link6 = {{{Link6|}}} {{!}} Caption6 = {{{Caption6|}}}
|Image7 = {{{Image7|}}}|Link7 = {{{Link7|}}}|Caption7 = {{{Caption7|}}}
+
{{!}}Image7 = {{{Image7|}}} {{!}} Link7 = {{{Link7|}}} {{!}} Caption7 = {{{Caption7|}}}
|Image8 = {{{Image8|}}}|Link8 = {{{Link8|}}}|Caption8 = {{{Caption8|}}}
+
{{!}}Image8 = {{{Image8|}}} {{!}} Link8 = {{{Link8|}}} {{!}} Caption8 = {{{Caption8|}}}
|Image9 = {{{Image9|}}}|Link9 = {{{Link9|}}}|Caption9 = {{{Caption9|}}}
+
{{!}}Image9 = {{{Image9|}}} {{!}} Link9 = {{{Link9|}}} {{!}} Caption9 = {{{Caption9|}}}
|Image10 = {{{Image10|}}}|Link10 = {{{Link10|}}}|Caption10 = {{{Caption10|}}}
+
{{!}}Image10 = {{{Image10|}}} {{!}} Link10 = {{{Link10|}}} {{!}} Caption10 = {{{Caption10|}}}
|Image11 = {{{Image11|}}}|Link11 = {{{Link11|}}}|Caption11 = {{{Caption11|}}}
+
{{!}}Image11 = {{{Image11|}}} {{!}} Link11 = {{{Link11|}}} {{!}} Caption11 = {{{Caption11|}}}
|Image12 = {{{Image12|}}}|Link12 = {{{Link12|}}}|Caption12 = {{{Caption12|}}}
+
{{!}}Image12 = {{{Image12|}}} {{!}} Link12 = {{{Link12|}}} {{!}} Caption12 = {{{Caption12|}}}
|Image13 = {{{Image13|}}}|Link13 = {{{Link13|}}}|Caption13 = {{{Caption13|}}}
+
{{!}}Image13 = {{{Image13|}}} {{!}} Link13 = {{{Link13|}}} {{!}} Caption13 = {{{Caption13|}}}
|Image14 = {{{Image14|}}}|Link14 = {{{Link14|}}}|Caption14 = {{{Caption14|}}}
+
{{!}}Image14 = {{{Image14|}}} {{!}} Link14 = {{{Link14|}}} {{!}} Caption14 = {{{Caption14|}}}
|Image15 = {{{Image15|}}}|Link15 = {{{Link15|}}}|Caption15 = {{{Caption15|}}}
+
{{!}}Image15 = {{{Image15|}}} {{!}} Link15 = {{{Link15|}}} {{!}} Caption15 = {{{Caption15|}}}
 
}} }}</div><!-- Desktop View --><div id="mf-HideOnMobile">{{Gallery-Tiles
 
}} }}</div><!-- Desktop View --><div id="mf-HideOnMobile">{{Gallery-Tiles
 
|Title = {{{Title|}}}
 
|Title = {{{Title|}}}

Revision as of 18:18, 22 February 2017

{{#ifeq: | Gallery | {{Gallery-Tiles

|Title = |Height = 120px |Width = 130px |Colour = |CategoryImage1 = |Category1 = | {{Gallery-Tiles |Title = |Height = 120px |Width = 130px |Colour = |CategoryImage1 = |Category1 = |Image1 = | Link1 = | Caption1 = |Image2 = | Link2 = | Caption2 = |Image3 = | Link3 = | Caption3 = |Image4 = | Link4 = | Caption4 = |Image5 = | Link5 = | Caption5 = |Image6 = | Link6 = | Caption6 = |Image7 = | Link7 = | Caption7 = |Image8 = | Link8 = | Caption8 = |Image9 = | Link9 = | Caption9 = |Image10 = | Link10 = | Caption10 = |Image11 = | Link11 = | Caption11 = |Image12 = | Link12 = | Caption12 = |Image13 = | Link13 = | Caption13 = |Image14 = | Link14 = | Caption14 = |Image15 = | Link15 = | Caption15 =

}} }}