Help:Image: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
'''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 />
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>
1b. If you want to upload a new picture, go to the [[Special:Upload|upload file]] page.<br />
1b. If you want to upload a new picture, go to the [[Special:Upload|upload file]] page.<br>
2. Once you've found or uploaded an image, find out its name (including the extension), which will be something like ''Image:Image name''.<br />
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>
3. Now, find a nice place on your user page, edit the code, and add this text, replacing the name and caption appropriately:<br />
3. Now, find a nice place on your user page, edit the code, and add this text, replacing the name and caption appropriately:<br>
<pre><nowiki>[[Image:Image name.png|thumb|Caption]]</nowiki></pre>
<pre><nowiki>[[File:Image name.png|thumb|Caption]]</nowiki></pre>
4. If you want to control the size of the thumbnail, you can specifiy its width in pixels. For a 100 pixel wide thumbnail, this would be:<br />
4. If you want to control the size of the thumbnail, you can specifiy its width in pixels. For a 100 pixel wide thumbnail, this would be:<br>
<pre><nowiki>[[Image:Image name.png|thumb|100px|Caption]]</nowiki></pre>
<pre><nowiki>[[File:Image name.png|thumb|100px|Caption]]</nowiki></pre>


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

Revision as of 21:09, March 11, 2011

Also see Help:Media.

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 image list page.
1b. If you want to upload a new picture, go to the upload file page.
2. Once you've found or uploaded an image, find out its name (including the extension), which will be something like File:Image name.
3. Now, find a nice place on your user page, edit the code, and add this text, replacing the name and caption appropriately:

[[File:Image name.png|thumb|Caption]]

4. If you want to control the size of the thumbnail, you can specifiy its width in pixels. For a 100 pixel wide thumbnail, this would be:

[[File:Image name.png|thumb|100px|Caption]]