Difference between revisions of "Template:Gallery-Tiles"

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

Revision as of 13:56, 9 December 2016