Help

Help:Editing tips

Revision as of 13:21, 25 October 2014 by Sahadeva (talk | contribs)


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
__NOEDITSECTION__ is also added if the edit links for each section are not required

If a page has fewer than four headings then

__TOC__ is placed 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 &#8531;
Fraction ½ &frac12;
Fraction ¾ &frac34;
Degrees ° &deg;
Divide ÷ &divide;
Bullet &bull;
Asterisk &lowast;
Diamond &diams;


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>

Inserting References

Note: place <references/> at the bottom of the page

Article text. Croaking of frogs.[1]

Example: <ref name=frog>The [[Vaniquotes:Croaking of frogs|Croaking of frogs]] page in Vaniquotes talks about Croaking Frogs.</ref>

Article text. Croaking of frogs.[1]

Example: <ref name=frog>The [[Vaniquotes:Croaking of frogs|Croaking of frogs]] page in Vaniquotes talks about Croaking Frogs.</ref>

Article text. Croaking.[2]

Example: <ref name=croaking>The [[Vaniquotes:Croaking of frogs|Croaking of frogs]] page in Vaniquotes talks about Croaking Frogs.</ref>

Tables

wikipedia Help:Table

Table
heading heading
cell cell
cell cell
 
 {| border="1" cellpadding="2" cellspacing="0"
 |+ Table
 ! heading !! heading
 |-
 | cell || cell
 |-
 | cell || cell
 |}
 
Cell 1 (no modifier—not aligned)
Cell 2 (right aligned)
Cell 3 (left aligned)
Cell 4 (centered)
 
 {| border="1" style="text-align:center; width:400px; height:200px;"
 |-
 | Cell 1 (no modifier—not aligned)
 |- valign="top"
 | align="right" | Cell 2 (right aligned)
 |- valign="middle"
 | align="left" | Cell 3 (left aligned)
 |- valign="bottom"
 | align="center" | Cell 4 (centered)
 |}
 
RAYARAMA DAS BRAHMACHARY
(Raymond Marais)
Editor
 
 {| style="text-align:left; margin-left: auto; margin-right: 3em;"
 |RAYARAMA DAS BRAHMACHARY<br />(Raymond Marais)<br />Editor
 |}
 

Colapsable Content

Title for the colapsable content is always shown here


This text is colapsable

In fact everything here can be hidden

Example:
<div class="toccolours mw-collapsible mw-collapsed" style="width:100%;clear:both;">
<big>'''Title for the colapsable content is always shown here'''</big>
This text is colapsable   In fact everything here can be hidden
</div>
</div>

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

  1. 1.0 1.1 The Croaking of frogs page in Vaniquotes talks about Croaking Frogs.
  2. The Croaking of frogs page in Vaniquotes talks about Croaking Frogs.