Difference between revisions of "Help:How to format text"
m (11 revision(s)) |
|||
(2 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 | + | 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 | + | |
− | + | == Quick Look-Up Table == | |
− | {| | + | |
+ | {| class="wikitable" | ||
!Description | !Description | ||
!You type | !You type | ||
Line 96: | Line 97: | ||
|} | |} | ||
− | ==Headers== | + | == Headers == |
− | The | + | |
+ | 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. | ||
− | == | + | == 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 |
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
|
|
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 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.