Help

Editing tips: Difference between revisions

No edit summary
No edit summary
Line 3: Line 3:




<nowiki>__NOTOC__</nowiki> Disables the Table of Contents. Place at the top or bottom of a page


<nowiki>{{Toc right no-numbers}}</nowiki> Inserts a Table of Contents without numbers. Place at the top of a page that has headings and/or sub-headings.


<div class="center">Center text like this:<br />
===Inserting a Table of contents (TOC)===
<nowiki><div class="center">Center text like this</div></nowiki>
For each page with more than three headings, a '''table of contents (TOC)''' is '''automatically''' generated from the section headings, unless:
</div>
 
<nowiki>__NOTOC__</nowiki> is added to the top or bottom of the page
 
If a page has fewer than four headings then
<nowiki>__TOC__</nowiki> is must be added where the TOC is required
 
To align the TOC to the right use:
<nowiki><div style="float:right;">__TOC__</div></nowiki>


<del>deleted text</del> <nowiki><del>deleted text</del></nowiki>
To insert a TOC with no numbers use:
<nowiki>{{Toc right no-numbers}}</nowiki>


===Formatting Text===


<u>underlined text</u> <nowiki><u>underlined text</u></nowiki>
<div class="center">Center text like this:
<nowiki><div class="center">Center text like this</div></nowiki>
</div>


*
New lines without spaces between them<br />
have the following code<br />
placed at the end of them
<nowiki>New lines without spaces between them<br />
have the following code<br />
placed at the end of them</nowiki>


Text before <nowiki><blockquote>Blockquote</blockquote></nowiki>
:New lines that are indented
<blockquote>Blockquote</blockquote>
:and have no spaces between them
Text after Blockquote with indent both left and right margins.
:begin with a colon
<nowiki>:New lines that are indented
:and have no spaces between them
:begin with a colon:</nowiki>


<del>deleted text</del>
<nowiki><del>deleted text</del></nowiki>


Use &amp;nbsp; to place a non-breaking space or multiple &nbsp;&nbsp;&nbsp;&nbsp;spaces &nbsp;&nbsp;like &nbsp;&nbsp;&nbsp;&nbsp;this &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;between &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;words.
<u>underlined text</u>
<nowiki><u>underlined text</u></nowiki>


''Italic text''
<nowiki>''Italic text''</nowiki>


''Italic'' <nowiki>''Italic''</nowiki>
'''Bold text'''
<nowiki>'''Bold text'''</nowiki>


<big>Big text</big>
<nowiki><big>Big text</big></nowiki>


'''bold''' <nowiki>'''bold'''</nowiki>
<small>Small text</small>
<nowiki><small>Small text</small></nowiki>


This sentence has some <sup>Superscript text</sup> in it.
<nowiki><sup>Superscript text</sup></nowiki>


<small>small text</small> <nowiki><small>small text</small></nowiki>
This sentence has some <sub>Subscript text</sub> in it.
<nowiki><sub>Subscript text</sub></nowiki>


A Blockquote will indent both left and right margins:
<blockquote>Blockquote</blockquote>
Text after the Blockquote
<nowiki><blockquote>Blockquote</blockquote></nowiki>


<big>big text</big> <nowiki><big>big text</big></nowiki>




in a line of <sup>superscript</sup> text <nowiki><sup>superscript</sup></nowiki>


Use &amp;nbsp; to place a non-breaking space or multiple &nbsp;&nbsp;&nbsp;&nbsp;spaces &nbsp;&nbsp;like &nbsp;&nbsp;&nbsp;&nbsp;this &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;between &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;words.


in a line of <sub>subscript</sub> text <nowiki><sub>subscript</sub></nowiki>




===Tables===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
|+ Table
|+ Table
Line 52: Line 86:
|}
|}


===Redirect===
To create a re-direct page use this code:
<nowiki>#REDIRECT [[article link]]</nowiki>


To creat a re-direct page use this code: <nowiki>#REDIRECT [[article link]]</nowiki>




New line <nowiki><br /></nowiki>




Line 74: Line 109:




<nowiki><!-- write an edit comment like this --></nowiki> <!-- This is a comment -->  
===Hidden comments===
Comments are visible only when using the edit tab.
To make hidden comments, simply add the HTML <tt>'''<nowiki><!-- </nowiki>'''</tt> tag, type what you want to hide, then end it with <tt>'''<nowiki> --></nowiki>'''</tt>&nbsp;, like this:
  <nowiki><!-- TEXT HERE WILL NOT BE DISPLAYED --></nowiki>
The HTML standard calls for a space character between the tags and the text. Many browsers accept the tags without the spaces, but you're safest using them for full compatibility.
 
Hidden comments are used mainly as notices to people editing a page.





Revision as of 10:07, 9 July 2014

  • You can get a little more help on editing by viewing the source of this help page (click the Edit tab)
  • There is more information on Wiki formatting here



Inserting a Table of contents (TOC)

For each page with more than three headings, a table of contents (TOC) is automatically generated from the section headings, unless:

__NOTOC__ is added to the top or bottom of the page

If a page has fewer than four headings then

__TOC__ is must be added where the TOC is required

To align the TOC to the right use:

<div style="float:right;">__TOC__</div>

To insert a TOC with no numbers use:

{{Toc right no-numbers}}

Formatting Text

Center text like this:
<div class="center">Center text like this</div>

New lines without spaces between them
have the following code
placed at the end of them

New lines without spaces between them<br />
have the following code<br />
placed at the end of them
New lines that are indented
and have no spaces between them
begin with a colon
:New lines that are indented
:and have no spaces between them
:begin with a colon:

deleted text

<del>deleted text</del>

underlined text

<u>underlined text</u>

Italic text

''Italic text''

Bold text

'''Bold text'''

Big text

<big>Big text</big>

Small text

<small>Small text</small>

This sentence has some Superscript text in it.

<sup>Superscript text</sup>

This sentence has some Subscript text in it.

<sub>Subscript text</sub>

A Blockquote will indent both left and right margins:

Blockquote

Text after the Blockquote

<blockquote>Blockquote</blockquote>



Use &nbsp; to place a non-breaking space or multiple     spaces   like     this        between             words.


Tables

Table
heading heading
cell cell
cell cell

Redirect

To create a re-direct page use this code:

#REDIRECT [[article link]]



Place Multpile blank lines (6) <br /><br /><br /><br /><br /><br />





before the next line of text.


Text before Horizontal line ---- or <hr>


text after Horizontal line


text before narrow horizontal line <hr width=20%>


text after line


Hidden comments

To make hidden comments, simply add the HTML <!-- tag, type what you want to hide, then end it with --> , like this:

 <!-- TEXT HERE WILL NOT BE DISPLAYED -->

The HTML standard calls for a space character between the tags and the text. Many browsers accept the tags without the spaces, but you're safest using them for full compatibility.

Hidden comments are used mainly as notices to people editing a page.


To the beginning of the text to be linked to add:

<span id="anchor_name">ANY TEXT HERE</span>

Then add #anchor_name to the end of the linking URL