Editing tips: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
< | ===Inserting a Table of contents (TOC)=== | ||
<nowiki><div | For each page with more than three headings, a '''table of contents (TOC)''' is '''automatically''' generated from the section headings, unless: | ||
<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> | |||
To insert a TOC with no numbers use: | |||
<nowiki>{{Toc right no-numbers}}</nowiki> | |||
===Formatting Text=== | |||
< | <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> | |||
:New lines that are indented | |||
:and have no spaces between them | |||
: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> | |||
<u>underlined text</u> | |||
<nowiki><u>underlined text</u></nowiki> | |||
''Italic text'' | |||
<nowiki>''Italic text''</nowiki> | |||
'' | '''Bold text''' | ||
<nowiki>'''Bold text'''</nowiki> | |||
<big>Big text</big> | |||
<nowiki><big>Big text</big></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> | |||
< | 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> | |||
Use &nbsp; to place a non-breaking space or multiple spaces like this between words. | |||
===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> | |||
Line 74: | Line 109: | ||
<nowiki><!-- | ===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> , 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
<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 to place a non-breaking space or multiple spaces like this between words.
Tables
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