Help:Formatting

From WikiPelsatia
Jump to: navigation, search

You can format your text by using wiki markup. This consists of normal characters like asterisks, single quotes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italics, you can include it in two pairs of single quotes like ''this''.

Text formatting markup

Description You type You get
character (inline) formatting – applies anywhere
Italic text
''italic''

italic

Bold text
'''bold'''

bold

Bold and italic
'''''bold & italic'''''

bold & italic

Strike text
<strike> strike text </strike>
strike text
No wiki markup
<nowiki>no ''markup''</nowiki>

no ''markup''

section formatting – only at the beginning of the line
Headings of different levels
==Level 2==

===Level 3===

====Level 4====

=====Level 5=====

======Level 6======

  • Level 1 is the page name level.
  • An article with four or more headings automatically creates a table of contents; insert __NOTOC__ into the article to prevent this.

Level 2

Level 3

Level 4

Level 5
Level 6
Bullet list
*Start each line
*with an asterisk (*).
**More asterisks give deeper
***and deeper levels.
*Line breaks<br />don't break levels.
***But jumping levels creates empty space.
Any other start ends the list.
  • Start each line
  • with an asterisk (*).
    • More asterisks give deeper
      • and deeper levels.
  • Line breaks
    don't break levels.
      • But jumping levels creates empty space.

Any other start ends the list.

Numbered list
#Start each line
#with a number sign (#).
##More number signs give deeper
###and deeper
###levels.
#Line breaks<br />don't break levels.
###But jumping levels creates empty space.
#Blank lines

#end the list and start another.
Any other start also
ends the list.
  1. Start each line
  2. with a number sign (#).
    1. More number signs give deeper
      1. and deeper
      2. levels.
  3. Line breaks
    don't break levels.
      1. But jumping levels creates empty space.
  4. Blank lines
  1. end the list and start another.

Any other start also ends the list.

Definition list
;item 1
:definition 1
;item 2
:definition 2-1
:definition 2-2
item 1
definition 1
item 2
definition 2-1
definition 2-2

Paragraphs

The Wiki software ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag <br/>.

HTML tags

Some HTML tags are allowed, for example <code>, <div> <span> and <font>. These apply anywhere you insert them.

Description You type You get
Inserted
(Displays as underline in most browsers.)
<ins>Inserted</ins>

or

<u>Underline</u>

Inserted

or

Underline

Deleted
(Displays as strikethrough in most browsers.)
<s>Struck out</s>

or

<del>Deleted</del>

Struck out

or

Deleted

Fixed width text
<code>Source code</code>

or

<tt>Fixed width text</tt>

Source code

or

Fixed width text

Blockquotes
text above
text above
<blockquote>blockquote</blockquote>
text below
text below

text above text above

blockquote

text below text below

Comment
<!-- This is a comment -->
Comments are only visible
in the edit window.

Comments are only visible in the edit window.

Other formatting

Beyond the text formatting markup shown above, here are some other formatting references:

You can find more references at Help:Contents.