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="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; 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; width: {{{4}}}px; 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>
</div>[[{{{2}}}|{{{3}}}]]</div></includeonly>
</div>[[{{{2}}}|{{{3}}}]]</div></includeonly>
<noinclude>
<noinclude>
This template allows you to add images on top of links. Use:
This template allows you to add images on top of links. Use:


<nowiki>{{IM|Image.png|PageName|Display Name|64}}</nowiki>
<nowiki>{{IM|Image.png|PageName|Display Name|Width|Height}}</nowiki>
 
<nowiki>{{IM|Frenzy Icon 2.png|Origins|Origins|100|100}}</nowiki>
 
{{IM|Frenzy Icon 2.png|Origins|Origins|100|100}}
{{IM|Draconic Bloodline Subclass Icon.png|Character Creation#Backgrounds|Backgrounds|110|110}}
{{IM|Disguise Self Drow F Icon.png|Character Creation#Playable Races|Playable Races|100|100}}
{{IM|Barbarian Class 300px 3.png|Character Creation#Playable Classes|Playable Classes|100|100}}
{{IM|Proficiency.png|Character Creation#Skills|Skills|80|80}}
{{IM|Wisdom Ability Icon.png|Character Creation#Ability Scores|Ability Scores|100|100}}
</noinclude>
</noinclude>

Revision as of 11:04, 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}}