Help:Formatting text

A page can be formatted in a number of different ways, using headers, lists, infoboxes, and image galleries. For ideas on how to implement each of these in the different editors, please see the Classic editor page, the Visual Editor page, and the wikitext page for source mode.

Headings

 * It is good to break up long articles into sections to help the reader stay oriented. This can be done using headings. The format options available are:

{| class="wikitable" ! Description ! width=40% | You type ! width=40% | You get ! colspan="3" style="background: #ABE" | Character (inline) formatting – applies anywhere  italic   italic   bold   bold   bold & italic   bold & italic  &lt;nowiki&gt; no markup &lt;/nowiki&gt; no markup ! colspan="3" style="background: #ABE" | Section formatting – only at the beginning of the line
 * Italic text
 * Italic text
 * Bold text
 * Bold text
 * Bold and italic
 * Bold and italic
 * Escape wiki markup
 * Escape wiki markup
 * Section Headings of different levels
 * Section Headings of different levels

Level 6


Level 2

Level 3

Level 4

Level 5

Level 6 Text before
 * Horizontal rule
 * Horizontal rule

Text after Text before

Text after
 * Bullet list
 * Bullet list

don't break levels. Any other start ends the list.
 * Start each line
 * with an asterisk (*).
 * More asterisks give deeper
 * and deeper levels.
 * Line breaks
 * But jumping levels creates empty space.


 * combine bullet list
 * with definition
 * - definition


 * creates empty space


 * combine bullet list
 * with definition
 * - definition
 * without empty spaces


 * bullet list
 * - definition
 * sublist that doesn't create empty
 * spaces after definition



don't break levels. Any other start ends the list.
 * Start each line
 * with an asterisk (*).
 * More asterisks give deeper
 * and deeper levels.
 * Line breaks
 * But jumping levels creates empty space.


 * combine bullet list
 * with definition
 * - definition


 * creates empty space


 * combine bullet list
 * with definition
 * - definition
 * without empty spaces


 * bullet list
 * - definition
 * sublist that doesn't create empty
 * spaces after definition


 * Numbered list
 * Numbered list

don't break levels.
 * 1) Start each line
 * 2) with a number sign (#).
 * 3) More number signs give deeper
 * 4) and deeper
 * 5) levels.
 * 6) Line breaks
 * 1) But jumping levels creates empty space.
 * 2) Blank lines

Any other start also ends the list.
 * 1) end the list and start another.

don't break levels.
 * 1) Start each line
 * 2) with a number sign (#).
 * 3) More number signs give deeper
 * 4) and deeper
 * 5) levels.
 * 6) Line breaks
 * 1) But jumping levels creates empty space.
 * 2) Blank lines

Any other start also ends the list.
 * 1) end the list and start another.
 * Definition list
 * Definition list


 * item 1
 * definition 1


 * item 2
 * definition 2-1
 * definition 2-2




 * item 1
 * definition 1


 * item 2
 * definition 2-1
 * definition 2-2


 * Indent text
 * Indent text


 * Single indent
 * Double indent
 * Multiple indent




 * Single indent
 * Double indent
 * Multiple indent


 * Mixture of different types of list
 * Mixture of different types of list

of &lt;nowiki> &lt;/nowiki>
 * 1) one
 * 2) two
 * 3) * two point one
 * 4) * two point two
 * 5) three
 * 6) ; three item one
 * three def one
 * 1) four
 * four def one
 * this looks like a continuation
 * and is often used
 * instead
 * 1) five
 * 2) five sub 1
 * 3) five sub 1 sub 1
 * 4) five sub 2



of
 * 1) one
 * 2) two
 * 3) * two point one
 * 4) * two point two
 * 5) three
 * 6) ; three item one
 * three def one
 * 1) four
 * four def one
 * this looks like a continuation
 * and is often used
 * instead

Start each line with a space. Text is preformatted and markups can be done.
 * 1) five
 * 2) five sub 1
 * 3) five sub 1 sub 1
 * 4) five sub 2
 * Preformatted text
 * Preformatted text

Start each line with a space. Text is preformatted and markups can be done. Start with a space in the first column, (before the ).
 * Preformatted text blocks
 * Preformatted text blocks

Then your block format will be   maintained. This is good for copying in code blocks:

def function: """documentation string"""

if True: print True else: print False Start with a space in the first column, (before the ).

Then your block format will be   maintained.

This is good for copying in code blocks:

def function: """documentation string"""

if True: print True else: print False
 * }

Paragraphs
MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag.

HTML tags
Some HTML tags are allowed in MediaWiki, for example,  , and. These apply anywhere you insert them.

continued:

Inserting symbols
Symbols and other special characters not available on your keyboard can be inserted in a multitude of ways. Many Operating Systems and browsers allow you to insert special characters through a menu option or Operating System panel. Additionally, you can use the WikiEditor or VisualEditor to insert them into the edit screen.

As a last resort, you can use a special sequence of characters. Those sequences are called HTML entities. For example, the following sequence (entity) &amp;rarr; when inserted will be shown as right arrow HTML symbol &rarr; and &amp;mdash; when inserted will be shown as an em dash HTML symbol &mdash;.

Next pages

 * Learn how to link text
 * Learn how to create a new page
 * Learn how to modify text

Further help and feedback
ar:مساعدة:تصميم الصفحات de:Hilfe:Formatieren es:Ayuda:Dando formato fi:Ohje:Sivujen muotoilu fr:Aide:Mise en page it:Aiuto:Modificare lo stile di una pagina ja:ヘルプ:ページのフォーマット ko:도움말:페이지 서식 nl:Help:Pagina opmaken pt:Ajuda:Formatando páginas ru:Справка:Работа со страницей vi:Trợ giúp:Định dạng trang zh:Help:版面設計