Help:Formatting

From LifeWiki
Jump to: navigation, search

This page outlines the basic formatting commands that you will have to use in order to make your wiki articles easy to read. For example, this document will teach you how to make text bold or italic. For a quicker introduction, see the quick editing guide. For more thorough treatment of specific topics, see Help:Categories, Help:Images, Help:Links, Help:Tables, or Help:Templates.

Spaces, new lines, paragraphs and more

You might have already noticed that single spaces between lines do not create spaces in the text. For example:

These line
breaks
do
nothing.

These line breaks do nothing.

A blank space between the two lines, on the other hand, creates a new paragraph. For example:

This would look like one paragraph.

This would look like another.

This would be the third.

This would look like one paragraph.

This would look like another.

This would be the third.

You can also use the HTML newline (<br>) tag if you so desire, but for standard paragraph breaks the above method is greatly preferred.

This is some<br>text.

This is some
text.

Emphasis

Hello!

How Are You?

This is basic, but important. Use three apostrophes for a bold and two for italics. The above section was made like this:

'''Hello!'''

''How Are You?''

HTML encoding also works, such as bold and italics, but the wiki formatting using apostrophes is preferred.

<b>Bold</b> and <i>Italics</i>

Lists

  • Creating a bulleted list is simple.
    • Creating Sub-Bullets is just as easy.
      • And so on and so on and so on.
  • Going back is easy too.
*Creating a bulleted list is simple.
**Creating Sub-Bullets is just as easy.
***And so on and so on and so on.
*Going back is easy too.
  1. Numbered Lists are almost the same
    1. So are sub numbers
      1. sub sub numbers
  2. and going back.
#Numbered Lists are almost the same
##So are sub numbers
###sub sub numbers
#and going back.
  • Mixing lists are possible too.
    1. Such as this one
      • You can also
        have new lines
        inside lists.
*Mixing lists are possible too.
*#Such as this one
*#*You can also<br>have new lines<br>inside lists.

Horizontal rules

Don't use these too often, as they break up the page. Instead, it is recommended you use section breaks (see below). If you really need them, however, this is the formatting:

----

Indentation

A colon indents a line.
:A colon indents a line.

Alignment

A page is left-aligned by default.

Center text like this.
<center> Center text like this. </center>

Section breaks

Many articles on the wiki use section headers and tables of contents, like the ones above. Two equal(=) signs makes a topic.

==This is a Topic==
===This is a Subtopic===
====This is a Sub Sub Topic====
===This is a subtopic of the first topic, but not the other sub topics===
==This is another topic==

To add a table of contents, type:

__TOC__

If a table of contents is automatic for the article (which is the case pages containing many sections), you can use this formatting to remove it:

__NOTOC__

Note: Table of contents lists only list topics that appear after they are inserted.