Difference between revisions of "Help:How to format text"

From Birocapedia
Jump to navigationJump to search
Line 90: Line 90:
 
|<nowiki><span style="color:red">red writing</span></nowiki>
 
|<nowiki><span style="color:red">red writing</span></nowiki>
 
|<span style="color:red">red writing</span>
 
|<span style="color:red">red writing</span>
 +
|-
 +
|Escape formatting and puts text in a box
 +
|<nowiki><pre>''italic'' '''bold'''</pre></nowiki>
 +
|<pre>''italic'' '''bold'''</pre>
 +
|-
 +
|Force formatting inside <pre>
 +
|<nowiki><pre></nowiki>''not formatted''
 +
''space at the beginning of the line''
 +
''forces formatting''
 +
|<pre>''not formatted''
 +
''space at the beginning of the line''
 +
''forces formatting''</pre>
 
|}
 
|}
  

Revision as of 14:39, 20 January 2008

You can format your page's text using something called wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special effect on the content. For example, to make a word italic, you include it in two single quotes like ''this''.

Quick lookup table

Below is all of the wiki markup you really need to know. More may be added later. If you want to know more you can look up wiki markup on google. There should be lots of information because it is what is used by Wikipedia and all other wikis of that type.

Description You type You get
Italic text ''italic'' italic
Bold text '''bold''' bold
Have formatting markup not

be formated

<nowiki>'''Did not become bold'''</nowiki> '''Did not become bold'''
Horizontal rule ----
Bulleted list

* one
* two
* three
** three point one
** three point two

  • one
  • two
  • three
    • three point one
    • three point two
Numbered list

# one
# two
# three
## three point one
## three point two

  1. one
  2. two
  3. three
    1. three point one
    2. three point two
Mixture of bulleted and numbered lists

* one
* two
*# two point one
*# two point two

  • one
  • two
    1. two point one
    2. two point two
Mixture of numbered and bulleted lists

# one
# two
# three
#* three point one
#* three point two

  1. one
  2. two
  3. three
    • three point one
    • three point two
Indent

The lyrics are
:Let's hit the hay

The lyrics are

Let's hit the hay
Colored text <span style="color:red">red writing</span> red writing
Escape formatting and puts text in a box <pre>''italic'' '''bold'''</pre>
''italic'' '''bold'''
Force formatting inside
|<pre>''not formatted''
 ''space at the beginning of the line''
''forces formatting''
|<pre>''not formatted''
 ''space at the beginning of the line''
''forces formatting''

Headers

The thing above this is a header. Headers can be used to separate different sections of an article. Smaller headers can be used to separate sections of text under a larger header. There are 5 different sized headers. The level 1 header should never be used because it looks like the title of the article. So there are really just 4 levels of headers you can use. To make a header put equals signs around the name of the header like ==This is a header==. The number of equals signs you put on either side is the same as the level of the header.

The table of contents

A table of contense forms when there are three or more headers on a page. You can prevent a contents from appearing by adding __NOTOC__ (stands for NO Table Of Contense) on the first line of the article. If you have an article with only two headers you can force there to be a table of contents by adding __FORCETOC__ to the top of the page. The table of contents is by default put right before the first header in the article. You can make it appear where you want by adding __TOC__ to the place in the text where you want it. Using __TOC__ you can also make the table of contents appear on the right side or middle of an article instead of the default left side my putting it inside a table and aligning the table. You can read how in the how to make tables article.

Paragraphs

You can not start a new paragraph by starting a new line in the editing box. To start a new paragraph leave one empty line between the text. You can also start a new line by typing <br> at the end of the line before where you want to start the new paragraph.