Help:Image: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Robot: Removing template: BoxTop)
(Incorporating Images section from Help:Media.)
Line 1: Line 1:
''Also see [[Help:Media]].''
{{seealso|Help:Media}}


'''Here's how to add a picture:'''
'''Here's how to add a picture:'''


1a. Find an image you want on your page on any other page in the wiki, or on the [[Special:Imagelist|image list]] page.<br>
#Find an image you want on your page on any other page in the wiki, or on the [[Special:ImageList|image list]] page.
1b. If you want to upload a new picture, go to the [[Special:Upload|upload file]] page.<br>
#*If you want to upload a new picture, go to the [[Special:Upload|upload file]] page. (This link can also be found labeled "Upload file" in the navigation pane on the left-hand side, under "tools".) Once there, you can browse for your image, change the file name if necessary, and type a description of the image. Simply click "Upload" to add the picture to the database.
2. Once you've found or uploaded an image, find out its name (including the extension), which will be something like ''File:Image name''.<br>
#Once you've found or uploaded an image, find out its name (including the extension), which will be something like "'''File:Image name.ext'''". Images can be added using the "'''File:'''" or "'''Image:'''" tag. Extensions ('''.ext''') used for images on the {{SITENAME}} are '''.jpg''', '''.png''', '''.gif''', or '''.svg''' ([[Wikipedia:Scalable Vector Graphics|Scalable Vector Graphics]]).
3. Now, find a nice place on your user page, edit the code, and add this text, replacing the name and caption appropriately:<br>
#Now, find a nice place on your user page, edit the code, and add this text, replacing the name, extension and caption appropriately:<pre>[[File:Image name.ext|thumb|Caption]]</pre>
<pre><nowiki>[[File:Image name.png|thumb|Caption]]</nowiki></pre>
#If you want to control the size of the thumbnail, you can specify its width in pixels. For a 100 pixel-wide thumbnail, this would be:<pre>[[File:Image name.ext|thumb|100px|Caption]]</pre>
4. If you want to control the size of the thumbnail, you can specify its width in pixels. For a 100 pixel wide thumbnail, this would be:<br>
#Thumbnails automatically go to the far right-hand side of a page, but you can specify it to go to the left side, right side or center instead. For the same image placed on the left, this would be:<pre>[[File:Image name.ext|thumb|left|100px|Caption]]</pre>
<pre><nowiki>[[File:Image name.png|thumb|100px|Caption]]</nowiki></pre>
#Images can also be placed in frames, which cannot be resized, but still use the other parameters:<pre>[[File:Image name.ext|frame|left|Caption]]</pre>
5. Thumbnails automatically go to the far right-hand side of a page, but you can make it go to the left side instead:
 
<pre><nowiki>[[File:Image name.png|thumb|left|100px|Caption]]</nowiki></pre>
'''Note:''' The caption usually comes last for both thumbnails and frames, although most parameters can be in any order.
 
==Example==
[[File:Example.png|thumb|100px|The code for this image is...]]
The code for the image shown on the right is:
<pre>[[File:Example.png|thumb|100px|The code for this image is...]]</pre>
 
==External help==
*[[mediawiki.org:Help:Images|Help:Images - MediaWiki]]


{{Wikipolicy}}
{{Wikipolicy}}
[[Category:Help|{{PAGENAME}}]]
[[Category:Help|{{PAGENAME}}]]
{{Shortcut|MW:IMAGE|MW:IMAGES}}
{{Shortcut|MW:IMAGE|MW:IMAGES}}

Revision as of 03:04, May 8, 2017

Template:Seealso

Here's how to add a picture:

  1. Find an image you want on your page on any other page in the wiki, or on the image list page.
    • If you want to upload a new picture, go to the upload file page. (This link can also be found labeled "Upload file" in the navigation pane on the left-hand side, under "tools".) Once there, you can browse for your image, change the file name if necessary, and type a description of the image. Simply click "Upload" to add the picture to the database.
  2. Once you've found or uploaded an image, find out its name (including the extension), which will be something like "File:Image name.ext". Images can be added using the "File:" or "Image:" tag. Extensions (.ext) used for images on the Super Mario Wiki are .jpg, .png, .gif, or .svg (Scalable Vector Graphics).
  3. Now, find a nice place on your user page, edit the code, and add this text, replacing the name, extension and caption appropriately:
    [[File:Image name.ext|thumb|Caption]]
  4. If you want to control the size of the thumbnail, you can specify its width in pixels. For a 100 pixel-wide thumbnail, this would be:
    [[File:Image name.ext|thumb|100px|Caption]]
  5. Thumbnails automatically go to the far right-hand side of a page, but you can specify it to go to the left side, right side or center instead. For the same image placed on the left, this would be:
    [[File:Image name.ext|thumb|left|100px|Caption]]
  6. Images can also be placed in frames, which cannot be resized, but still use the other parameters:
    [[File:Image name.ext|frame|left|Caption]]

Note: The caption usually comes last for both thumbnails and frames, although most parameters can be in any order.

Example

The code for this image is...

The code for the image shown on the right is:

[[File:Example.png|thumb|100px|The code for this image is...]]

External help

Template:Wikipolicy