Difference between revisions of "Template:Nav-Tiles"

From Regiapædia
Jump to: navigation, search
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}}};">
+
<div style="max-width:100%; overflow: hidden;">{{#if: {{{CategoryImage1|}}} |
  <div id="gBoxImg" style="width: 100%;">[[File:{{{CategoryImage1|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Category1|}}} |{{!}}link={{{Category1}}}|}}]]</div>
+
{{Nav Tile|Caption={{{GroupCaption1|}}}|Image={{{CategoryImage1}}}|Link={{{Category1}}}|Width=:{{{Width|130px}}}|Height={{{Height|120px}}}|Colour=PaleGoldenrod}}|
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Category1|}}} |[[{{{Category1|}}}{{!}}{{{Category1|}}}]]|{{{Category1|}}}}}</div></div>|}}{{#if: {{{GroupImage1|}}} |<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="gBoxImg" style="width: 100%;">[[File:{{{GroupImage1|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{GroupLink1|}}} |{{!}}link={{{GroupLink1}}}|}}]]</div>
+
{{Nav Tile|Caption={{{Caption1|}}}|Image={{{Image1}}}|Link={{{Link1}}}|Width=:{{{Width|130px}}}|Height={{{Height|120px}}}|Colour={{{Colour|}}}}}|
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{GroupLink1|}}} |[[{{{GroupLink1|}}}{{!}}{{{GroupCaption1|}}}]]|{{{GroupCaption1|}}}}}</div>
+
}}{{#if: {{{Image2|}}} |
</div>|}}{{#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}}};">
+
{{Nav Tile|Caption={{{Caption2|}}}|Image={{{Image2}}}|Link={{{Link2}}}|Width=:{{{Width|130px}}}|Height={{{Height|120px}}}|Colour={{{Colour|}}}}}|
  <div id="gBoxImg" style="width: 100%;">[[File:{{{Image1|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link1|}}} |{{!}}link={{{Link1}}}|}}]]</div>
+
}}{{#if: {{{Image3|}}} |
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link1|}}} |[[{{{Link1|}}}{{!}}{{{Caption1|}}}]]|{{{Caption1|}}}}}</div>
+
{{Nav Tile|Caption={{{Caption3|}}}|Image={{{Image3}}}|Link={{{Link3}}}|Width=:{{{Width|130px}}}|Height={{{Height|120px}}}|Colour={{{Colour|}}}}}|
</div>|}}{{#if: {{{Image2|}}} |<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: {{{Image4|}}} |
  <div id="gBoxImg" style="width: 100%;">[[File:{{{Image2|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link2|}}} |{{!}}link={{{Link2}}}|}}]]</div>
+
{{Nav Tile|Caption={{{Caption4|}}}|Image={{{Image4}}}|Link={{{Link4}}}|Width=:{{{Width|130px}}}|Height={{{Height|120px}}}|Colour={{{Colour|}}}}}|
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link2|}}} |[[{{{Link2|}}}{{!}}{{{Caption2|}}}]]|{{{Caption2|}}}}}</div>
+
}}{{#if: {{{Image5|}}} |
</div>|}}{{#if: {{{Image3|}}} |<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}}};">
+
{{Nav Tile|Caption={{{Caption5|}}}|Image={{{Image5}}}|Link={{{Link5}}}|Width=:{{{Width|130px}}}|Height={{{Height|120px}}}|Colour={{{Colour|}}}}}|
  <div id="gBoxImg" style="width: 100%;">[[File:{{{Image3|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link3|}}} |{{!}}link={{{Link3}}}|}}]]</div>
+
}}{{#if: {{{Image6|}}} |
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link3|}}} |[[{{{Link3|}}}{{!}}{{{Caption3|}}}]]|{{{Caption3|}}}}}</div>
+
{{Nav Tile|Caption={{{Caption6|}}}|Image={{{Image6}}}|Link={{{Link6}}}|Width=:{{{Width|130px}}}|Height={{{Height|120px}}}|Colour={{{Colour|}}}}}|
</div>|}}{{#if: {{{Image4|}}} |<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: {{{Image7|}}} |
  <div id="gBoxImg" style="width: 100%;">[[File:{{{Image4|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link4|}}} |{{!}}link={{{Link4}}}|}}]]</div>
+
{{Nav Tile|Caption={{{Caption7|}}}|Image={{{Image7}}}|Link={{{Link7}}}|Width=:{{{Width|130px}}}|Height={{{Height|120px}}}|Colour={{{Colour|}}}}}|
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link4|}}} |[[{{{Link4|}}}{{!}}{{{Caption4|}}}]]|{{{Caption4|}}}}}</div>
+
}}</div>
</div>|}}{{#if: {{{Image5|}}} |<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:{{{Image5|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link5|}}} |{{!}}link={{{Link5}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link5|}}} |[[{{{Link5|}}}{{!}}{{{Caption5|}}}]]|{{{Caption5|}}}}}</div>
 
</div>|}}{{#if: {{{Image6|}}} |<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:{{{Image6|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link6|}}} |{{!}}link={{{Link6}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link6|}}} |[[{{{Link6|}}}{{!}}{{{Caption6|}}}]]|{{{Caption6|}}}}}</div>
 
</div>|}}{{#if: {{{Image7|}}} |<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:{{{Image7|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link7|}}} |{{!}}link={{{Link7}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link7|}}} |[[{{{Link7|}}}{{!}}{{{Caption7|}}}]]|{{{Caption7|}}}}}</div>
 
</div>|}}{{#if: {{{Image8|}}} |<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:{{{Image8|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link8|}}} |{{!}}link={{{Link8}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link8|}}} |[[{{{Link8|}}}{{!}}{{{Caption8|}}}]]|{{{Caption8|}}}}}</div>
 
</div>|}}{{#if: {{{Image9|}}} |<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:{{{Image9|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link9|}}} |{{!}}link={{{Link9}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link9|}}} |[[{{{Link9|}}}{{!}}{{{Caption9|}}}]]|{{{Caption9|}}}}}</div>
 
</div>|}}{{#if: {{{Image10|}}} |<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:{{{Image10|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link10|}}} |{{!}}link={{{Link10}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link10|}}} |[[{{{Link10|}}}{{!}}{{{Caption10|}}}]]|{{{Caption10|}}}}}</div>
 
</div>|}}{{#if: {{{Image11|}}} |<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:{{{Image11|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link11|}}} |{{!}}link={{{Link11}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link11|}}} |[[{{{Link11|}}}{{!}}{{{Caption11|}}}]]|{{{Caption11|}}}}}</div>
 
</div>|}}{{#if: {{{Image12|}}} |<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:{{{Image12|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link12|}}} |{{!}}link={{{Link12}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link12|}}} |[[{{{Link12|}}}{{!}}{{{Caption12|}}}]]|{{{Caption12|}}}}}</div>
 
</div>|}}{{#if: {{{Image13|}}} |<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:{{{Image13|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link13|}}} |{{!}}link={{{Link13}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link13|}}} |[[{{{Link13|}}}{{!}}{{{Caption13|}}}]]|{{{Caption13|}}}}}</div>
 
</div>|}}{{#if: {{{Image14|}}} |<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:{{{Image14|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link14|}}} |{{!}}link={{{Link14}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link14|}}} |[[{{{Link14|}}}{{!}}{{{Caption14|}}}]]|{{{Caption14|}}}}}</div>
 
</div>|}}{{#if: {{{Image15|}}} |<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:{{{Image15|}}}|frameless|none|{{{Width|120px}}}{{#if: {{{Link15|}}} |{{!}}link={{{Link15}}}|}}]]</div>
 
  <div id="gBoxText" style="text-align: left; padding:0px 5px;">{{#if: {{{Link15|}}} |[[{{{Link15|}}}{{!}}{{{Caption15|}}}]]|{{{Caption15|}}}}}</div>
 
</div>|}}</div>
 

Revision as of 09:47, 23 June 2017

{#if: |

Template:Nav Tile|

}}