Template:IM: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
m (Taylan moved page Template:ImageLink to Template:IM over a redirect without leaving a redirect)
 
(10 intermediate revisions by 2 users not shown)
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; height: {{{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; height: 125px; border-radius: 5px;">[[Image:{{{1}}}|{{{4}}}px|{{{2}}}|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.png|Origins|Origins|100|100}}</nowiki>
<center>
{{IM|Frenzy Icon.png|Origins|Origins|100|100}}
{{IM|Defensive Duellist Icon.png|Character Creation#Backgrounds|Backgrounds|100|100}}
{{IM|Disguise Self Drow F Icon.png|Character Creation#Playable Races|Races|100|100}}
{{IM|Druid Class Icon.png|Character Creation#Playable Classes|Classes|100|100}}
{{IM|Athlete Icon.png|Character Creation#Skills|Skills|100|100}}
{{IM|Wisdom Ability Icon.png|Character Creation#Ability Scores|Ability Scores|100|100}}</center>
</noinclude>
</noinclude>

Latest revision as of 20:27, 21 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.png|Origins|Origins|100|100}}