Difference between revisions of "Help:Markup"

From THCCwiki
Jump to navigation Jump to search
m (→‎More: One page = one topic)
m (One page = one topic, more formatting)
Line 3: Line 3:
  
 
== Formatting a wiki page ==
 
== Formatting a wiki page ==
 +
 +
Headings start and end with 2 or 3 = signs.
  
 
To make text bold, surround the text with three single quotes (ticks).
 
To make text bold, surround the text with three single quotes (ticks).
Line 11: Line 13:
 
Without a blank line, the text flows on in the same paragraph.
 
Without a blank line, the text flows on in the same paragraph.
  
Headings use 2 or 3 = signs and lists use * or # signs.
+
Lists have a * or # sign as the first character.
  
 +
Lines starting with one or more spaces are not reformatted.
 +
 +
Lines starting with a : are indented.
 
<table cellspacing=0 cellpadding=10 border=1>
 
<table cellspacing=0 cellpadding=10 border=1>
<tr><td>'''This text'''<td>'''looks like this'''
+
<tr><td>'''This text ...'''<td>'''looks like this ...'''
 
<tr><td valign=top>
 
<tr><td valign=top>
 
<pre><nowiki>
 
<pre><nowiki>
Line 35: Line 40:
 
##Nested numbered item
 
##Nested numbered item
 
#End of the numbered list
 
#End of the numbered list
 +
 +
Two lines starting '''without''' a space
 +
One line having extra    spaces
 +
 +
Two lines starting '''with''' a space
 +
One line having extra    spaces
 +
 +
:Two lines starting with a '''colon'''
 +
:One line having extra    spaces
 
</nowiki></pre>
 
</nowiki></pre>
 
<td valign=top>
 
<td valign=top>
Line 55: Line 69:
 
##Nested numbered item
 
##Nested numbered item
 
#End of the numbered list
 
#End of the numbered list
</tr></table>
 
  
You can also use the toolbar buttons which appear above the text entry box. If you want to experiment with writing an entry, please do so in the [[sandbox]]. And finally, when you're editing you can always use the "Show preview" button to check how your entry will look, just remember to save your changes once you are happy with them.
+
Two lines starting '''without''' a space
 +
One line having extra    spaces
  
== Linking to other wiki pages ==
+
Two lines starting '''with''' a space
 +
One line having extra    spaces
  
To link to another page in the THCC wiki put two square brackets around the page name.
+
:Two lines starting with a '''colon'''
 +
:One line having extra    spaces
 +
</tr></table>
  
* For example, <code><nowiki>[[FAQ]]</nowiki></code> will change the word FAQ into a link to the FAQ page: [[FAQ]].
+
You can also use the toolbar buttons which appear above the text entry box. If you want to experiment with writing an entry, please do so in the [[sandbox]]. And finally, when you're editing you can always use the "Show preview" button to check how your entry will look, just remember to save your changes once you are happy with them.
 
 
If you want the link to be different to the page name then follow the page name with a '''bar''' symbol and then the text that should be displayed.
 
 
 
* For example, <code><nowiki>[[FAQ|Frequently asked questions]]</nowiki></code> will create a link to the FAQ page but display this link spelled out in full: [[FAQ|Frequently asked questions]].
 
 
 
== Linking to web pages ==
 
 
 
To link to a web page outside this wiki, put one square bracket around the page address (URL) or just leave the URL alone.
 
 
 
* For example, <code><nowiki>[http://www.ukriversguidebook.co.uk/]</nowiki></code> produces a simple link like this [http://www.ukriversguidebook.co.uk/].
 
 
 
* Without the brackets, <code><nowiki>http://www.ukriversguidebook.co.uk/</nowiki></code> the URL is displayed as the link http://www.ukriversguidebook.co.uk/.
 
 
 
Again, if you want the link to be some specific text, rather than the URL itself, use brackets, follow the URL with a space and then the text that should be displayed.
 
 
 
* For example, <code><nowiki>[http://www.ukriversguidebook.co.uk/ UK Rivers Guide Book]</nowiki></code> produces [http://www.ukriversguidebook.co.uk/ UK Rivers Guide Book].
 
  
 
==More==
 
==More==
  
 +
* {{HelpEditing}}
 
* http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page
 
* http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page
 
* http://meta.wikimedia.org/wiki/Help:Editing
 
* http://meta.wikimedia.org/wiki/Help:Editing
 +
* http://meta.wikimedia.org/wiki/Help:Editing_toolbar Explains each of the buttons above the text entry box

Revision as of 12:17, 16 May 2009

Here are a few basic pointers on editing a page. For a more detailed description you can visit the MediaWiki guide.

Formatting a wiki page

Headings start and end with 2 or 3 = signs.

To make text bold, surround the text with three single quotes (ticks).

To make text italic, surround the text with two single quotes.

A blank line is used to indicate the end of a paragraph. Without a blank line, the text flows on in the same paragraph.

Lists have a * or # sign as the first character.

Lines starting with one or more spaces are not reformatted.

Lines starting with a : are indented.

This text ...looks like this ...
==Main Heading==
===Sub Heading===

'''To boldly go'''.

''Some italic text.''

*A list with bullets
*Another item in the list
**Nested item
**'''Another''' nested item
*Final item in this list

#A list with numbers
#You can nest these as well
##Nested numbered item
##Nested numbered item
#End of the numbered list

Two lines starting '''without''' a space
One line having extra     spaces

 Two lines starting '''with''' a space
 One line having extra     spaces

:Two lines starting with a '''colon'''
:One line having extra     spaces

Main Heading

Sub Heading

To boldly go.

Some italic text.

  • A list with bullets
  • Another item in the list
    • Nested item
    • Another nested item
  • Final item in this list
  1. A list with numbers
  2. You can nest these as well
    1. Nested numbered item
    2. Nested numbered item
  3. End of the numbered list

Two lines starting without a space One line having extra spaces

Two lines starting with a space
One line having extra     spaces
Two lines starting with a colon
One line having extra spaces

You can also use the toolbar buttons which appear above the text entry box. If you want to experiment with writing an entry, please do so in the sandbox. And finally, when you're editing you can always use the "Show preview" button to check how your entry will look, just remember to save your changes once you are happy with them.

More