Template:Image: Difference between revisions
m Cleaning up content of some cells of the table. |
mNo edit summary |
||
| Line 6: | Line 6: | ||
LINK: -->{{#if:{{{link|}}}|{{!}}link={{{link}}}}}<!-- | LINK: -->{{#if:{{{link|}}}|{{!}}link={{{link}}}}}<!-- | ||
-->]]</includeonly><noinclude> | -->]]</includeonly><noinclude> | ||
==Summary== | |||
== Image Usage Examples == | == Image Usage Examples == | ||
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | {| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | ||
| Line 39: | Line 42: | ||
|} | |} | ||
== Articles using Template == | |||
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}} | |||
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
Revision as of 19:59, 13 March 2025
Summary
Image Usage Examples
| Parameter | Description | Code | Example |
|---|---|---|---|
| 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 | |||
side=left |
Pushes the image over to the left, allowing text to flow around it. | {{Image|Pen.png|This is a caption|side=left}} |
|
side=right |
Pushes the image over to the right, allowing text to flow around it. | {{Image|Pen.png|This is a caption|side=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}} |
|


