All image setups follow the same basic syntax, however they do not ''have'' to be used. The basic syntax is:
+
All image setups follow the same basic syntax, however they do not ''have'' to be used. The basic syntax is: <nowiki>[[Image:name|type|location|size|caption]]</nowiki>
−
[[Image:name|type|location|size|caption]]
However, everything after ''name'' can come in whatever order the user wants it to.
However, everything after ''name'' can come in whatever order the user wants it to.
−
==In depth information==
==In depth information==
−
===name===
===name===
The name is the only thing that isn't optional when adding an image to an article (naturally). An important thing to remember is that the name of the image is '''semi-caps-sensitive''' in the same way the search-function is, which means that if an image is called ''FFWiki.jpg'', then writing ''FFWiKi.jpg'' or ''FFWiki.JPG'' will '''not''' retrieve the image.
The name is the only thing that isn't optional when adding an image to an article (naturally). An important thing to remember is that the name of the image is '''semi-caps-sensitive''' in the same way the search-function is, which means that if an image is called ''FFWiki.jpg'', then writing ''FFWiKi.jpg'' or ''FFWiki.JPG'' will '''not''' retrieve the image.
−
===Type===
===Type===
Line 21:
Line 17:
:When not specifying the type as one of the above, no frame will appear. Size can be changed in both direction, i.e. "inflation" is possible. If caption is written, it will only appear if the mouse is hovering over the image.
:When not specifying the type as one of the above, no frame will appear. Size can be changed in both direction, i.e. "inflation" is possible. If caption is written, it will only appear if the mouse is hovering over the image.
−
===location===
+
===Location===
By default, images float to the left, unless otherwise specified or when using the type, ''thumb''.
By default, images float to the left, unless otherwise specified or when using the type, ''thumb''.
*''left''
*''left''
Line 33:
Line 29:
*If more than one location is given, only the last one will take effect. If no location is given, it will use its default.
*If more than one location is given, only the last one will take effect. If no location is given, it will use its default.
−
===size===
+
===Size===
Size is always measured by the size of the width of the image in pixels (''px''). The height will automatically be computed, so that the image will keep its aspect ratio. If using thumb, the size cannot be "inflated" to a width higher than the one the uploaded has.
Size is always measured by the size of the width of the image in pixels (''px''). The height will automatically be computed, so that the image will keep its aspect ratio. If using thumb, the size cannot be "inflated" to a width higher than the one the uploaded has.
*''100px''
*''100px''
Line 40:
Line 36:
:Using this method is a way of limiting the image to whatever limit it hits first. This corresponds to saying the the width must not exceed 100 pixels and the height must not exceed 150 pixels. Once the image hits one of these limits, the opposite will be scaled to keep aspect ratio.
:Using this method is a way of limiting the image to whatever limit it hits first. This corresponds to saying the the width must not exceed 100 pixels and the height must not exceed 150 pixels. Once the image hits one of these limits, the opposite will be scaled to keep aspect ratio.
−
===caption===
+
===Caption===
Any text entered, that is not recognized as one of the above pre-set commands will be assumed to be caption text. If several captions are entered, only the last will take effect.
Any text entered, that is not recognized as one of the above pre-set commands will be assumed to be caption text. If several captions are entered, only the last will take effect.
−
Retrived from [http://www.kingdomhearts.wikia.com www.kingdomhearts.wikia.com]
Retrived from [http://www.kingdomhearts.wikia.com www.kingdomhearts.wikia.com]
All image setups follow the same basic syntax, however they do not have to be used. The basic syntax is: [[Image:name|type|location|size|caption]]
However, everything after name can come in whatever order the user wants it to.
The name is the only thing that isn't optional when adding an image to an article (naturally). An important thing to remember is that the name of the image is semi-caps-sensitive in the same way the search-function is, which means that if an image is called FFWiki.jpg, then writing FFWiKi.jpg or FFWiki.JPG will not retrieve the image.
A frame appears around the image and the image itself is automatically scaled to 180px, or as close to 180px as possible if the image by default is smaller, unless otherwise specified with size. With thumb, it is not possible to "inflate" the image. This means, if the image when uploaded has a width of 80px, it cannot go above 80px no matter what is written in size, it can only go below or equal to the width the uploaded image has. It will by default be located to the right, unless otherwise specified in location. If caption is written, it will appear in a box between the image and the lower part of the frame. By default, it will float on the right side, unless otherwise specified in location
frame
When using frame, the image will be framed and always have it's default width, which cannot be changed no matter what is written in size. If caption is written, it will appear in a box between the image and the lower part of the frame.
(No specification)
When not specifying the type as one of the above, no frame will appear. Size can be changed in both direction, i.e. "inflation" is possible. If caption is written, it will only appear if the mouse is hovering over the image.
Size is always measured by the size of the width of the image in pixels (px). The height will automatically be computed, so that the image will keep its aspect ratio. If using thumb, the size cannot be "inflated" to a width higher than the one the uploaded has.
100px
Will resize the width to be 100 pixels (100 can be replaced by whatever number you wish). Height will automatically be computed to fit the image's aspect ratio.
100x150px
Using this method is a way of limiting the image to whatever limit it hits first. This corresponds to saying the the width must not exceed 100 pixels and the height must not exceed 150 pixels. Once the image hits one of these limits, the opposite will be scaled to keep aspect ratio.
Any text entered, that is not recognized as one of the above pre-set commands will be assumed to be caption text. If several captions are entered, only the last will take effect.
A pop-up will appear, which will allow you to upload a photo from your computer. You can also search for find photos already added to the wiki by others or on Flickr.com.