Template:ImageLink: Difference between revisions

Jump to navigation Jump to search
(Created page with "<includeonly><div style="display: inline-block;"> <div style="display: flex; justify-content: center; align-items: center; width: {{{w|100}}}px; height: {{{h|100}}}px;" >[[File:{{{1}}}|{{{w|100}}}x{{{h|100}}}px|{{{3|{{{2}}}}}}|link={{{2}}}]]</div> <div style="width: {{{w|100}}}px; text-align: center; overflow: hidden;" >[[{{{3|{{{2}}}}}}|{{{3|{{{2}}}}}}]]</div> </div></includeonly><noinclude> This template allows you to add images on top of links. The element will be an...")
 
No edit summary
Line 3: Line 3:
>[[File:{{{1}}}|{{{w|100}}}x{{{h|100}}}px|{{{3|{{{2}}}}}}|link={{{2}}}]]</div>
>[[File:{{{1}}}|{{{w|100}}}x{{{h|100}}}px|{{{3|{{{2}}}}}}|link={{{2}}}]]</div>
<div style="width: {{{w|100}}}px; text-align: center; overflow: hidden;"
<div style="width: {{{w|100}}}px; text-align: center; overflow: hidden;"
>[[{{{3|{{{2}}}}}}|{{{3|{{{2}}}}}}]]</div>
>[[{{{2}}}|{{{3|{{{2}}}}}}]]</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
This template allows you to add images on top of links.
This template allows you to add images on top of links.
Line 23: Line 23:
----
----


Limiting width only:
Limiting width only; note this may cause the text to clip as seen here:


  <nowiki>{{ImageLink|Frenzy Icon.png|Origins|w=50}}</nowiki>
  <nowiki>{{ImageLink|Frenzy Icon.png|Origins|w=50}}</nowiki>