Help:Editing

From Grand Theft Wiki
Revision as of 20:03, 9 August 2011 by Montario (Talk | contribs)

Jump to: navigation, search


This article explains how to format articles on Grand Theft Wiki. When you edit a page, you can use WikiMarkup or HTML to format.

To understand how to edit articles and for more information on editing, please read Help:How To


Links

[[Policy]]
  • Policy (A link to the page called Policy)
[[Policy|Grand Theft Wiki Policy]]
[[User:Xenon]]
  • User:Xenon (A link to the page of the user called Xenon)
[http://www.bbc.co.uk BBC Website]
  • BBC Website (A link to the website bbc.co.uk with the text "BBC Website")


Text Formatting

''text''
  • text - Italics (two apostrophes on each side}
'''text'''
  • text - Bold (three apostrophes on each side}
<u>text</u>
  • text (underline)
<s>text</s>
  • text - (Rule Out)
~~~
~~~~
  • Xenontalk 17:08, 28 July 2006 (BST) (your name and the date)
<tt>text</tt>
  • text (typewriter font for code)
X<sup>2</sup>, H<sub>2</sub>O
  • X2, H2O (superscript and subscript)
<nowiki>'''text'''</nowiki>
  • Does not format the text into text
Unformatted Text

Putting a blank space at the start of a line stops its contents being formatted.

  • Mathematical Formulae:
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

Headings

Headings are big dividers on pages, and they show up in the table of contents at the top if the page is large enough.

== heading ==
  • A <h2> heading, like "Headings" (above)
=== heading ===
  • A <h3> heading, like "Third Level" (below)

Third Level

==== heading ====
  • A <h4> heading, like "Fourth Level" (below)

Fourth Level

Please do not use =Heading=, because that creates a first-level heading that should only be used on page titles, which are implemented automatically.


Lists

  • One asterisk (*) makes the first item in a bulleted list, like this one
  • Two asterisks (**) make the next line in
      • Three
        • Four
      • Three
  • one
    • two
      • Three


  1. One hash (#) makes the first item in a numbered list
    1. Two hashes (##) make the next item
    2. And so on
      1. And so on
  2. The same as the bulleted list


Page Formatting

This is plain text.

A single colon (:) indents this text once
You can repeat this for a new line too
Two colons (::) indents twice
Three (:::) indents three times.
et cetera
#REDIRECT [[User:Xenon]]
  • This will redirect the current page to the page you mention. This should be used for other words that mean the same thing. For example, the page Sysop redirects to Administrators, because they are just two different words for the same thing.

Putting __NOEDITSECTION__ anywhere in an article prevents the little "Edit" buttons showing up at every heading. See Help:Magic Words.


Table of Contents

To place a table of contents over to the right hand side of the page, simply put {{toc}} where you want it to show. You can also use __NOTOC__ anywhere in an article to stop a table of contents showing up, and __FORCETOC__ to make one show up. See Help:Magic Words.


Categories

[[Category:Help]]

This will add the page to the list of Working Documents, and automatically place a link at the bottom of the page. This page IS in the Working Documents category, and so at the bottom of this page you can see the link to it.

If you just want to link to a category page, put a colon (:) at the start of the link such as [[:Category:Help]]


Templates

{{Help}}

This will show the code for whatever is in page Template:Help - this is the big help banner at the top of the page.


Tables

This is
a table
{| class="wikitable"
! This
! is
|- 
| a
| table
|-
|}