Template:Icon
Jump to navigation
Jump to search
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Icon/doc to edit this documentation. (How does this work?) |
- Description
- Simplifies adding a small image to a page with the specified parameters.
- Name of image file required.
- Assumes .png image format and defaults to 25x25px with no border or link and description (tooltip) the same as image name.
- Parameters
Parameter | Description | Default | Required |
---|---|---|---|
<<1>> | Name of image | .png extension added | Y |
<<2>> | Size code for image (S=25px, M=50px, L=75px, XL=100px) | S | N |
border | Border setting for image references (border, frameless, thumb) | frameless | N |
class | Class information for image HTML tag | -none- | N |
desc | Description (tool tip or caption depending on border setting) | value of <<1>> parameter | N |
halign | Horizontal alignment setting for image references (center, left, right, none) | -none- | N |
image | Full image file name (including extension) | -none- | N |
link | Link for image | -none- | N |
size | Size of image | -none- | N |
valign | Vertical alignment setting for image references (baseline, sub, super, top, text-top, middle, bottom, text-bottom) | -none- | N |
- Syntax
{{Icon|Coin}} {{Icon|Coin|M}} {{Icon|Coin|L}} {{Icon|Food|size=40px|link=Resources|halign=center|border=thumb}} {{Icon|image=Research.png|desc=Research Points}}
- Sample Outputs