User:Nersesar: Difference between revisions
m (Reverted edits by 82.148.98.34 (Talk); changed back to last version by MitchellNCharity) |
|||
(33 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
==Registering== |
==Registering== |
||
First of all, |
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 <pre><nowiki>[[Image:Single_iris.jpg]]</nowiki></pre> |
|||
It will bring you the following picture: [[Image:Single_iris.jpg]] |
|||
[[Image:Single_iris.jpg|frame]]You can additional features to this picture; first, let us start with making a frame for it: <pre><nowiki>[[Image:Single_iris.jpg|frame]]</nowiki></pre> |
|||
Now try out the following: <pre><nowiki>[[Image:Single_iris.jpg|frame|left]]</nowiki></pre> |
|||
[[Image:Single_iris.jpg|frame|left]] |
|||
You can also try out <pre><nowiki>[[Image:Single_iris.jpg|center]]</nowiki></pre> |
|||
or <pre><nowiki>[[Image:Single_iris.jpg|frame|left]]</nowiki></pre> |
|||
It is also possible to resize images with the following script |
|||
<pre><nowiki>[[Image:Single_iris.jpg|100 px]]</nowiki></pre> |
|||
<div style="display:inline;">[[Image:Single_iris.jpg|100 px]]</div> |
|||
Thumbnails are available as well; however, from this point on I will suggest to take the following general script: <pre><nowiki>[[Image:{name}.{extension}|thumb|{size}|{align}|{title}]]</nowiki></pre> |
|||
For example: <pre><nowiki>[[Image:Single_iris.jpg|thumb|220px|center|Ceasar Iris]]</nowiki></pre> |
|||
[[Image:Single_iris.jpg|thumb|90px|center|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 [http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax 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 |
|||
<pre><nowiki><gallery caption="My Gallery"> |
|||
</gallery></nowiki></pre> |
|||
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: |
|||
<pre><nowiki><gallery caption="My Gallery"> |
|||
Image:Single_iris.jpg|Single Iris |
|||
Image:BuntzenWinter.jpg|Buntzen Winter |
|||
Image:Monday.jpg|Monday |
|||
</gallery></nowiki></pre> |
|||
<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: |
|||
<pre><nowiki><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></nowiki></pre> |
|||
<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: |
|||
<pre><nowiki> |
|||
{| |
|||
|} |
|||
</nowiki></pre> |
|||
To add the title do the following: |
|||
<pre><nowiki> |
|||
{| |
|||
|+'''My Cool Picture Table''' |
|||
|- |
|||
|} |
|||
</nowiki></pre> |
|||
{| |
|||
|+'''My Cool Picture Table''' |
|||
|- |
|||
|} |
|||
Now let's add some picture: |
|||
<pre><nowiki> |
|||
{| |
|||
|+'''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]] |
|||
|} |
|||
</nowiki></pre> |
|||
{| |
|||
|+'''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|120px]] |
|||
|valign="bottom"| |
|||
[[Image:SnowLake.jpg|120 px]] |
|||
|} |
|||
If you want to put the last two pictures in the second row do this: |
|||
<pre><nowiki> |
|||
{| |
|||
|+'''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]] |
|||
|} |
|||
</nowiki></pre> |
|||
{| |
|||
|+'''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]] |
|||
|} |
|||
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: |
|||
<pre><nowiki> |
|||
{| |
|||
|+'''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]] |
|||
|} |
|||
</nowiki></pre> |
|||
{| |
|||
|+'''My Cool Picture Table''' |
|||
|- |
|||
|valign="top"| |
|||
[[Image:Single_iris.jpg|thumb|80px|left|Ceasar Iris]] |
|||
|valign="top"| |
|||
[[Image:BuntzenWinter.jpg|thumb|120px|left|Buntzen Winter]] |
|||
|valign="top"| |
|||
[[Image:Sunset.jpg|thumb|120px|left|Sunset]] |
|||
|- |
|||
| |
|||
|- |
|||
|valign="top"| |
|||
[[Image:Monday.jpg|thumb|120 px|left|Monday]] |
|||
|valign="top"| |
|||
[[Image:SnowLake.jpg|thumb|150 px|left|Snow Lake]] |
|||
|} |
|||
For more information visit [http://en.wikipedia.org/wiki/Help:Images_and_other_uploaded_files Wikipedia]. |
Latest revision as of 19:00, 18 September 2007
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:
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]]
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]]
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]]
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''' |- |}
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]] |}
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]] |}
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]] |}
For more information visit Wikipedia.