Help:Images: Difference between revisions

no edit summary
m (Protected "Help:Images" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 3: Line 3:
''NOTE: Please make sure your image lines up with Halopedia's [[Halopedia:Media Policy|Media Policy]] before you upload it.''
''NOTE: Please make sure your image lines up with Halopedia's [[Halopedia:Media Policy|Media Policy]] before you upload it.''


==Uploading Pictures==
==Uploading pictures==
All pictures are uploaded to the Halopedia site by using this page, [[Special:Upload]] (You have to have an account and be logged in to upload an image). Pictures should be under 5 megabytes in size. Just press the browse button and find the picture that you've saved on your computer. Select and if possible choose the correct copyright license. Then press the "Upload File" button. The page will take a while to load depending on your internet connection. You can add a summary if you want to, however it is optional.
All pictures are uploaded to the Halopedia site by using this page, [[Special:Upload]] (You have to have an account and be logged in to upload an image). Pictures should be under 5 megabytes in size. Just press the browse button and find the picture that you've saved on your computer. Select and if possible choose the correct copyright license. Then press the "Upload File" button. The page will take a while to load depending on your internet connection. You can add a summary if you want to, however it is optional.


Line 9: Line 9:


==Adding an image to an article==
==Adding an image to an article==
===Simplest Form===
===Simplest form===
 
[[File:Grunt Ultra H3.jpg]]
[[File:Grunt Ultra H3.jpg]]


Line 17: Line 16:
<pre><nowiki>[[File:Grunt Ultra H3.jpg]]</nowiki></pre>
<pre><nowiki>[[File:Grunt Ultra H3.jpg]]</nowiki></pre>


===Standard Image Format===
===Standard image format===
 
However the above code offers no formatting options and so all images should follow the [[Wikipedia:Extended image syntax|Wiki image markup language]]. The wiki markup language will only work if no capital letters are used. Most images on Halopedia should follow this Wiki format:
However the above code offers no formatting options and so all images should follow the [[Wikipedia:Extended image syntax|Wiki image markup language]]. The wiki markup language will only work if no capital letters are used. Most images on Halopedia should follow this Wiki format:


Line 30: Line 28:
*'''Caption''' : The image should always have a short description which would replace the "Example image caption" text on your image
*'''Caption''' : The image should always have a short description which would replace the "Example image caption" text on your image


===Advanced Image Formatting===
===Advanced image formatting===


Options can be combined, and vertical bars ("|") are used to separate options from each other. The options can be put in any order. An unknown option is taken as the caption text, but this seems to appear only if <tt>thumb</tt> is specified. If there are two or more unknown options, the last one upstages the rest.
Options can be combined, and vertical bars ("|") are used to separate options from each other. The options can be put in any order. An unknown option is taken as the caption text, but this seems to appear only if <tt>thumb</tt> is specified. If there are two or more unknown options, the last one upstages the rest.
Line 46: Line 44:
: [[File:Grunt Ultra H3.jpg|right|50px|]]This option renders a version of the image that's ''[size]'' pixels wide (e.g. <tt><nowiki>[[File:Grunt Ultra H3.jpg|right|50px|]]</nowiki></tt> shown on the right). Height is computed to keep [[Wikipedia:aspect ratio (image)|aspect ratio]] (i.e. the shape of the image). You can also constrain both dimensions by typing something like ''100x100px''.
: [[File:Grunt Ultra H3.jpg|right|50px|]]This option renders a version of the image that's ''[size]'' pixels wide (e.g. <tt><nowiki>[[File:Grunt Ultra H3.jpg|right|50px|]]</nowiki></tt> shown on the right). Height is computed to keep [[Wikipedia:aspect ratio (image)|aspect ratio]] (i.e. the shape of the image). You can also constrain both dimensions by typing something like ''100x100px''.
; <tt>''size''px</tt>
; <tt>''size''px</tt>
====Last Vertical Bar Law====
 
====Last vertical bar law====


[[File:Grunt Ultra H3.jpg|70px|right]]What is between the last vertical bar and the closing brackets ("]]"), void or not, is taken as the last option, and works as usual. For instance, when the last option is <tt>right</tt>, the image is right-aligned, and text floats to the left: <tt><nowiki>[[File:Grunt Ultra H3.jpg|70px|right]]</nowiki></tt> (shown on the right).
[[File:Grunt Ultra H3.jpg|70px|right]]What is between the last vertical bar and the closing brackets ("]]"), void or not, is taken as the last option, and works as usual. For instance, when the last option is <tt>right</tt>, the image is right-aligned, and text floats to the left: <tt><nowiki>[[File:Grunt Ultra H3.jpg|70px|right]]</nowiki></tt> (shown on the right).
Line 59: Line 58:
; <tt>frame</tt>
; <tt>frame</tt>


====Inline Images====
====Inline images====


With none of the options other than <tt>''size''px</tt> and <tt>''alternate (caption) text''</tt>, an embedded image is rendered inline.
With none of the options other than <tt>''size''px</tt> and <tt>''alternate (caption) text''</tt>, an embedded image is rendered inline.
Line 118: Line 117:
*http://lindyspringsystems.com/wp-content/uploads/2014/01/test.jpg - <nowiki>http://lindyspringsystems.com/wp-content/uploads/2014/01/test.jpg</nowiki>
*http://lindyspringsystems.com/wp-content/uploads/2014/01/test.jpg - <nowiki>http://lindyspringsystems.com/wp-content/uploads/2014/01/test.jpg</nowiki>


==See also==
{{Halopedia HAGP}}
{{Halopedia HAGP}}
[[Category:Help|Images]]
[[Category:Help|Images]]