Jump to content

Help:Editing: Difference between revisions

used <pre> instead of just <nowiki>
m (shortcut)
(used <pre> instead of just <nowiki>)
Line 4: Line 4:


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


== Links ==
== Links ==
*<nowiki>[[Policy]]</nowiki>
<pre>[[Policy]]</pre>
**[[Policy]] (A link to the page called HowTo) CAPITALISATION MATTERS.
*[[Policy]] (A link to the page called HowTo) CAPITALISATION MATTERS.
*<nowiki>[[Policy|Grand Theft Wiki Policy]]</nowiki>
<pre>[[Policy|Grand Theft Wiki Policy]]</pre>
**[[Policy|Grand Theft Wiki Policy]] (A link to the page called Policy with the text "Grand Theft Wiki Policy")
*[[Policy|Grand Theft Wiki Policy]] (A link to the page called Policy with the text "Grand Theft Wiki Policy")
*<nowiki>[[User:Xenon]]</nowiki>
<pre>[[User:Xenon]]</pre>
**[[User:Xenon]] (A link to the page of the user called Xenon)
*[[User:Xenon]] (A link to the page of the user called Xenon)
*<nowiki>[http://www.bbc.co.uk BBC Website]</nowiki>
<pre>[http://www.bbc.co.uk BBC Website]</pre>
**[http://www.bbc.co.uk BBC Website] (A link to the website bbc.co.uk with the text "BBC Website")
*[http://www.bbc.co.uk BBC Website] (A link to the website bbc.co.uk with the text "BBC Website")
 


== Text Formatting ==
== Text Formatting ==


*<nowiki>''text''</nowiki>
<pre>''text''</pre>
**''text'' - Italics (two apostrophes on each side}
*''text'' - Italics (two apostrophes on each side}
*<nowiki>'''text'''</nowiki>
<pre>'''text'''</pre>
**'''text''' - Bold (three apostrophes on each side}
*'''text''' - Bold (three apostrophes on each side}
*<nowiki><u>text</u></nowiki>
<pre><u>text</u></pre>
**<u>text</u> (underline)
*<u>text</u> (underline)
*<nowiki>~~~</nowiki>
<pre>~~~</pre>
**[[User:Xenon|Xenon]]<sup>[[User talk:Xenon|talk]]</sup> (Your name)
*[[User:Xenon|Xenon]]<sup>[[User talk:Xenon|talk]]</sup> (Your name)
*<nowiki>~~~~</nowiki>
<pre>~~~~</pre>
**[[User:Xenon|Xenon]]<sup>[[User talk:Xenon|talk]]</sup> 17:08, 28 July 2006 (BST) (your name and the date)
*[[User:Xenon|Xenon]]<sup>[[User talk:Xenon|talk]]</sup> 17:08, 28 July 2006 (BST) (your name and the date)
*<nowiki><tt>text</tt></nowiki>
<pre><tt>text</tt></pre>
**<tt>text</tt> (typewriter font for code)
*<tt>text</tt> (typewriter font for code)
*<nowiki>X<sup>2</sup>, H<sub>2</sub>O</nowiki>
<pre>X<sup>2</sup>, H<sub>2</sub>O</pre>
**X<sup>2</sup>, H<sub>2</sub>O (superscript and subscript)
*X<sup>2</sup>, H<sub>2</sub>O (superscript and subscript)
*<nowiki><nowiki>'''text'''</nowiki></nowiki>
<pre><nowiki>'''text'''</nowiki></pre>
**Does not format the text into '''text'''
*Does not format the text into '''text'''
  ''Unformatted Text''
  ''Unformatted Text''
Putting a blank space at the start of a line stops its contents being formatted.
Putting a blank space at the start of a line stops its contents being formatted.
*Mathematical Formulae:
*Mathematical Formulae:
<nowiki><math>\sum_{n=0}^\infty \frac{x^n}{n!}</math></nowiki>
<pre><math>\sum_{n=0}^\infty \frac{x^n}{n!}</math></pre>
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>


== Headings ==
== 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.
Headings are big dividers on pages, and they show up in the table of contents at the top if the page is large enough.


*<nowiki>== heading ==</nowiki>
<pre>== heading ==</pre>
**A <nowiki><h2></nowiki> heading, like "Headings" (above)
*A <nowiki><h2></nowiki> heading, like "Headings" (above)
*<nowiki>=== heading ===</nowiki>
<pre>=== heading ===</pre>
**A <nowiki><h3></nowiki> heading, like "Third Level" (below)
*A <nowiki><h3></nowiki> heading, like "Third Level" (below)
=== Third Level ===
=== Third Level ===
*<nowiki>==== heading ====</nowiki>
<pre>==== heading ====</pre>
**A <nowiki><h4></nowiki> heading, like "Fourth Level" (below)
*A <nowiki><h4></nowiki> heading, like "Fourth Level" (below)
==== Fourth Level ====
==== Fourth Level ====
Please do not use <nowiki>=Heading=</nowiki>, because that creates a first-level heading that should only be used on page titles, which are implemented automatically.
Please do not use <nowiki>=Heading=</nowiki>, because that creates a first-level heading that should only be used on page titles, which are implemented automatically.


== Lists ==
== Lists ==


*One asterisk (*) makes the first item in a bulleted list, like this one
*One asterisk (*) makes the first item in a bulleted list, like this one
**Two asterisks (**) make the next line in
*Two asterisks (**) make the next line in
***Three
***Three
****Four
****Four
Line 83: Line 87:
::et cetera
::et cetera


*<nowiki>#REDIRECT [[User:Xenon]]</nowiki>
<pre>#REDIRECT [[User:Xenon]]</pre>
**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.
*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 <nowiki>__NOEDITSECTION__</nowiki> anywhere in an article prevents the little "Edit" buttons showing up at every heading. See [[Help:Magic Words]].


Putting <nowiki>__NOEDITSECTION__</nowiki> anywhere in an article prevents the little "Edit" buttons showing up at every heading.


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


== [[Categories]] ==
== [[Categories]] ==
Line 97: Line 103:


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


== [[Templates]] ==
== [[Templates]] ==
Line 106: Line 113:
== [[Help:Tables|Tables]] ==
== [[Help:Tables|Tables]] ==


{| border="1" cellspacing="0" cellpadding="5" align="center"
{| class="wikitable"
! This
! This
! is
! is
Line 115: Line 122:
|}
|}


<pre>{| border="1" cellspacing="0" cellpadding="5" align="center"
<pre>{| class="wikitable"
! This
! This
! is
! is
Cookies help us deliver our services. By using our services, you agree to our use of cookies.