Help:Images: Difference between revisions

m
no edit summary
m (1 revision: pages)
mNo edit summary
Line 1: Line 1:
{{helppage}}
All images added to this wiki must be "free-use".  That is, they must either by public domain or licensed by the copyright holder under a license that allows anyone to reuse the images.  It's important that we do not add images taken from other websites as these are usually not free-use and would be copyright violations.  See [[Help:Image copyright tags]] for more detail on licenses and how to tag your images.
All images added to this wiki must be "free-use".  That is, they must either by public domain or licensed by the copyright holder under a license that allows anyone to reuse the images.  It's important that we do not add images taken from other websites as these are usually not free-use and would be copyright violations.  See [[Help:Image copyright tags]] for more detail on licenses and how to tag your images.


Line 14: Line 15:
==Using Images==
==Using Images==


<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">To use an image in an article, you simply surround the full name (including the "Image" part) in double square brackets:<br/><br/>
<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">To use an image in an article, you simply surround the full name (including the "File" part) in double square brackets:<br/><br/>
'''<nowiki>[[Image:Example.jpg]]</nowiki>''' will give you: [[Image:Example.jpg]]<br clear=all></div>
'''<nowiki>[[File:Example.jpg]]</nowiki>''' will give you: [[File:Example.jpg]]<br clear=all></div>


<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">You can resize by adding the size in pixels between two pipes:<br/><br/>
<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">You can resize by adding the size in pixels between two pipes:<br/><br/>
<nowiki>[[Image:Example.jpg</nowiki>'''|50px|''']] will give you: [[Image:Example.jpg|50px|]]<br clear="all"></div>
<nowiki>[[File:Example.jpg</nowiki>'''|50px|''']] will give you: [[File:Example.jpg|50px|]]<br clear="all"></div>


<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">
<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">
You can make an image a thumbnail an image by adding "thumb" in the same way.  If a pipe is there from a previous variable, you don't need to add another:<br/><br/>
You can make an image a thumbnail an image by adding "thumb" in the same way.  If a pipe is there from a previous variable, you don't need to add another:<br/><br/>
<nowiki>[[Image:Example.jpg|50px</nowiki>'''|thumb|''']] will give you: [[Image:Example.jpg|50px|thumb|]]<br clear="all"></div>
<nowiki>[[File:Example.jpg|50px</nowiki>'''|thumb|''']] will give you: [[File:Example.jpg|50px|thumb|]]<br clear="all"></div>


<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">This is automatically formatted to the right of the page.  You can change this by adding "left" or "center":<br/><br/>
<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">This is automatically formatted to the right of the page.  You can change this by adding "left" or "center":<br/><br/>
<nowiki>[[Image:Example.jpg|50px|thumb</nowiki>'''|left|''']] will give you: [[Image:Example.jpg|50px|thumb|left|]]<br clear="all"></div>
<nowiki>[[File:Example.jpg|50px|thumb</nowiki>'''|left|''']] will give you: [[File:Example.jpg|50px|thumb|left|]]<br clear="all"></div>


<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">Anything after the last pipe becomes the alt text or the caption:<br/><br/>
<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">Anything after the last pipe becomes the alt text or the caption:<br/><br/>
<nowiki>[[Image:Example.jpg|50px|thumb|left|</nowiki>'''Alt''']] will give you: [[Image:Example.jpg|50px|thumb|left|Alt]]<br clear="all"></div>
<nowiki>[[File:Example.jpg|50px|thumb|left|</nowiki>'''Alt''']] will give you: [[File:Example.jpg|50px|thumb|left|Alt]]<br clear="all"></div>


<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">To link to a file without showing it on the page, you can use "Media" instead of "Image":<br/><br/>
<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">To link to a file without showing it on the page, you can use "Media" instead of "File":<br/><br/>
'''<nowiki>[[Media:Example.jpg]]</nowiki>''' will give you: [[Media:Example.jpg]]<br clear="all"></div>
'''<nowiki>[[Media:Example.jpg]]</nowiki>''' will give you: [[Media:Example.jpg]]<br clear="all"></div>


<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">To link to the image page instead, use a colon before the word "Image":<br/><br/>
<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">To link to the image page instead, use a colon before the word "File":<br/><br/>
'''<nowiki>[[:Image:Example.jpg]]</nowiki>''' will give you: [[:Image:Example.jpg]]<br clear="all"></div>
'''<nowiki>[[:File:Example.jpg]]</nowiki>''' will give you: [[:File:Example.jpg]]<br clear="all"></div>


<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">Finally, to create a gallery of images you can use the <nowiki><gallery></nowiki> tag:<br/><br/>
<div style="border: 1px solid #CCCCCC; padding:1em; margin: 1em 0;">Finally, to create a gallery of images you can use the <nowiki><gallery></nowiki> tag:<br/><br/>
'''&lt;gallery><br/>'''
'''&lt;gallery><br/>'''
'''Image:Example.jpg|1<br/>'''
'''File:Example.jpg|1<br/>'''
'''Image:Example.jpg|2<br/>'''
'''File:Example.jpg|2<br/>'''
'''Image:Example.jpg|3<br/>'''
'''File:Example.jpg|3<br/>'''
'''&lt;/gallery>'''
'''&lt;/gallery>'''


Line 46: Line 47:


<gallery>
<gallery>
Image:Example.jpg|1
File:Example.jpg|1
Image:Example.jpg|2
File:Example.jpg|2
Image:Example.jpg|3
File:Example.jpg|3
</gallery><br clear="all"></div>
</gallery><br clear="all"></div>


[[Category:Help|Images]]
[[Category:Help|Images]]