Difference between revisions of "Template:Gallery-Tiles"
From The Viking Age Compendium
m |
m |
||
Line 1: | Line 1: | ||
− | <div> | + | <div>{{#if: {{{Title|}}} |'''''{{{Title|}}}'''''|}}<div> |
− | {{#if: {{{Title|}}} | | + | |
− | <div> | + | |
− | <div class="gBox" style="{{#if: {{{Colour|}}} |background-color:#ccc; border:1px solid #ccc;}}float:left; margin:0px 6px 5px 0px; width:{{{Width|120px}}}; height:{{{Height|120px}}};"> | + | {{#if: {{{Image1|}}} |<div class="gBox" style="{{#if: {{{Colour|}}} |background-color:#ccc; border:1px solid #ccc;}}float:left; margin:0px 6px 5px 0px; width:{{{Width|120px}}}; height:{{{Height|120px}}};"> |
<div class="gBoxImg" style="width: 100%;">[[File:{{{Image1|}}}|frameless|none|{{{Width|120px}}}|link={{{Link1|}}}]]</div> | <div class="gBoxImg" style="width: 100%;">[[File:{{{Image1|}}}|frameless|none|{{{Width|120px}}}|link={{{Link1|}}}]]</div> | ||
− | <div class="gBoxText" style="text-align: center;">[[{{{Link1|}}}|{{{Caption1|}}}]]</div></div> | + | <div class="gBoxText" style="text-align: center;">[[{{{Link1|}}}|{{{Caption1|}}}]]</div></div>|}} |
− | <div class="gBox" style="{{#if: {{{Colour|}}} |background-color:#ccc; border:1px solid #ccc;}}float:left; margin:0px 6px 5px 0px; width:{{{Width|120px}}}; height:{{{Height|120px}}};"> | + | {{#if: {{{Image2|}}} |<div class="gBox" style="{{#if: {{{Colour|}}} |background-color:#ccc; border:1px solid #ccc;}}float:left; margin:0px 6px 5px 0px; width:{{{Width|120px}}}; height:{{{Height|120px}}};"> |
<div class="gBoxImg" style="width: 100%;">[[File:{{{Image2|}}}|frameless|none|{{{Width|120px}}}|link={{{Link2|}}}]]</div> | <div class="gBoxImg" style="width: 100%;">[[File:{{{Image2|}}}|frameless|none|{{{Width|120px}}}|link={{{Link2|}}}]]</div> | ||
− | <div class="gBoxText" style="text-align: center;">[[{{{Link2|}}}|{{{Caption2|}}}]]</div></div> | + | <div class="gBoxText" style="text-align: center;">[[{{{Link2|}}}|{{{Caption2|}}}]]</div></div>|}} |
Revision as of 10:42, 9 December 2016