Difference between revisions of "Template:HomepageTile"

From Tycoon Gaming
m
 
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
<div class="HomeTile job-item" data-jobname="{{{text|Airline Pilot}}}" style="width: {{{size|173px}}} !important; height:{{{size|173px}}}; !important">
+
<div class="HomeTile job-item" data-jobname="{{{text|Airline Pilot}}} {{{tags|}}}" style="width: {{{size|173px}}} !important; height:{{{size|173px}}}; !important">
 
<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|{{{size|173px}}}}}}|{{{text|Airline Pilot}}}|{{{size|173px}}}|link={{{link|Airline Pilot}}}]]</div>
 
<div class="HomeTileimage2">[[File:{{{img2|aircraft.png|{{{size|173px}}}}}}|{{{text|Airline Pilot}}}|{{{size|173px}}}|link={{{link|Airline Pilot}}}]]</div>
Line 17: Line 17:
 
|type = overlap img1 with img2 (optional)
 
|type = overlap img1 with img2 (optional)
 
|size = 173px (optional)
 
|size = 173px (optional)
 +
|tags = empty (optional)
 
}}
 
}}
  

Latest revision as of 20:34, 11 November 2023


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)
|size = 173px (optional)
|tags = empty (optional)
}}

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