Template:Image
Description
This template is used to include a thumbnail image on a page.
Usage
The filename parameter is required. The caption is optional, but is strongly encouraged. See the table below for all other optional parameters.
{{image
|FILENAME.EXTENSION
|caption
|artist=Artist Name
}}
- Note: The copy-paste example above is split over multiple lines for the sake of clarity.
| Parameter | Description | Code | Output |
|---|---|---|---|
| Common Parameters | |||
| None | Only the file name is passed. | {{Image|Pen.png}} |
|
| Caption | File name and caption are passed. | {{Image|Pen.png|This is a caption}} |
|
artist= |
Specifies the artist's name for the image. | {{Image|Pen.png|This is a caption|artist=Declan Lion}} |
by Declan Lion This is a caption |
| Alignment Parameters | |||
align=left |
Pushes the image over to the left, allowing text to flow around it. | {{Image|Pen.png|This is a caption|align=left}} |
|
align=right |
Pushes the image over to the right, allowing text to flow around it. | {{Image|Pen.png|This is a caption|align=right}} |
|
| Resizing Parameters | |||
height= |
Sets the height of the image. If set, the width will adjust automatically to maintain aspect ratio. | {{Image|Pen.png|This is a caption|height=150px}} |
|
width= |
Sets the width of the image. If set, the height will adjust automatically to maintain aspect ratio. | {{Image|Pen.png|This is a caption|width=200px}} |
|
| Link Parameters | |||
link= (Internal) |
Makes the image clickable, linking it to a specific internal URL. | {{Image|Pen.png|Click here for more details on [[Emma M. Lion]]|link=Emma M. Lion}} |
|
link= (External) |
Makes the image clickable, linking it to a specific external URL. | {{Image|Pen.png|Click here for more details on [https://www.bethbrower.com Beth Brower]|link=https://www.bethbrower.com}} |
|


