Help:Images: Difference between revisions
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
[[Image:Fun.JPG |thumb |right| 100px]]Now our image is on the right and we can write on the left. <BR> | [[Image:Fun.JPG |thumb |right| 100px]]Now our image is on the right and we can write on the left. <BR> | ||
==Images== | |||
More about Images at [[metawikipedia: Help:Images_and_other_uploaded_files |meta]] and at [[wikipedia: Wikipedia:Extended_image_syntax|Wikipedia]]. Embedded images on EcoliWiki must be uploaded, and then linked. To upload, go to [[Special:Upload|Upload file]] from the toolbox. The most recently uploaded images and files are listed in [[Special:Newimages]]. | |||
===Image inclusion syntax=== | |||
To add an image, use: | |||
:<nowiki>[[Image:ImageFileName|{type}|{location}|{size}|{caption}]]</nowiki> | |||
{type}, {location}, {size}, and {caption} are all optional. Anything that is not recognizable as {type}m {location} or {size} is treated as a caption. | |||
*type: allowed values are 'thumb', 'thumbnail' or 'frame'. If this is left blank, there is no box around the image, and it doesn't display a caption | |||
*location: allowed values are 'right', 'left', 'center' or 'none'. Text will wrap around 'left' or 'right' but not around 'center'. Use <nowiki>{{Clr}}</nowiki> to prevent text below from wrapping. | |||
*size:{width}px width in pixels. Ignored if type is 'frame'. | |||
===Examples=== | |||
====Simple Image==== | |||
<nowiki>[[Image:EcoliWiki_logo.png]]</nowiki> | |||
[[Image:EcoliWiki_logo.png]]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum | |||
====Simple Image Resized==== | |||
<nowiki>[[Image:EcoliWiki_logo.png|50px]]</nowiki> | |||
[[Image:EcoliWiki_logo.png|50px]]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum | |||
====Framed Images with caption==== | |||
Default alignment: | |||
<nowiki>[[Image:EcoliWiki_logo.png|frame|The EcoliWiki logo]]</nowiki> | |||
[[Image:EcoliWiki_logo.png|frame|The EcoliWiki logo]]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum{{Clr}} | |||
Centered: | |||
<nowiki>[[Image:EcoliWiki_logo.png|framed|50px|center|The EcoliWiki logo]]</nowiki> | |||
[[Image:EcoliWiki_logo.png|framed|center|50px|The EcoliWiki logo]] '''Note that size is ignored when frame is set.''' Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum | |||
====Thumbnails==== | |||
<nowiki>[[Image:EcoliWiki_logo.png|thumb|50px|left|The EcoliWiki logo]]</nowiki> | |||
[[Image:EcoliWiki_logo.png|thumb|50px|left|The EcoliWiki logo]] Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum{{Clr}} | |||
[[Category:Help|{{PAGENAME}}]] | [[Category:Help|{{PAGENAME}}]] | ||
[[Category:Editing_Help|{{PAGENAME}}]] | [[Category:Editing_Help|{{PAGENAME}}]] | ||
Revision as of 17:09, 5 October 2007
Getting Started
Images in EcoliWiki are particularly useful for showing gene constructs, structures of gene products, plasmid maps, etc. Uploading images is simple enough. First, you must be logged into EcoliWiki. If you don't have an account, request one by emailing EcoliWiki at ecoliwiki@gmail.com.
Uploading

Once you're logged in, there will be a toolbox on the left-hand side of the page. In it will be an Upload file link. If you can't find it, click Special:Upload here to upload the file.
Once you have clicked Upload file, you'll be taken to a page similar to this:

To upload an image on your computer, click Browse and locate the file of interest. If you want, write a brief summary about the image. Once you've located the file, click the Upload File button.
If all goes well, you'll be taken to a page that shows the image. One error you might get is that a file is larger then the recommended file size. You can try and resize your image on the computer, then re-upload the file.
Using Images
Using images in EcoliWiki is done by doing the following: Let's say you want to link to an image called Fun.JPG. To do this, simply type [[Image:Fun.JPG]] and the image will appear.
Clicking on the image will take you to the image page in EcoliWiki.
Let's say though, that you wanted to make the picture smaller and move it to the right of the page. You can do this by adding some wiki code after the file name. For example, | thumb| will make the image a thumbnail. Writing [[Image:Fun.JPG|thumb|right]] will make the picture go to the right of the page, like in the example below:
Now our image is on the right and we can write on the left.
Images
More about Images at meta and at Wikipedia. Embedded images on EcoliWiki must be uploaded, and then linked. To upload, go to Upload file from the toolbox. The most recently uploaded images and files are listed in Special:Newimages.
Image inclusion syntax
To add an image, use:
- [[Image:ImageFileName|{type}|{location}|{size}|{caption}]]
{type}, {location}, {size}, and {caption} are all optional. Anything that is not recognizable as {type}m {location} or {size} is treated as a caption.
- type: allowed values are 'thumb', 'thumbnail' or 'frame'. If this is left blank, there is no box around the image, and it doesn't display a caption
- location: allowed values are 'right', 'left', 'center' or 'none'. Text will wrap around 'left' or 'right' but not around 'center'. Use {{Clr}} to prevent text below from wrapping.
- size:{width}px width in pixels. Ignored if type is 'frame'.
Examples
Simple Image
[[Image:EcoliWiki_logo.png]] File:EcoliWiki logo.pngLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
Simple Image Resized
[[Image:EcoliWiki_logo.png|50px]] File:EcoliWiki logo.pngLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
Framed Images with caption
Default alignment: [[Image:EcoliWiki_logo.png|frame|The EcoliWiki logo]]
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
Centered: [[Image:EcoliWiki_logo.png|framed|50px|center|The EcoliWiki logo]]
Note that size is ignored when frame is set. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
Thumbnails
[[Image:EcoliWiki_logo.png|thumb|50px|left|The EcoliWiki logo]]
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum