User:Nersesar

From OLPC
Revision as of 20:06, 26 January 2007 by Nersesar (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Registering

First of all, in order to upload a file on OLPCWiki, you have to be logged in.

If you have an OLPCWiki account, then you can go to the login page, by clicking on log in/create account link on the upper right corner of any OLPCWiki webpage. Type your Username and Password, and click the Login button.

If you do not have an account, then go to the same login page. Click on the Create an Account link; it will redirect you to the registration page. Type your future Username, Password. Then retype your password. Typing e-mail address and real name is optional.* Then click Create an Account button. Now you have an OLPCWiki account and you can follow the directories given above to log in.

* On the registration page you may be also asked to write the answer to mathematical addition or substraction. Don't forget to do that as well !!!

Uploading a File

Once you are logged in, you can continue by clicking Upload file link, which is among the links on the left side of any OLPCWiki website. You will be redirected to the upload page. Click Browse... button and choose the image(or other supported file) you want to upload. Page will automatically put the original file name and extension on Destination filesource; however, you can change it to a different one. Just keep in mind that this the name you wrote in Destination filesource will be the name you will be using in the scripts, and not the name of the file in your computer.

Image Script

To post an image you type, for instance

[[Image:Single_iris.jpg]]

It will bring you the following picture: Single iris.jpg


Single iris.jpg

You can additional features to this picture; first, let us start with making a frame for it:

[[Image:Single_iris.jpg|frame]]
















Now try out the following:

[[Image:Single_iris.jpg|frame|left]]
Single iris.jpg



























You can also try out

[[Image:Single_iris.jpg|center]]

or

[[Image:Single_iris.jpg|frame|left]]

It is also possible to resize images with the following script

[[Image:Single_iris.jpg|100 px]]
Single iris.jpg


Thumbnails are available as well; however, from this point on I will suggest to take the following general script:

[[Image:{name}.{extension}|thumb|{size}|{align}|{title}]]

For example:

[[Image:Single_iris.jpg|thumb|220px|center|Ceasar Iris]]
Ceasar Iris

It will be good if you use this style of writing the script, because otherwise it simply may not give you the desired result. For additional, information you can use this link on extended image syntax

Another cool thing you can do with this editting language is that you can create image galleries. Start with the following: type

<gallery caption="My Gallery">
</gallery>

This text actually creates a gallery with name "My Gallery"*.

*For some reason the name of the gallery does not appear on OLPCWiki, although it works on Wikipedia.

Now if you want to add some pictures to gallery, write the following:

<gallery caption="My Gallery">
Image:Single_iris.jpg|Single Iris
Image:BuntzenWinter.jpg|Buntzen Winter
Image:Monday.jpg|Monday
</gallery>

The width of gallery is 4; thus, if you add two more pictures you will get a new row:

<gallery caption="My Gallery">
Image:Single_iris.jpg|Single Iris
Image:BuntzenWinter.jpg|Buntzen Winter
Image:Monday.jpg|Monday
Image:SnowLake.jpg|Snow Lake
Image:Sunset.jpg|Sunset
</gallery>

Another method of arranging the picture thumbnails is table method. To create a table you have to use this script:

{|
|}

To add the title do the following:

{|
|+'''My Cool Picture Table'''
|-
|}
My Cool Picture Table

Now let's add some picture:

{|
|+'''My Cool Picture Table'''
|-
|valign="top"|
[[Image:Single_iris.jpg|100px]]
|valign="center"|
[[Image:BuntzenWinter.jpg|120px]]
|valign="bottom"|
[[Image:Sunset.jpg|120px]]
|valign="top"|
[[Image:Monday.jpg|120 px]]
|valign="bottom"|
[[Image:SnowLake.jpg|150 px]]
|}
My Cool Picture Table

Single iris.jpg

BuntzenWinter.jpg

Sunset.jpg

Monday.jpg

SnowLake.jpg

If you want to put the last two pictures in the second row do this:

{|
|+'''My Cool Picture Table'''
|-
|valign="top"|
[[Image:Single_iris.jpg|100px]]
|valign="center"|
[[Image:BuntzenWinter.jpg|120px]]
|valign="bottom"|
[[Image:Sunset.jpg|120px]]
|-
|
|-
|valign="top"|
[[Image:Monday.jpg|120 px]]
|valign="bottom"|
[[Image:SnowLake.jpg|150 px]]
|}
My Cool Picture Table

Single iris.jpg

BuntzenWinter.jpg

Sunset.jpg

Monday.jpg

SnowLake.jpg

You can also manipulate the images in the table using your knowledge of image script. If you want to make "Single_iris.jpg" image smaller, make the picture thumbails, label them with their names and arrange them in better way, you can, for instance, this script:

{|
|+'''My Cool Picture Table'''
|-
|valign="top"|
[[Image:Single_iris.jpg|thumb|80px|left|Ceasar Iris]]
|valign="center"|
[[Image:BuntzenWinter.jpg|thumb|120px|left|Buntzen Winter]]
|valign="bottom"|
[[Image:Sunset.jpg|thumb|120px|left|Sunset]]
|-
|
|-
|valign="top"|
[[Image:Monday.jpg|thumb|120 px|left|Monday]]
|valign="bottom"|
[[Image:SnowLake.jpg|thumb|150 px|left|Snow Lake]]
|}
My Cool Picture Table
Ceasar Iris
Buntzen Winter
Sunset
Monday
Snow Lake

For more information visit Wikipedia.