User:RustyVanBurace/Sandbox3: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 32: Line 32:
| <pre>[[File:SMT1 SFC Pascal Sprite.png|thumb|x30px]]</pre> || [[File:SMT1 SFC Pascal Sprite.png|thumb|x30px]] || Adding a <code>x</code> in front will resize the image by height.
| <pre>[[File:SMT1 SFC Pascal Sprite.png|thumb|x30px]]</pre> || [[File:SMT1 SFC Pascal Sprite.png|thumb|x30px]] || Adding a <code>x</code> in front will resize the image by height.
|}
|}
Images can also be displayed in infobox templates. This should be an illustrative image of the subject, such as a character's artwork, a game's cover, a screenshot of a location, and so on. Infoboxes use the <code>image=</code> or <code>imagecover=</code> parameters to display whichever image is inserted there. As the template already renders the image itself, the image parameters merely requires the image's filename without the use of brackets, <code>File:</code>, or additional options. A caption can still be added to infobox images, which will be displayed beneath the image.
Multiple images can also be added to an infobox by creating gallery tabs. This is achieved by enclosing a list of images in <code><nowiki><gallery></gallery></nowiki></code> tags and assigning them captions, with the captions becoming the tab names. Galleries in infoboxes should only be used if a subject has multiple depictions or covers across media titles or re-releases. As such, the tabs should be named after the abbreviated platform or media title that the image is from.
===Galleries===

Navigation menu