Help:Contents

From The Space Library

Revision as of 02:12, 26 February 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 there is no page with the title you wish to create, then a link will be provided to create that page. Click on the link marked "create this page" and an editing box will open. Just start typing.

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, video, 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.

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>

Video Upload and Playback

The code for playing a Flash video file is as follows:

<flash>file=nameofyourvideo.swf|width=40%|height=200|bgcolor=#009900|play=false|quality=best</flash>

The height is in pixels, bgcolor is changeable using standard hexadecimal code, if play is set to "false" the video won't play until play is selected by the user.

You can use SWF or FLV video files. Spacewiki is case sensitive so make sure you use the correct case in your filename.

Audio Upload and Playback

The code for playing an MP3 audio file is as follows:

<flashmp3>name of file.mp3</flashmp3>

Code for creating a personal page

A personal page can be created using this standard template. An image of the person should be about 200 pixels wide and uploaded as a JPG. Cut and paste this code into your page and change the information to the right of the equals signs.

{{Infobox |bodystyle = float:right; valign:top; |title = Persons 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 this:

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 the file to the Spacewiki administrator. An ID number will be assigned to the file. After that it is simple to create a "Buy It Now" button on your page using the following code.

<paypal>Item ID number</paypal>

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