Template:Image link
(Redirected from Template:ImageLink)
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:
| Markup | Renders as |
|---|---|
{{image link | Frenzy Icon.png | Origins}} | |
{{image link | Defensive Duellist Icon.png | Character Creation#Backgrounds | Backgrounds }} | |
{{image link | Passive Feature Generic Icon.png | Feats | Just a test with very very long text }} |
Limiting width only; note this may cause the text to break in the middle of a word:
| Markup | Renders as |
|---|---|
{{image link | Frenzy Icon.png | Origins | w = 50 }} | |
{{image link | Defensive Duellist Icon.png | Character Creation#Backgrounds | Backgrounds | w = 50 }} |
Limiting height only:
| Markup | Renders as |
|---|---|
{{image link | Frenzy Icon.png | Origins | h = 50 }} | |
{{image link | Defensive Duellist Icon.png | Character Creation#Backgrounds | Backgrounds | h = 50 }} |
Limiting width and height:
| Markup | Renders as |
|---|---|
{{image link | Frenzy Icon.png | Origins | w = 50 | h = 50 }} | |
{{image link | Defensive Duellist Icon.png | Character Creation#Backgrounds | Backgrounds | w = 50 | h = 50 }} |
You might have noticed the text is often too wide for the icon... You can specify a font size:
| Markup | Renders as |
|---|---|
{{image link | Frenzy Icon.png | Origins | w = 80 | h = 80 | font size = 80% }} | |
{{image link | Defensive Duellist Icon.png | Character Creation#Backgrounds | Backgrounds | w = 80 | h = 80 | font size = 80% }} |