9,044
edits
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
|} | |} | ||
Images inserted into pages should be formatted as a thumbnail, preferably with a short caption describing the image. | |||
===Infobox Images=== | |||
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. | 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. | ||
Line 38: | Line 41: | ||
===Galleries=== | ===Galleries=== | ||
{{Main|[[Guidelines:Galleries|Gallery guidelines]]}} | |||
The best way to display many images on a page is to sort them into a Gallery section. These display images in organized rows of thumbnails, without the need of adding options. Galleries are created by enclosing a list of image filenames between <code><nowiki><gallery></gallery></nowiki></code> tags, which will look like: | |||
<pre> | |||
==Gallery== | |||
<gallery> | |||
File name|Caption | |||
</gallery> | |||
</pre> | |||
Images kept in a gallery do not need double brackets or the <code>File:</code> prefix to be linked to. Captions are optional, but are encouraged to briefly describe a file, namely by indicating what type of file it is (such as a sprite or artwork). |