Summary
This template provides a standardized stamina icon that can be used to ensure that the icons used are the same across the site.
ParametersEdit
Parameter | Scope | Description |
---|---|---|
before | optional | Text to place before the icon. A non-breaking space will be included between the text and the icon. |
The name of the icon without the File: in front of it. |
||
size | optional | The size of the icon to display. This should be left at the default size in most cases. (Default: 22px) |
class | optional | The class to use for the image. This can be used to alter how the image is displayed, for example between mobile and desktop displays. |
link | optional | Page to link to if the image is clicked on. (Default: the File page for the icon) |
caption | optional | Hover text to display when the image is hovered over. |
after | optional | Text to display after the icon. A non-breaking space will be included between the text and the icon. |