Template:Image: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 29: | Line 29: | ||
| colspan="4" style="text-align: center;" | '''Common Parameters''' | | colspan="4" style="text-align: center;" | '''Common Parameters''' | ||
|- style="background-color: white;" | |- style="background-color: white;" | ||
| style="text-align: center;" | '''''None''''' || Only the file name is passed. || <pre style="width: 30%;>{{Image | | style="text-align: center;" | '''''None''''' | ||
|| Only the file name is passed. | |||
|| <pre style="width: 30%;>{{Image | |||
|Pen.png | |Pen.png | ||
}}</pre> || {{Image|Pen.png}} | }}</pre> | ||
|| {{Image|Pen.png}} | |||
|- style="background-color: white;" | |- style="background-color: white;" | ||
| style="text-align: center;" | '''''Caption''''' || File name and caption are passed. || <pre style="width: | | style="text-align: center;" | '''''Caption''''' | ||
|| File name and caption are passed. | |||
|| <pre style="width: 50%;>{{Image | |||
|Pen.png | |Pen.png | ||
|This is a caption | |This is a caption. | ||
}}</pre> || {{Image|Pen.png|This is a caption}} | }}</pre> | ||
|| {{Image|Pen.png|This is a caption.}} | |||
|- style="background-color: white;" | |- style="background-color: white;" | ||
| style="text-align: center;" | <code>artist=</code> || Specifies the artist's name for the image. || <pre>{{Image | | style="text-align: center;" | <code>artist=</code> || Specifies the artist's name for the image. || <pre>{{Image | ||
Revision as of 19:57, 18 April 2025
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.


