Help:Editing

From MyUPBWiki

Jump to: navigation, search

Welcome to the help page for editing the myUPB wiki. This will give you a crash course in formatting and data management to post here. For a more detailed guide, visit the MediaWiki help page.

Contents

Basic Formatting

Here are the simple commands to format text: To bold text:

Put three single-quotes around the text: '''This text is bold'''

To italicize text:

Put two single-quotes around the text: ''This text is italic''

Using a typewriter font:

Use the <tt> and </tt> tags to make typewriter text

Underlines and strikethroughs are done just like in HTML:

<u>Underlined</u> and <strike>Striked</strike>

Subscript (xi) and Superscript (x2)

Subscript is done like this: x<sub>i</sub>, Superscript is: x<sup>2</sup>

Section Headings

To make sections in your pages, you must define section headings. Headings are done in tree-style, using heading levels.

Use equal signs to make headings:
== Heading 1 ==
=== Heading 2 ===
==== Heading 3 ====
and so on.

Newlines

If you make a newline in the edit page, it has no effect on formatting. For example:

Text is here Line 2 is here

Text is here
Line 2 is here

To seperate lines, you must use a line break tag: <br />. The only exception to this is in <pre> tags which are explained below.

Text is here<br />
Line 2 is here

Text is here
Line 2 is here

If you skip a line, however, the system treats it as a new paragraph and uses <p> tags to separate it:

Paragraph 1

Paragraph 2

Lists

Using lists is easy with wikitext. It's as easy as one character.

Unordered (Bulleted) Lists

To make a bulleted list, use the * character:

* Item 1
* Item 2
* Item 3

That code makes this list:

  • Item 1
  • Item 2
  • Item 3

Ordered Lists

To make a numbered list, use the # character:

# Item 1
# Item 2
# Item 3

That code makes this list:

  1. Item 1
  2. Item 2
  3. Item 3

A newline marks the end of a list and restarts numbering:

# Item 1
# Item 2
Newline
# Item 3

That code makes this list:

  1. Item 1
  2. Item 2

Newline

  1. Item 3

Definition Lists

You can make indented definition lists too:

Word
Definition
; Word <- use a semicolon for the word
: Definition <- use a colon for the definition

Horizontal Lines

Use four hyphens to make a horizontal bar. Try to use section headers instead of bars whenever possible though.

Text above
----
Text below

Text above


Text below

Links

Internal Links

To link to an internal document — that is, a page inside this wiki — use double-square-brackets:

Go to the [[Main Page]]

Go to the Main Page

To label an internal link differently than its file name, use a pipe:

Click [[Main_Page|here]] for the Main Page

Click here for the Main Page

External Links

Linking to an external file is just as easy. Use a single square bracket instead:

External site: [http://www.google.com]

If you don't give an external link a label, it will get a notation link like this: [1]. To label an external link, leave one space after the URL and put the label:

Go to the [http://www.google.com external site].

Go to the external site.

If you just type a URL without brackets, it will be linked as the actual URL (no notation or label) http://www.google.com

Code blocks

To make the spiffy code blocks like on this page, use a combination of the <pre> and <nowiki> tags:

<pre><nowiki>This text is in a code block</nowiki></pre>

Making New Pages

To make a new page, either click a link from another page that points to a non-existant page (will be colored red by the system), or go to a non-existant URL. For example, http://www.myupb.com/wiki/index.php/Non_Existant_Page. It will automatically give you a new page to edit.

Personal tools