Tutorial

From AGg Wiki
Jump to: navigation, search

A Wiki is a website that allows users to add, remove, edit, and upload content in a relatively simple manner. Any user with access to the wiki, has editor access to any page on that wiki (with exceptions).

In the case of AGg Wiki hosted on the Earth Server, only users with accounts on the Earth Server can login and edit the Wiki. If you have an @earth.geo.ucalgary.ca email address, then you have an account on Earth. If you try logging in with said account, and you cannot, than please contact Timothy Davison and he will modify your account to work with the Wiki.

Logging In

To login, simply click the link at the top right of any page on the wiki.

External Help

The best place to find out how to use this Wiki is from the mediawiki site. In particular, the Help page is useful.

Editing Pages

To edit a page, simply click the edit link at the top of any page on the Wiki. You will be presented with a text box in which you can modify the code that makes up that page. When you are finished with your changes, slick the Save Page button.

Creating New Pages

There are two ways to create a new page:

Uploading Images or Files

In the bottom left of every page, one should find a link in the toolbox labeled Upload file. This link will allow you to upload images, or other media to the wiki. Please give a descriptive name to the file, and if possible a summary.

Page Syntax

The best way to learn the syntax for this Wiki is to simply look at the code behind any of the pages on this or other wikis. To do this, simply click the edit link.

Some basic syntax:

Wiki Links

There are two types on links on a wiki page. Those that point to external sites and those that point to pages existing within the wiki.

  • To create an external link enclose the address (starting with http://) in [ and ] brackets. To give the link a nice name, use the following syntax [http://apple.com Apple] which will look like: Apple.
  • To create an internal link, enclose the name of the article you want to link to in [[ and ]] brackets. Please note, that spaces will be parsed as _ (underscore) characters.

Image Links

Inserting an image in a wiki page is pretty simple. Simple insert the [[Image:Sample_Image.jpg|left|100px|caption]] syntax. The left, 100px, and caption parts are optional (it would reduce then to [[Image:Sample_Image.jpg]]). 100px could be 200px, or whatever (200 pixels accross). left|right controls whether the image will be on the left or right of the page (center is also an option). Finally, caption is just a caption for the image. If you want to make a thumbnail link, just add thumbnail to the image link [[Image:Sample_Image.jpg|thumnail]].

Subsections

Within a page, you can create sections by enclosing the title of the section with == characters. For example == Subsection ==. You can create sub-subsections by inserting one more = character.

The wiki will automatically create a table of contents when the number of sections becomes great enough.

Tables

The basic syntax for a m column, n row table is:

{|
|-
| Column 1 Row 1
| Column 2 Row 1
| ... ...
| Column m Row 1
|-
| Column 1 Row 2
| Column 2 Row 2
|-
| ... ...
| ... ...
|-
| Column 1 Row n
| Column 2 Row n
| ...
| Column m Row n
|}

Take a look at Dr. Bernhard Mayer's page for an example of some more complex table formatting.

nowiki

There will be cases where you do not want the wiki to parse some text as a wiki command, in that case surround the text with the following <nowiki>[[This isn't a link!]]</nowiki>

Type Faces

  • Italic text is achieved with the following syntax ''some italic text''.
  • Bold text is achieved with the '''some bold text''' syntax.
  • One can create an unnumbered list (as in the list in this section) by inserting a * character at the start of each line. Sub sections for a list item, simple contain more stars.
    • A subsection example.
  • This wiki will support LaTeX equations. Simple surround such text with <math>x^2</math> syntax.
    • Support for LaTeX will be forth-coming.

Formatting

We should try to keep consistent formatting between all the pages on this wiki. So, take a look at the code behind existing pages to get an idea of how to format a new page. In particular head the following notes on People Pages.