Help:Formatting
From WhatRumors: The Celebrity Gossip Wiki
|
Most text formatting in WhatRumors is done with wiki markup, so you don't have to learn or remember the intricate syntax of HTML.
Bold and italics
Bold and italics are added by surrounding a word or phrase with multiple apostrophes ('):
- ''italics'' is rendered as italics. (2 apostrophes on either side)
- '''bold''' is rendered as bold. (3 apostrophes on either side)
- '''''bolded italics''''' is rendered as bolded italics. (2 + 3 = 5 apostrophes on either side)
Headings and subheadings
Headings and subheadings are an easy way to improve the organization of an article. If you can see two or more distinct topics being discussed, you can break up your article by inserting a heading for each section.
Headings can be created like this:
- ==Top level heading== (2 equals signs)
- ===Subheading=== (3 equals signs)
- ====Another level down==== (4 equals signs)
- =====Another level down===== (5 equals signs)
If an article has at least three headings, a table of contents (TOC) will be automatically generated. Try creating some headings in the Sandbox and see the effect on the TOC.
Indenting
To indent text, place a colon (:) at the beginning of a line. The more colons you put, the further indented the text will be. A newline (pressing Enter or Return) marks the end of the indented paragraph.
For example:
This is aligned all the way to the left.
:This is indented slightly.
::This is indented more.
is shown as:
This is aligned all the way to the left.
- This is indented slightly.
- This is indented more.
Bullet points
To insert a bullet, use an asterisk (*). Similar to indentation, more asterisks in front of a paragraph means more indentation.
A brief example:
- *First list item
- *Second list item
- **Sub-list item under second
- *Isn't this fun?
Which is shown as:
- First list item
- Second list item
- Sub-list item under second
- Isn't this fun?
Numbered lists
You can also create numbered lists. For this, use the number sign or hash symbol (#). Using more #s will affect the level of indenting.
Example:
- #First item
- #Second item
- ##Sub-item under second item
- #Third item
Shows up as:
- First item
- Second item
- Sub-item under second item
- Third item
Table of contents
As described above, any article with more than three headings will automatically generate a Table of Contents just before the first heading. The Table of Contents can be manually positioned using the following code:
__TOC__
To align a Table of Contents to the right, you can simply use the tocright template, by placing it at the top of the page like so:
{{tocright}
In order to force a TOC on a page with less than 3 headings, put __TOC__ somewhere on the page.
If the TOC is clogging up your page and looks icky, you can add
__NOTOC__
to the top of page and no TOC will be generated.