Difference between revisions of "Template:HomepageTile"

From Tycoon Gaming
Line 2: Line 2:
 
<div class="HomeTile">
 
<div class="HomeTile">
 
<div class="HomeTileimage{{#if:{{{type|}}}|-overlap}}">[[File:{{{img1|aircraft.png|120px}}}|{{{text|Airline Pilot}}}|120px|link={{{link|Airline Pilot}}}]]</div>
 
<div class="HomeTileimage{{#if:{{{type|}}}|-overlap}}">[[File:{{{img1|aircraft.png|120px}}}|{{{text|Airline Pilot}}}|120px|link={{{link|Airline Pilot}}}]]</div>
<div class="HomeTileimage2">[[File:{{{img2|aircraft.png|175px}}}|{{{text|Airline Pilot}}}|175px|link={{{link|Airline Pilot}}}]]</div>
+
<div class="HomeTileimage2">[[File:{{{img2|aircraft.png|173px}}}|{{{text|Airline Pilot}}}|173px|link={{{link|Airline Pilot}}}]]</div>
 
<div class="HomeTilelink">[[{{{link|Airline Pilot}}}|{{{text|Airline Pilot}}}]]</div>
 
<div class="HomeTilelink">[[{{{link|Airline Pilot}}}|{{{text|Airline Pilot}}}]]</div>
 
</div>
 
</div>

Revision as of 19:33, 22 September 2019


Template for {{Mainpage Box Content}}. Switch between two different image when mouse-over.

{{HomepageTile
|img1 = imagename
|img2 = imagename
|text = text to display
|link = actual link
|type = overlap img1 with img2 (optional)
}}

{{HomepageTile|img1 = imagename|img2 = imagename|text = text to display|link = actual link}}