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:
[edit] Title 1[edit] 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 | You can also break<br> lines without making a<br> new paragraph |
| * Point lists are simple: ** Start every line with a star *** The more stars, the deeper level. |
| # Ordered lists ## are also simple ## and shows the number # of elements listed |
| ; Definition lists : are lists of definitions ; Subject : subject definition |
A new line starts a new paragraph.
| :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.
| 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: | [[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: or four tildes to show your username with a timestamp:
| 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/ |
Commenting in the page code:
(Will not be shown on the page) | <!-- Comments here --> |