Template:ImageLink

Template page
Revision as of 03:03, 29 July 2023 by Majesstic (talk | contribs) (attempt a layout fix for an issue some people are having)

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

The element will be an inline block, meaning several can appear in one line. You can give them all a specific width and height to get a nice consistent layout.


Standard width/height is 100:

{{ImageLink|Frenzy Icon.png|Origins}}
{{ImageLink|Defensive Duellist Icon.png|Character Creation#Backgrounds|Backgrounds}}
{{ImageLink|Passive Feature Generic Icon.png|Feats|Just a test with very very long text}}

Result:


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

{{ImageLink|Frenzy Icon.png|Origins|w=50}}
{{ImageLink|Defensive Duellist Icon.png|Character Creation#Backgrounds|Backgrounds|w=50}}

Result:


Limiting height only:

{{ImageLink|Frenzy Icon.png|Origins|h=50}}
{{ImageLink|Defensive Duellist Icon.png|Character Creation#Backgrounds|Backgrounds|h=50}}

Result:


Limiting width and height:

{{ImageLink|Frenzy Icon.png|Origins|w=50|h=50}}
{{ImageLink|Defensive Duellist Icon.png|Character Creation#Backgrounds|Backgrounds|w=50|h=50}}

Result: