Difference between revisions of "Template:HomepageTile"
From Tycoon Gaming
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
<div class="HomeTile"> | <div class="HomeTile"> | ||
− | <div class="HomeTileimage{{#if:{{{type|}}}|-overlap}}">[[File:{{{img1|aircraft.png}}}|{{{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}}}|{{{text|Airline Pilot}}}|175px|link={{{link|Airline Pilot}}}]]</div> | + | <div class="HomeTileimage2">[[File:{{{img2|aircraft.png|175px}}}|{{{text|Airline Pilot}}}|175px|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 15:38, 21 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}}