Template:IM: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="imagebox frontbuttons" align="center" style="border-style:solid; border-width: 0px; border-radius:0px; padding: 0px; margin: 0px; width: {{{3}}}px; display:inline-block;">
<includeonly><div class="imagebox frontbuttons" align="center" style="background-color:rgba(57, 50, 35, 0.3); border-style:solid; border-width: 0px; border-radius:0px; padding: 0px; margin: 0px; width: {{{3}}}px; display:inline-block;">
<div class="imageboxb" style="position: relative; height: {{{5}}}px; width: {{{4}}}px; overflow: hidden;">
<div class="imageboxb" style="position: relative; height: {{{5}}}px; width: {{{4}}}px; overflow: hidden;">
<div class="imgtile" style="position: absolute; top: 0px; left: 0px; z-index: 2; border-radius: 5px;">[[Image:{{{1}}}|{{{4}}}px|{{{3}}}|link={{{2}}}]]</div>
<div class="imgtile" style="position: absolute; top: 0px; left: 0px; z-index: 2; border-radius: 5px;">[[Image:{{{1}}}|{{{4}}}px|{{{3}}}|link={{{2}}}]]</div>

Revision as of 12:02, 9 July 2023


This template allows you to add images on top of links. Use:

{{IM|Image.png|PageName|Display Name|Width|Height}}

{{IM|Frenzy Icon 2.png|Origins|Origins|100|100}}