Template:Nav Tile: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
LVL (talk | contribs)
Made tiles clickable (for real now)
Tag: Manual revert
No edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>
<div class="navtile-container"><!--
<div style="display: flex; flex-direction: column; gap: 2px; position: relative;">
-->{{#if:{{{image|}}}|<div class="navtile-upper">[[File:{{{image|}}}|link=]]</div>|}}<!--
  <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="navtile-lower" style="text-wrap:nowrap"><!--
[[{{{1}}}|{{{size|140px}}}|center|link=|alt={{{1}}}]]
--><div class="navtile-lower-header">[[{{{page|}}}|{{{text|}}}]]</div><!--
  </div>
--></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;">
<templatestyles src="Template:Nav Tile/styles.css"/>
[[{{{3|{{{2}}}}}}|<span style="font-weight:bold; text-shadow: 0px 2px 2px black, 0px 0px 2px black;">{{{2}}}</span>]]
  </div>
</div>
</includeonly>
<noinclude>
  {{Nav Tile|Image:Hero_Nav.png|Heroes}}
</noinclude>

Latest revision as of 20:01, 20 July 2026