Difference between revisions of "Template:Gallery"

From The Viking Age Compendium
Jump to: navigation, search
m
m
Line 4: Line 4:
 
|Width = 130px
 
|Width = 130px
 
|Colour = {{{Colour|}}}  
 
|Colour = {{{Colour|}}}  
|CategoryImage1 = {{{CategoryImage1|}}}|Category1 = {{{Category1|}}}
+
{{#ifeq: {{{Category1|}}} | {{PAGENAME}} |CategoryImage1 = {{{CategoryImage1|}}}{{!}}Category1 = {{{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|}}}
Line 22: Line 22:
 
|Width = {{{Width|}}}
 
|Width = {{{Width|}}}
 
|Colour = {{{Colour|}}}  
 
|Colour = {{{Colour|}}}  
|CategoryImage1 = {{{CategoryImage1|}}}|Category1 = {{{Category1|}}}
+
{{#ifeq: {{{Category1|}}} | {{PAGENAME}} |CategoryImage1 = {{{CategoryImage1|}}}{{!}}Category1 = {{{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|}}}

Revision as of 11:01, 18 December 2016