Help:Contents

From The Space Library

Revision as of 01:25, 17 April 2010 by RobertG (Talk | contribs)
Jump to: navigation, search

Spacewiki is in beta-testing.

There are currently only a handful of pre-programmed templates for formatting pages. Spacewiki is capable of hosting Flash video and MP3 audio. It is also capable of hosting PDF files as well as JPG and GIF images.

Contents

Creating a new page

To create a new page is as simple as searching for a subject using the search box at left. If the page you wish to create does not already exist, then a link will be provided to create that page. Click on the red link marked "create this page" and an editing box will open. Then just start typing. Remember once you create a page, no one else can alter it, except the administrators. It is protected. Please do not abuse this privilege by randomly creating pages simply to lock them down. Cyber-squatting will be interpreted as abuse. Anyone doing this will have their access disabled.

A toolbar is at the top of your editing box for making style choices, as well as for creating links to internal and external locations and uploaded files.

Audio, PDF documents and images can be uploaded through the Upload link in the Toolbox at left of your screen. If you upload files please be sure to provide an adequate description of the file.

Redirecting a page

To redirect a page, for example if you want to redirect Neil Armstrong to Neil A. Armstrong, on the "Neil Armstrong" page simply replace all the code on the page with #REDIRECT followed by [[Neil A. Armstrong]]. Please use this function with care. Once this is in place anyone typing "Neil Armstrong" will be automatically redirected to the "Neil A. Armstrong" page.

Adding images to a page

To add an image, first upload it with an adequate description using the "Upload File" link in the Toolbox at left on your screen. To add it to a page use the "Embedded File" button in the editing toolbar - OR - cut and use this code to display the image at a smaller resolution. Make sure you use the whole line of code including the square brackets at each end.

[[Image:name of your image.jpg|border|200px]]

In this instance the image will display at 200 pixels width with a grey border.

If you wish to add a gallery of images the code is:

<gallery>
Image:filename.jpg
Image:filename2.jpg
</gallery>

It is not currently possible to make a picture into a hyperlink.

Adding video to a page

Spacewiki currently supports FLV flash video. After uploading your video using the upload button in the toolbox at left, use the following code to place the video player in your page. Remember file names and extensions are case sensitive.

<mediaplayer>File:nameofyourfile.flv</mediaplayer>

An example can be seen HERE

Audio Upload and Playback

Spacewiki supports MP3 audio. Your MP3 file needs to be standard 44khz. 48khz is not currently supported. Spacewiki uses the same player for audio as it does for video. You may want your audio player to appear smaller, since there is no picture. You can use standard "flash variables" to size the player by pixel count. Here is an example of the code for playing an MP3 audio file that is 24 pixels high and 200 pixels wide:

<mediaplayer height=24 width=200>File:nameofyourfile.mp3</mediaplayer>

An example can be seen HERE.

Code for creating a personal page

A personal page can be created using a standard template. An example of what this looks like can be found HERE. An image of the person should be about 200 pixels wide and uploaded as a JPG.

To start your personal page, cut and paste the code from the dotted box below into your page and then change the information to the right of the equals signs. e.g. 'title =' is followed by your name, 'image =' is followed by an image link to your photograph. The lines that start 'label =' will appear as a subheading on the left of the box and the lines that start 'data =' appears to the right of each subheading.

{{Infobox

|bodystyle    = float:right; valign:top;
|title        = Person's name
|titlestyle   = 
|image        = [[Image:imageofperson.jpg]]
|imagestyle   = 
|caption      = Picture caption e.g. name circa 1970
|captionstyle = 
|headerstyle  = background:#ccf;
|labelstyle   = background:#ddf;
|datastyle    = text-align:right;
|header1 = 
|label1  = 
|data1   = 
|header2 = 
|label2  = Birth Name
|data2   = Person's full name
|header3 = 
|label3  = Birth Date
|data3   = e.g. April 4th 1929
|header4 = 
|label4  = Birth Place
|data4   = e.g. Staten Island, New York, USA
|label5  = Date of Death
|data5   = Leave blank if alive
|label6  = Place of Death
|data6  = Leave blank if alive
|label7 = Occupation
|data7 = Engineer, Author etc
|label8 = Nationality
|data8 = e.g. United States of America
|label9 = Notable Works
|data9 = ''Name of Book'', ''Name of Movie''
}}

This code will produce a box that looks like the one at right:

Person's name
Image:Imageofperson.jpg
Picture caption e.g. name circa 1970
Birth Name Person's full name
Birth Date e.g. April 4th 1929
Birth Place e.g. Staten Island, New York, USA
Date of Death Leave blank if alive
Place of Death Leave blank if alive
Occupation Engineer, Author etc
Nationality e.g. United States of America
Notable Works Name of Book, Name of Movie


Creating a "Contents" box at the top of a page

By creating at least four separate headings, Spacewiki will generate a Contents box at the top of the page. Headings are created by placing two equals signs == on either side of your desired heading text.

To sell premium content

If you wish to sell premium content, such as an ebook download, it is necessary to send your content to the Spacewiki administrator. An ID number will be assigned to the file by the administrator. After that it is simple to create a "Buy It Now" button on your page using the following code.

<paypal>assigned item ID number</paypal>

e.g.

<paypal>54</paypal>

Spacewiki will host the file and process payment. An agreed-upon fee will be charged for these sort of transactions.