Template:Nav Tile: Difference between revisions

No edit summary
LVL (talk | contribs)
Made whole tiles clickable
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display: flex; flex-direction: column; gap: 2px;">
<a href="{{fullurl:{{{3|{{{2}}}}}}}}" style="display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit;">
   <div class="nav-bg" style="flex: 1; min-height: 0; padding: 5px 0px 0px; border-top-left-radius: 8px; border-top-right-radius: 8px; display: flex; align-items: center; justify-content: center;">
   <div class="nav-bg" style="flex: 1; min-height: 0; padding: 5px 0px 0px; border-top-left-radius: 8px; border-top-right-radius: 8px; display: flex; align-items: center; justify-content: center;">
[[{{{1}}}|{{{size|140px}}}|center|link={{{3|{{{2}}}}}}|alt={{{1}}}]]
[[{{{1}}}|{{{size|140px}}}|center|link=|alt={{{1}}}]]
   </div>
   </div>
   <div class="nav-bg" style="flex-shrink: 0; text-align: center; font-size: 140%; font-weight: bold; font-family: 'Retail Demo', 'Open Sans', 'Copperplate Gothic', Constantia, 'PT Serif', 'Palatino', 'Georgia', serif; border-bottom-left-radius:8px; border-bottom-right-radius:8px;">
   <div class="nav-bg" style="flex-shrink: 0; text-align: center; font-size: 140%; font-weight: bold; font-family: 'Retail Demo', 'Open Sans', 'Copperplate Gothic', Constantia, 'PT Serif', 'Palatino', 'Georgia', serif; border-bottom-left-radius:8px; border-bottom-right-radius:8px;">
[[{{{3|{{{2}}}}}}|<span style="font-weight:bold; text-shadow: 0px 2px 2px black, 0px 0px 2px black;">{{{2}}}</span>]]
<span style="font-weight:bold; text-shadow: 0px 2px 2px black, 0px 0px 2px black;">{{{2}}}</span>
   </div>
   </div>
</div></includeonly>
</a>
</includeonly>
<noinclude>
<noinclude>
   {{Nav Tile|Image:Hero_Nav.png|Heroes}}
   {{Nav Tile|Image:Hero_Nav.png|Heroes}}
</noinclude>
</noinclude>