Changes

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search

Help:Image

1,205 bytes removed, 21:35, 28 August 2008
no edit summary
** <span style="color:white;">|left</span> - Aligns the image floating to the left. Text will align around the right hand side.
** <span style="color:white;">|center</span> - Centers the image on the page. Text aove and below only.
** <span style="color:white;">|none</span> - The image will have no floating alignment. Best for [[Help:Table|tables]].
* '''Size'''
==Uploading Images==
To upload images to the wiki, there are primarily two ways; either create the wiki syntax for the image first, and then click on the red link to upload, just like you would when creating a new [[Help:Article|article]], or you can go to the [[Special:Upload|upload page]] of the wiki. When uploading, make sure to adhere to the [[{{WikiTitle}}:Policy|title policies]] of {{WikiTitle}}, and to add it in the appropriate [[Help:Category|categories]]. You might want to check with the [[Help:Structure|category structure]] to see what categories it will fit in.
==Gallery of Images==
The other functional use of pictures on a page is to make a ''gallery'' of pictures. The wiki code "<nowiki><gallery></gallery></nowiki>" will create a 4xX gallery that auto-fills with more pictures. The gallery will be four columns of pictures wide, and any number of rows. The gallery can either be just thumbnails, or thumbnails with captions. Just make wiki syntax like illustrated below, and add one {{WikiTitle}} image page name per row:<blockquote><pre><gallery>Image:Jay_Wilson.jpgImage:Jay_Wilson.jpg|Caption 1Image:Jay_Wilson.jpgImage:Jay_Wilson.jpg|[[Jay Wilson]]Image:Jay_Wilson.jpg|Lead Designer D3Image:Jay_Wilson.jpgImage:Jay_Wilson.jpg|Last pic</gallery></pre></blockquote>This is what it would look like:<gallery>Image:Jay_Wilson.jpgImage:Jay_Wilson.jpg|Caption 1Image:Jay_Wilson.jpgImage:Jay_Wilson.jpg|[[Jay Wilson]]Image:Jay_Wilson.jpg|Lead Designer D3Image:Jay_Wilson.jpgImage:Jay_Wilson.jpg|Last pic</gallery>Notice that the 8th picture place is empty until one more picture is added.
 
To insert an image, just add the following code, that you can see is very similar to other wiki links: <nowiki>[[Image:filename.jpg]]</nowiki>. Make sure you don't forget to write the file extension. The valid image files for {{WikiTitle}} are:
* .gif
* .jpg
* .png
Images will automatically be justificated to the left side on a page, but it's easy to change this with variables, to make boxes around images and to change their size. Read more about images on the [[Help:Image|Image Help page]].
 
The example above shows a jpg, but it may use any valid file extension. Images inserted this way will be placed with left justification, and text will wrap around them.
 
To link to the GWO Wiki page for the image, type:
 
<pre>
[[:Image:filename.jpg]]
</pre>
 
Images automatically link to the full page for that image, where the image is displayed full size, along with any caption and copyright info included for it. Images may be set to link directly to other pages, though this is non-standard wiki practice, and its recommended that such links are provided in the image's caption, or are placed directly on the full image page. To link from an image:
 
<pre>
{{clickpic|TARGET PAGE TITLE|FULL PATH OF IMAGE FILE}}
</pre>
Where "FULL PATH OF IMAGE FILE" is the full path, for example <nowiki> http://www.imaginarywiki.com/wiki/index/image.jpg </nowiki> - so this works better with external images, but may be used with images you have uploaded with you use their full path instead of the usual shortcut.
 
 
(which must have been [[Special:Upload|previously uploaded]] to the wiki)
 
 
===Image Formatting===
 
Images may be presented in various ways by adding commands within the brackets, after the image, separated by "pipes." For example, the image below this paragraph has the following code:
 
[[Image:Mon-achmel1.jpg|center|thumb|125px|Words about the image.]]
 
<nowiki>[[Image:Mon-achmel1.jpg|center|thumb|125px|Words about the image.]]</nowiki>
 
The most common image formatting command is "frame" which simply adds a border around an image and (by default) right justifies it. Various other image formatting commands (such as thumb, or inserting a caption) will create a frame automatically, as seen in the above example.
* '''Right/left/center''' are valid justifying commands.
* Thumb will thumbnail an image, and should be used when the full image is so large it will affect a page's formatting. Default is 200 pixels wide. If a different display width is desired, simply type it in, immediately after the thumb command, separated by a pipe.
* To caption an image, simply type whatever you wish the caption to be, after the other commands, immediately before the closing double brackets. Wiki formatting is to keep captions as short and to the point as possible. Long captions will stretch the image frame beyond the image, and look ugly.
{{Help navbox}}
12,486
edits