Help

Editing tips: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
*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 [https://en.wikipedia.org/wiki/Help:Wiki_markup Wiki formatting here]
*There is more information on [https://en.wikipedia.org/wiki/Help:Wiki_markup Wiki formatting here]




__TOC__


====<u>Inserting a Table of contents (TOC)</u>====


===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:
For each page with more than three headings, a '''table of contents (TOC)''' is '''automatically''' generated from the section headings, unless:


Line 19: Line 19:
  <nowiki>{{Toc right no-numbers}}</nowiki>
  <nowiki>{{Toc right no-numbers}}</nowiki>


===Formatting Text===
====<u>Formatting Text</u>====


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


*<nowiki><br /></nowiki>
=====New un-spaced lines=====
 
New lines without spaces between them<br />
New lines without spaces between them<br />
have the following code<br />
have the following code<br />
Line 34: Line 34:
placed at the end of them</nowiki>
placed at the end of them</nowiki>


:
:New lines that are indented
:New lines that are indented
:and have no spaces between them
:and have no spaces between them
Line 42: Line 41:
:begin with a colon:</nowiki>
:begin with a colon:</nowiki>


<nowiki><del></del></nowiki>
=====Deleted text=====
<del>deleted text</del>  
<del>deleted text</del>  
  <nowiki><del>deleted text</del></nowiki>
  <nowiki><del>deleted text</del></nowiki>


=====Underlined text=====
<u>underlined text</u>
<u>underlined text</u>
  <nowiki><u>underlined text</u></nowiki>
  <nowiki><u>underlined text</u></nowiki>


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


=====Bold text=====
'''Bold text'''
'''Bold text'''
  <nowiki>'''Bold text'''</nowiki>
  <nowiki>'''Bold text'''</nowiki>


=====Large text=====
<big>Big text</big>
<big>Big text</big>
  <nowiki><big>Big text</big></nowiki>
  <nowiki><big>Big text</big></nowiki>


=====Small text=====
<small>Small text</small>
<small>Small text</small>
  <nowiki><small>Small text</small></nowiki>
  <nowiki><small>Small text</small></nowiki>


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


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


=====Multiple blank lines=====
To place multiple blank lines <br /><br /><br /><br /><br /><br />
before the next line of text.
To place multiple blank lines
<nowiki><br /><br /><br /><br /><br /><br /></nowiki>
<br /><br /><br /><br /><br /><br />
before the next line of text.
=====Multiple spaces=====
To place multiple &nbsp; &nbsp; &nbsp; &nbsp; spaces &nbsp; &nbsp; between &nbsp; &nbsp; &nbsp; &nbsp; words.
To place multiple &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; spaces &amp;nbsp; &amp;nbsp; between &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; words.
=====Blockquote=====
A Blockquote will indent both left and right margins:
A Blockquote will indent both left and right margins:
<blockquote>Blockquote</blockquote>  
<blockquote>Blockquote</blockquote>  
Line 72: Line 91:
  <nowiki><blockquote>Blockquote</blockquote></nowiki>
  <nowiki><blockquote>Blockquote</blockquote></nowiki>


=====Special Characters and Symbols=====
*More info can be [https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Character_entity_references_in_HTML found here]


{| border="1" cellpadding="5" cellspacing="0"
|+
! Name !! Char !! Code
|-
| and || &amp; || &amp;amp;
|-
| ellipsis || &hellip; || &amp;hellip;
|-
| em dash || &mdash; || &amp;mdash;
|-
| en dash || &amp; || &amp;ndash;
|-
| space || &amp;nbsp; || &amp;nbsp;
|-
| Copyright || &copy; || &amp;copy;
|-
| Fraction || &frac14; || &amp;frac14;
|-
| Fraction || &frac12; || &amp;frac12;
|-
| Fraction || &frac34; || &amp;frac34;
|-
| Degrees || &deg; || &amp;deg;
|-
|}
====<u>Horizontal Lines</u>====


Text before Horizontal line
----
text after Horizontal line
<nowiki>Text before Horizontal line
---- or <hr>
text after Horizontal line</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.
text before a narrow horizontal line
<hr width=20%>
text after line
<nowiki>text before a narrow horizontal line
<hr width=20%>
text after line (the 20% may be adjusted as necessary)</nowiki>


<div class="center">
text before a centered narrow horizontal line
<hr width=50%>
text after line
</div>
<nowiki><div class="center">
text before a centered narrow horizontal line
<hr width=50%>
text after line (the 50% may be adjusted as necessary)
</div></nowiki>


====<u>Tables</u>====


===Tables===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
|+ Table
|+ Table
Line 88: Line 157:
| cell || cell
| cell || cell
|}
|}
  <nowiki>
{| border="1" cellpadding="2" cellspacing="0"
|+ Table
! heading !! heading
|-
| cell || cell
|-
| cell || cell
|}
</nowiki>
====<u>Redirects</u>====


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


====<u>Placing and Linking to Anchors</u>====


=====Place an Anchor=====


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


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


Place Multpile blank lines (6) <nowiki><br /><br /><br /><br /><br /><br /></nowiki> <br /><br /><br /><br /><br /><br />
=====Link to an Anchor=====
before the next line of text.
 
 
Text before Horizontal line <nowiki>----</nowiki> or <nowiki><hr></nowiki>
----
text after Horizontal line
 
 
 
text before narrow horizontal line <nowiki><hr width=20%></nowiki>
<hr width=20%>
text after line
 
 
===Hidden comments===
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.
 


To the beginning of the text to be linked to add:
Add #anchor_name to the end of the URL


<nowiki><span id="anchor_name">ANY TEXT HERE</span></nowiki>
====<u>Hidden Comments</u>====


Then add #anchor_name to the end of the linking URL
To make hidden comments, simply use <nowiki><!-- Your text goes here --></nowiki>
  <nowiki><!-- TEXT HERE WILL NOT BE DISPLAYED --> Please start and end text with a space</nowiki>

Revision as of 12:27, 9 July 2014


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

Centering text
Center text like this:
<div class="center">Center text like this</div>
New un-spaced lines

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

deleted text

<del>deleted text</del>
Underlined text

underlined text

<u>underlined text</u>
Italic text

Italic text

''Italic text''
Bold text

Bold text

'''Bold text'''
Large text

Big text

<big>Big text</big>
Small text

Small text

<small>Small text</small>
Superscript text

This sentence has some Superscript text in it.

<sup>Superscript text</sup>
Subscript text

This sentence has some Subscript text in it.

<sub>Subscript text</sub>
Multiple blank lines

To place multiple blank lines





before the next line of text.

To place multiple blank lines
<br /><br /><br /><br /><br /><br />






before the next line of text.
Multiple spaces

To place multiple         spaces     between         words.

To place multiple &nbsp; &nbsp; &nbsp; &nbsp; spaces &nbsp; &nbsp; between &nbsp; &nbsp; &nbsp; &nbsp; words.
Blockquote

A Blockquote will indent both left and right margins:

Blockquote

Text after the Blockquote

<blockquote>Blockquote</blockquote>
Special Characters and Symbols
Name Char Code
and & &amp;
ellipsis &hellip;
em dash &mdash;
en dash & &ndash;
space &nbsp; &nbsp;
Copyright © &copy;
Fraction ¼ &frac14;
Fraction ½ &frac12;
Fraction ¾ &frac34;
Degrees ° &deg;

Horizontal Lines

Text before Horizontal line


text after Horizontal line

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

text before a narrow horizontal line


text after line

text before a narrow horizontal line
 <hr width=20%>
 text after line (the 20% may be adjusted as necessary)

text before a centered narrow horizontal line


text after line

<div class="center">
 text before a centered narrow horizontal line
 <hr width=50%>
 text after line (the 50% may be adjusted as necessary)
 </div>

Tables

Table
heading heading
cell cell
cell cell
 
 {| border="1" cellpadding="2" cellspacing="0"
 |+ Table
 ! heading !! heading
 |-
 | cell || cell
 |-
 | cell || cell
 |}
 

Redirects

To create a re-direct page use this code:

#REDIRECT [[article link]]

Placing and Linking to Anchors

Place an Anchor

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

<span id="anchor_name">ANY TEXT HERE</span>
Link to an Anchor

Add #anchor_name to the end of the URL

Hidden Comments

To make hidden comments, simply use <!-- Your text goes here -->

 <!-- TEXT HERE WILL NOT BE DISPLAYED --> Please start and end text with a space