Difference between revisions of "Help:How to format text"
m (11 revision(s)) |
|
(No difference)
|
Revision as of 00:27, 2 February 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
|
|
Numbered list |
# one
|
|
Mixture of bulleted and numbered lists |
* one
|
|
Mixture of numbered and bulleted lists |
# one |
|
Indent |
The lyrics are |
The lyrics are
|
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 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.