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

From Birocapedia
Jump to navigationJump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
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 <nowiki>''this''</nowiki>.
+
You can format your page's text using something called wiki markup. This consists of normal characters like asterisks, single quotes or equals signs which have a special effect on the text. For example, to make a word italic, you include it in two single quotes like <nowiki>''this''</nowiki>. At the top of the edit box there are buttons that automatically add formatting to text. Mouse over the buttons to see what they do.
==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.
+
== Quick Look-Up Table ==
{| align="center" border="1"
+
 
 +
{| class="wikitable"
 
!Description
 
!Description
 
!You type
 
!You type
Line 88: Line 89:
 
|-
 
|-
 
|Colored text
 
|Colored text
|<nowiki><span style="color:red">red</nowiki><br>
+
|<nowiki><span style="color:red">red writing</span></nowiki>
writing</span>
 
 
|<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>
 
|}
 
|}
  
==Headers==
+
== 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 <nowiki>==This is a header==</nowiki>. The number of equals signs you put on either side is the same as the level of the header.
+
 
 +
The word 'Headers' above this is a header. Headers can be used to separate different sections of an article. They are also the basis for the table of contents in an article. Smaller headers can be used to further separate sections of text under a larger header. To make a header put equals signs around the name of the header like <nowiki>== This is a header ==</nowiki>. The number of equals signs you put on both sides is the same as the level of the header (a level three header is smaller than a level two header.
 +
 
 +
== The Table of Contents ==
 +
 
 +
A table of contents is automatically created when there are three or more headers on a page. You can prevent a TOC from appearing by adding <nowiki>__NOTOC__</nowiki> (stands for NO Table Of Contents) on the first line of the article. If you have an article with only two headers but you still want a TOC you can force there to be one by adding <nowiki>__FORCETOC__</nowiki> to the top of the page.
 +
 
 +
Normally the TOC appears right above the first header in the article. You can make it appear in a different place by putting <nowiki>__TOC__</nowiki> in the place where you want it. Using <nowiki>__TOC__</nowiki> 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. Read how in the [[help:how to make tables|how to make tables]] article.
  
==The table of contents==
+
== Paragraphs ==  
A table of contense forms when there are three or more headers on a page. You can prevent a contents from appearing by adding <nowiki>__NOTOC__</nowiki> (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 <nowiki>__FORCETOC__</nowiki> 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 <nowiki>__TOC__</nowiki> to the place in the text where you want it. Using <nowiki>__TOC__</nowiki> 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 [[help:how to make tables|how to make tables]] article.
 
  
== Paragraphs ==
+
You can not start a new paragraph hitting enter and starting a new line in the edit box. To start a new paragraph leave one empty line between the 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 <nowiki><br></nowiki> at the end of the line before where you want to start the new paragraph.
 

Latest revision as of 15:14, 2 January 2013

You can format your page's text using something called wiki markup. This consists of normal characters like asterisks, single quotes or equals signs which have a special effect on the text. For example, to make a word italic, you include it in two single quotes like ''this''. At the top of the edit box there are buttons that automatically add formatting to text. Mouse over the buttons to see what they do.

Quick Look-Up Table

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'''

Headers

The word 'Headers' above this is a header. Headers can be used to separate different sections of an article. They are also the basis for the table of contents in an article. Smaller headers can be used to further separate sections of text under a larger header. 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 both sides is the same as the level of the header (a level three header is smaller than a level two header.

The Table of Contents

A table of contents is automatically created when there are three or more headers on a page. You can prevent a TOC from appearing by adding __NOTOC__ (stands for NO Table Of Contents) on the first line of the article. If you have an article with only two headers but you still want a TOC you can force there to be one by adding __FORCETOC__ to the top of the page.

Normally the TOC appears right above the first header in the article. You can make it appear in a different place by putting __TOC__ in the place 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. Read how in the how to make tables article.

Paragraphs

You can not start a new paragraph hitting enter and starting a new line in the edit box. To start a new paragraph leave one empty line between the paragraphs.