Help:Images

Adding images to Dota 2 Wiki is a great way to enhance the content of an article. Here are some basics on how to use and format images. Image use is regulated by our Image use policy.

Uploading images

 * 1) Prepare the file for upload. Make sure the image is cropped to eliminate unecessary space and focused on the image subject.
 * 2) In the sidebar, under “”, click “”.
 * 3) Click “Browse” next to the “” to locate the file on your computer (the name of the “browse” button depends on your web browser).
 * 4) Change the “” to something descriptive, if necessary.
 * 5) Fill in the “,” if necessary.
 * 6) Select the appropriate license of the file.
 * 7) Click the “” button.

If it is a large file, you may have to wait several seconds for the upload to complete.


 * Important: after uploading, you may not see the new version immediately. Try clearing your page cache (CTRL+F5 on most browsers, see ). Don't revert to an older version or attempt to upload again.

Using Images and File Description Pages
After you've uploaded a file, you can use it in an article, with some special wiki syntax to create the link (see below).

Your file gets its very own “File Description Page” within the     namespace of the wiki. You should edit this page to provide more information about the file. You should use the description page to explain where you got the file from, and what its copyright status is. Any other useful descriptive notes could also be added there.

Licensing and copyrights

 * Tag all images with the applicable license template.
 * Images that violate the terms of use of this website or infringe copyright will be subject to deletion.

Syntax
The full syntax for displaying an image is: Where options can be zero or more of the following, separated by pipes:
 * ,,  , or  : Controls how the image is formatted
 * ,,  ,  : Controls the alignment of the image within a text
 * ,,  ,  ,  ,  ,  ,  : Controls the vertical alignment of the image within a text
 * : Resizes the image to the given width in pixels
 * : Resizes the image to fit within the given width and height in pixels; it is possible to specify only the height by writing
 * Note that the image will always retain its aspect ratio.
 * link={destination}: Allows to link to an article or URL; e.g.  [[Image:Example.png|20px|link=Help:Images]].
 * : Will display an image without link.
 * Note that  cannot be used in conjunction with   as thumb is always meant to link to the larger version of the image. In addition,   cannot be used with  .
 * : For changing the alternative text of an image.

The options can be given in any order. If the given options conflict each other, the latter is applied, except for the format options, where the options take the priority in the order of,  , and   and/or. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.

Format
The following table shows the effect of all available formats.

When the height of an image in thumbnail is bigger than its width and you find it too outstanding, you may try the option, which will try to adjust its size to more desirable size.

Note that by writing, you can use a different image for the thumbnail.

Alignment
Note that when using  or , the default alignment will be.

Vertical alignment
text text text text text text text text text text text text text text text text

results in (the text is underlined to show the result more clearly)

text text text text text text text text text text text text text text text text

Size and Frame
Among different formats, the effect of the size parameter may be different, as shown below.


 * When the format is not specified, or only ed, the size can be both reduced and enlarged.
 * An image with  always ignores the size specification.
 * The size of an image with  and   can be reduced, but can not be enlarged beyond the original size of the image.

For how it appears when its size is not specified, see Format section above.

Stopping text flow
On occasion it is desirable to stop text from flowing around an image. Depending on the web browser's screen resolution and such, text flow on the right side of an image may cause a section header (for instance, ) to appear to the right of the image, instead of below it, as a user may expect. The text flow can be stopped by placing  before the text that should start after the image.

Link to description page
If you put a colon before , the image will not be embedded and the link will lead to the description page of the file.



results in

Image:Example.png Example File

Link directly to file
You can use the pseudo-namespace “   ” to link directly to a file, bypassing the description page.

Example File

results in

Example File

List of Files in Dota 2 Wiki
There are a number of special pages to help you view and manage files which have been uploaded. Go to “” (in the on the left) and then see...


 * Special:Newimages - If you just uploaded one, you will see it here.
 * Special:Imagelist shows all of the files
 * Special:Unusedimages helps you track down files which might not be needed.