Template:Image

From The Reed and Rite
Revision as of 19:32, 13 March 2025 by TheRoman (talk | contribs)

Image Usage Examples

Usage Examples
Parameter Description Code Example
None Only the file name is passed.
{{Image|Pen.png}}
Caption File name and caption are passed.
{{Image|Pen.png|This is a caption}}
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
side=left Pushes the image over to the left, allowing text to flow around it.
{{Image|Pen.png|This is a caption|side=left}}
This is a caption
side=right Pushes the image over to the right, allowing text to flow around it.
{{Image|Pen.png|This is a caption|side=right}}
This is a caption
height=200px 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=200px}}
This is a caption
width=200px 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}}
This is a caption
Note: The height parameter overrides the width parameter. To specify both width and height, pass width=WxHpx where W is the width and H is the height.
link=URL (Internal) Makes the image clickable, linking it to a specific URL.
{{Image|Pen.png|Click here for more details|link=Emma M. Lion}}
Click here for more details
link=URL (External) Makes the image clickable, linking it to a specific URL.
{{Image|Pen.png|Click here for more details|link=https://www.bethbrower.com}}
Click here for more details
Notes
The height parameter overrides the width parameter. To specify both width and height, pass width=WxHpx where W is the width and H is the height.