Help:Basic editing

From IS Project Experience
Jump to navigation Jump to search

Basic editing

Editing a wiki page

You can edit either a whole page or just a section of a page.

To edit a whole page:

  1. Click on the edit tab at the top of the window. The content of the page will appear with an editing toolbar at the top.
  2. Make your additions or changes in the text area.
  3. Click the Save page button below the text area.

To edit a section of a page:

  1. Click the edit link that appears at the top of each page. The content of the section will appear with an editing toolbar at the top.
  2. Make your additions and changes in the text area.
  3. Click the Save page button below the text area.


Bulleted list

Type:

* One
* Two
** Two point One
* Three


  • One
  • Two
    • Two point One
  • Three


Numbered list

Type:

# One
# Two
## Two point One
# Three
  1. One
  2. Two
    1. Two point One
  3. Three


Bold text

Highlight the text you want to make bold and click on the bold text icon in the edit toolbar.


Bold.jpg


'''Bold text'''

Bold text


Italic text

Highlight the text you want to make italic and click on the italic text icon in the edit toolbar.

Italic.jpg

''Italic text''

Italic text


Internal and Piped links

  1. Go to a page on your wiki (e.g. https://wiki.smu.edu.sg/MGMT003/Special:Recentchanges).
  2. Copy the last part of the URL (e.g. Special:Recentchanges).
  3. Go to the page where you wish to add the link and click on the edit tab.
  4. Click on the Internal link button in the editing toolbar

Internallink.jpg

5. Replace Link title with the last part of the URL (e.g. Special:Recentchanges).


[[Link title]]

Change to

[[Special:Recentchanges]] 


You can also add a display text (Piped Link)

[[Special:Recentchanges|Recent Changes]] 


Special:Recentchanges

Recent Changes

External links

Externallink.jpg

  1. Click on the External link icon in the edit toolbar.
  2. Replace the web address with your URL.
  3. Replace link title with a link description.


[http://www.example.com link title]

Change to 

[http://www.smu.edu.sg Singapore Management University]


To show the URL then simply type the full URL

http://www.smu.edu.sg


Singapore Management University


http://www.smu.edu.sg

Table of content/headlines

  1. Highlight the text and click Level 2 headline icon in the edit toolbar.

Toc2.jpg

==Section 1==
Text

===Section 1.2===
Text

====Section 1.3====
Text

==Section 2==
Text

Toc.jpg

Adding an image

This is a two-step process. First you need to upload your file, and then insert it into a page. As a rule of thumb, images should be no larger in file size than 100 Kb and no larger in physical size than 640x480 pixels.

  1. Click on Upload file in the toolbox menu on the left hand side.
  2. Click on the Browse button and select the image file you wish to upload from your computer.
  3. Click Upload file (note the exact name of the file).
  4. Go to the page or page section where you wish to insert the image.
  5. Click on the embedded file icon in the editing toolbar.

Photo.jpg

6. Change “Example.jpg” to the name of the file that you uploaded.

[[Image:Example.jpg]]           Uploaded picture full size
[[Image:Example.jpg|right]]     Picture aligned to the right
[[Image:Example.jpg|100px]]     Picture 100 pixels wide


Upload and link to a document

It is a two-step process to upload and link to a file such as a PDF, Word document or Excel spreadsheet.

  1. Click on Upload file in the toolbox menu on the left hand side.
  2. Click on the Browse button and select the file you wish to upload from your computer. Note the exact name of the file.
  3. Click Upload file.
  4. Go to the page or page section where you wish to insert the image.
  5. Click on the File link icon in the editing toolbar.

File.jpg

6. Change Example.ogg to the name of the file that you uploaded.


[[Media:Example.ogg]]

change to

[[Media:Test.doc]]

You can also add a text to the link

[[Media:Test.doc|Test document]]

Media:Test.doc

Test document


Displaying a formula

  1. Click on the mathematical formula in the tool bar.

Formula.jpg

2. Add the formula in the tag.

Ignore wiki formatting

  1. Highlight the word you do not want to be formatted.
  2. Click on Ignore wiki formatting in the tool bar.

Format.jpg

[[micro-]]second

micro-second

Add a signature

Sign.jpg

  1. Click on the signature tool icon in the editing toolbar. A combination of lines and squiggles will appear in the editing area.
--~~~~

--Magnuslb 16:04, 22 June 2009 (SGT)


Add horizontal line

Click on the horizontal line icon in the editing toolbar.

Horizontal.jpg


----



Add e-mail address

Type:

[mailto:YourID@smu.edu.sg Your Name]

Your Name


Move content

If you want to move a section of a wiki page text to a new wiki page then it can easily be done by cutting and pasting the markup text. You do not need to worry about photo links, Mediawiki will automatically make sure that the photo links works within the same wiki


  1. Go to the page that you want to move text from and click on the edit tab
  2. Cut the section of the markup text that you want to move and click save
  3. Paste the markup text on your new wiki page and click save


If you want to move a full page then it is recommended to use the move function instead. This since the history of the wiki page will disappear when you cut and paste the text.

Indented text

To indent a paragraph, simply place a colon (:) in the beginning of the text. The more colons you put, the further the indention will be. A newline (Enter) marks the end of the indented paragraph.

Example:

This is a normal text. 
:This is indented text. 
::This is indented more.

This is a normal text.

This is indented text.
This is indented more.

Definition list

You can create a definition list by using semicolon (;) colon (:).

Example:

;item 1
: definition 1-1
: definition 1-2
;item 2
: definition 2-1
: definition 2-2
item 1
definition 1-1
definition 1-2
item 2
definition 2-1
definition 2-2

Anchoring

To create a link within a document is called anchoring. To create an anchor, simply use brackets [] and a link to a headline. To create an anchor to the bold text headline of this wiki page simply type:


Anchor to bold text of this page [https://wiki.smu.edu.sg/training/Help:Basic_editing#Bold_text]

Anchor to bold text of this page [https://wiki.smu.edu.sg/training/Help:Basic_editing#Bold_text