Help:Editing

From Otnews.net
Jump to: navigation, search

Introduction

Within a wiki all text formatting (bold, italics, etc.) and links are defined via a simple markup language. This page lists the key markup elements that are used within this wiki. If you need to produce more sophisticated effects, or simply want to know more about the possibilities that are available, you should also see the editing page at the Wikimedia site.

Sections, Paragraphs and Lists

Wiki Markup Rendered output Notes
== New Section ==

New Section

Use sections and subsections liberally to help organise pages within the wiki. A table of contents will automatically be created at the top of the page when there are more than three sections
=== New Subsection ===

New Subsection

==== New Subsubsection ====

New Subsubsection

Paragraphs are just normal text such as this.


Put some blank lines between them - one or more carriage returns does the trick.
Paragraphs are just normal text such as this.
Put some blank lines between them - one or more carriage returns does the trick.
 

* Bulleted lists are easy

* Just add an asterisk at the start of the line

** More asterisks

*** Give you more indentation
  • Bulleted lists are easy
  • Just add an asterisk at the start of the line
    • More asterisks
      • Give you more indentation
 

# Similarly for numbered lists
# Just add a hash at the start of the line
## More hashes
### Give you more indentation
### Like this

  1. Similarly for numbered lists
  2. Just add a hash at the start of the line
    1. More hashes
      1. Give you more indentation
      2. Like this
 


Links and URLs

Wiki Markup Rendered output Notes
Links to pages within the wiki are achieved simply by enclosing the page name in two sets of square brackets:
[[Main Page]]
Main Page If your link points to a page that doesn't exist yet, it will appear in red. If you were trying to link to an existing page, double-check the spelling. Otherwise you can click on the red link to create and edit the new page.

Creating a link to a non-existent page is the best way to create a new page when you need to.
If you would like the link text to say something different, enter the desired text after a pipe:
[[Main Page|Otnews Home]]
Otnews Home
Links to external pages can be achieved simply by typing the URL (with the http:// part):
http://www.johnotway.com/
http://www.johnotway.com/ Note that external links also have a small icon to indicate that they point to a different server
External URLs must not contain spaces. Spaces must be replaced by %20 if they are present in the URL
If you would like the link text to say something different, enclose the URL in a single set of square brackets and include the text after a space character:
[http://www.johnotway.com/ Otway's Site]
Otway's site

Character Formatting

Wiki Markup Rendered output Notes

_Starting a line with a space
_causes it to be formatted
_exactly as typed.

_Useful for code snippets.
Starting a line with a space
causes it to be formatted
exactly as typed.
Useful for code snippets.
The underscore is being used to represent the space character. In real markup you would just use a space at the start of the line
''Emphasise some text''
'''Really emphasise some text'''
'''''Really, really emphasise some text'''''
Emphasise some text

Really emphasise some text

Really, really emphasise some text
These are 2, 3 and 5 sets of single quotes - not double quotes, backticks or anything similar. The markup has been displayed in fixed-font style to clarify this


Discussion Pages

If you add anything to a discussion page (every page on the site has an associated discussion page), then please follow your comment with four tildes, which will insert your username plus a timestamp:

Wiki Markup Rendered output
~~~~ xav 16:49, 6 June 2008 (UTC)
Personal tools