Difference between revisions of "Template:Gallery-Tiles"

From The Viking Age Compendium
Jump to: navigation, search
m
m
Line 1: Line 1:
{{#if: {{{Title|}}} |'''''{{{Title|}}}'''''|}}<div style="max-width:100%; overflow: hidden;">{{#if: {{{CategoryImage1|}}} |<div id="gBox" style="background-color: PaleGoldenrod; border:1px solid PaleGoldenrod;float:left; margin:0px 6px 5px 0px; width:{{{Width|130px}}}; height:{{{Height|120px}}};">
+
{{#if: {{{Title|}}} |'''''{{{Title|}}}'''''|}}<div style="max-width:100%; overflow: hidden;">{{#if: {{{CategoryImage1|}}} |<div id="gBox" style="background-color: PaleGoldenrod; border:1px solid PaleGoldenrod; float:left; margin:0px 6px 5px 0px; width:{{{Width|130px}}}; height:{{{Height|120px}}};">
 
   <div id="gBoxImg" style="width: 100%;">[[File:{{{CategoryImage1|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Category1|}}} |{{!}}link={{{Category1}}}|}}]]</div>
 
   <div id="gBoxImg" style="width: 100%;">[[File:{{{CategoryImage1|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Category1|}}} |{{!}}link={{{Category1}}}|}}]]</div>
 
   <div id="gBoxText" style="text-align: left;">{{#if: {{{Category1|}}} |[[{{{Category1|}}}{{!}}{{{Category1|}}}]]|{{{Category1|}}}}}</div>
 
   <div id="gBoxText" style="text-align: left;">{{#if: {{{Category1|}}} |[[{{{Category1|}}}{{!}}{{{Category1|}}}]]|{{{Category1|}}}}}</div>

Revision as of 10:50, 18 December 2016