Template:Image: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 63: | Line 63: | ||
}} | }} | ||
</pre> | </pre> | ||
| style="background-color: white; text-align: justify; font-size: 90%;" | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis. Tempus leo eu aenean sed diam urna tempor.{{Image|Pen.png|Using <code>align=left</code>.|align=left}}{{Image|Pen.png|Using <code>align=right</code>.|align=right}}Pulvinar vivamus fringilla lacus nec metus bibendum egestas. Iaculis massa nisl malesuada lacinia integer nunc posuere. Ut hendrerit semper vel class aptent taciti sociosqu. Ad litora torquent per conubia nostra inceptos himenaeos. Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis. Tempus leo eu aenean sed diam urna tempor. Pulvinar vivamus fringilla lacus nec metus bibendum egestas. | | style="background-color: white; text-align: justify; font-size: 90%;" | Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis. Tempus leo eu aenean sed diam urna tempor.{{Image|Pen.png|Using <code>align=left</code>.|align=left}}{{Image|Pen.png|Using <code>align=right</code>.|align=right}}Pulvinar vivamus fringilla lacus nec metus bibendum egestas. Iaculis massa nisl malesuada lacinia integer nunc posuere. Ut hendrerit semper vel class aptent taciti sociosqu. Ad litora torquent per conubia nostra inceptos himenaeos. Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis. Tempus leo eu aenean sed diam urna tempor. Pulvinar vivamus fringilla lacus nec metus bibendum egestas. | ||
|- | |- | ||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Resize Height</span><br><div style="text-align: left;"><span style="font-weight: normal;">If you wish to resize the height of the image, pass <code>height=</code> with a pixel value. (e.g., <code>height=200px</code>) If <code>height=</code> is not passed, the default is 100px.</div> | ! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Resize Height</span><br><div style="text-align: left;"><span style="font-weight: normal;">If you wish to resize the height of the image, pass <code>height=</code> with a pixel value. (e.g., <code>height=200px</code>) If <code>height=</code> is not passed, the default is 100px.</div> | ||
Revision as of 00:34, 3 May 2025
Description
This template is used to include a thumbnail image on a page. The preferred method of displaying images is with text wrapped around it. To do this, you must pass an alignment parameter. (See the table below for examples.)
If you desire a different format for displaying images, especially one with more granular control, see Non-Template Image Insertion.
Usage
- Note: The code of the examples below are split over multiple lines for the sake of clarity, please keep all parameters on the same line when using this template.
- For example:
{{image|FILENAME.EXTENSION|caption|artist=ARTISTNAME|align=left/right}}


