Difference between revisions of "Help:Images"

m
→‎Using Files: Working on updating things
(→‎Galleries: Adding mode parameters and how to center gallery as I keep forgetting)
m (→‎Using Files: Working on updating things)
* <code>link</code>: The image will link to its File page by default; you can link to another page with <code>link=cosmere</code> or <code>link=https://wob.coppermind.net</code>
 
If you arendon't comfortable usingwant the templateimage to render as a thumbnail, you can use <code><nowiki>[[File:FILENAME.EXT]]</nowiki></code>.
 
<code>FILENAME.EXT</code> is the filename (and extension) of the image. This adds a full size image into the article. Additional parameters may be included, separated by vertical bars (<code>|</code>), to adjust to how the image appears. Some important parameters include:
 
;Thumbnail
: Include <code>thumb</code> to make the image a thumbnail, which will give it a border, provide space for a caption, and size the image down to a standard thumbnail width.
 
;Border
 
;Width
: Enter a number followed by "px" to specify the width of the image in pixels. Height will adjust accordingly. (''Example:'' <code>200px</code> rescales the image to a width of 200px)
 
;Height
: Enter <code>xHHpx</code>where HH is the desired height of the image in pixels. Width will adjust accordingly. (''Example:'' <code>x200px</code> rescales the image to a height of 200px)
 
;Caption
: This is a good place for a simple description and/or giving credit to the artist. The <code><nowiki>{{t|a}}</nowiki></code> template is used for artist attribuation. (''Example:'' <code><nowiki>{{a|Ben_McSweeney}}</nowiki></code> will create a link to {{a|Ben_McSweeney}})
 
;Link
: The image will link to the file page by default. To link elsewhere, use <code>link=</code> followed by a Coppermind page or URL.
 
<div class=navaid>For more options for displaying a single image, see [https://www.mediawiki.org/wiki/Help:Images#Rendering_a_single_image MediaWiki's guide].</div>
 
=== Galleries ===