From HobbitHoleWiki

HobbitHoleWiki:How to edit a page

From HobbitHoleWiki

This article will teach you how to format a HobbitHoleWiki page correctly.

If you want to test anything, use the sandbox.

Table of contents

Simple formatting

To get: Write: What it'll look like:
Link
[[J.R.R. Tolkien]]<br>[[Cher]]
J.R.R. Tolkien
Cher
Italic
''Italic text''
Italic text
Bold text
'''Bold text'''
Bold text
Bold and italic text
'''''Bold and italic text'''''
Bold and italic text
Paragraph
Paragraph one…
Paragraph two…
Paragraph one…

Paragraph two…

Other than this, a lot of normal HTML works, like <br>, <table>, and its subelements <tr>, <th> and <td>

If you wonder how someone has done something in an article, just press edit and find the part that you wonder about. You don't have to save the page then. Good luck!

Sections, paragraphs, lists and lines

What looks like this: is written like this:
Subsections have titles:

Title 1

Title 2

===Title 1===
====Title 2====

A simple line break has no impact on the appearance. You can use line breaks to separate sentences inside paragraphs.

One blank line, however, starts a new paragraph.

A simple line break
has no impact
on the appearance.
You can use line breaks
to separate sentences
inside paragraphs.
One blank line, however,
starts a new paragraph.
You can also break

lines without making a
new paragraph

You can also break<br>
lines without making a<br>
new paragraph
  • Unordered lists are simple:
    • Start every line with a star
      • The more stars, the deeper level.
* Point lists are simple:
** Start every line with a star
*** The more stars, the deeper level.
  1. Ordered lists
    1. are also simple
    2. and shows the number
  2. of elements listed
# Ordered lists
## are also simple
## and shows the number
# of elements listed
Definition lists 
are lists of definitions
Subject 
subject definition
; Definition lists : are lists of definitions
; Subject : subject definition
A colon indents a paragraph.

A new line starts a new paragraph.

  • This is very handy in discussions; write one more colon than the last replier, and it will appear threaded.
:A colon indents a paragraph.
A new line starts a new paragraph.
IF a line starts with a space,
 it will be formatted like this,
    just as it is written;
 with a monospace font.
IF a line starts with a space,
 it will be formatted like this,
    just as it is written;
 with a monospace font.
Centered text.
<center>Centered text.</center>
Horizontal line: This is above

This is below.

Horizontal line: This is above
----
This is below.

Links and URLs

What looks like this: is written like this:
My favourite author is J.R.R. Tolkien.
  • This is for internal links, and this will link to http://www.ourhobbithole.com/index.php?title=J.R.R._Tolkien
  • As you see, the space is changed to an underscore. It is possible to link to pages using an underscore instead of a space, but it is unnecessary and unæsthetical.
My favourite author is [[J.R.R. Tolkien]].
A link to a part of a page:

Tolkien's Books#1954 will link to the secion 1954 in the document Tolkien's Books.

[[Tolkien's Books#1954]]
Linking to a target using a different link text:

Tolkien has writen many books.

Tolkien has writen [[Tolkien's Books|many books]].
Endings are just added after the link:

Tolkienholic

[[Tolkien]]holic
In discussions, you should

add your name after what you have written: You can do that by added three tildes to show your username:

Jon Harald Søby

or four tildes to show your username with a timestamp:

Jon Harald Søby 12:38, 17 Mar 2005 (MST)
In discussions,
you should add your name after
what you have written: You can
do that by added three tildes to
show your username:
:~~~
or four tildes to show your
username with a timestamp:
:~~~~
Redirecting one article to another is simple. The page Tolkien is in fact a redirect to the page J.R.R. Tolkien, and the code used there is:
#redirect [[J.R.R. Tolkien]]
External link: Google (http://www.google.com/)
External link: [http://www.google.com/ Google]
Or you can just write its URL:

http://www.google.com/

http://www.google.com/
Commenting in the page code:

(Will not be shown on the page)

<!-- Comments here -->
Since December 17, 2004
Hobbits have been here.