User:Daniel Mietchen/Talks/SOL 2012/Formatting



Formatting
Formatting Wikipedia articles is a bit different from writing on a standard word processor. Instead of a strict WYSIWYG approach ("What You See Is What You Get"), Wikipedia uses text codes to create particular elements of the page (e.g. headings). This "language" is known as Wikitext (or Wiki-markup) and is designed for ease of editing.

Bold and italics
The most commonly used wiki tags are bold and italics. Bolding and italicizing are done by surrounding a word or phrase with multiple apostrophes ('):

On Wikipedia, the names of an article's subject are written in bold when they are first mentioned in the article. For example, the article Elizabeth II of the United Kingdom begins:


 * Elizabeth II (Elizabeth Alexandra Mary Windsor; born 21 April 1926) is Queen of sixteen sovereign states, holding each crown and title equally.

Italics may be used for the names of books, journals, genes and species. If the first mention of the subject of an article is also a book or gene then bold italics is used.

For more information about when to use bold and italics, see Manual of style.

Headings and subheadings
Headings and subheadings are an easy way to improve the organization of an article. If you can see two or more distinct topics being discussed, you can break up the article by inserting a heading for each section.

Headings can be created like this:

{| width=100% style="border:none; text-align:left;"  ==Heading== 
 * style="background:#E6F2FF; padding:0.3em; text-align:center;"|You type
 * width="80%" style="background:#E6F2FF; padding:0.3em; text-align:center;"|You get
 * width="80%" style="background:#E6F2FF; padding:0.3em; text-align:center;"|You get

Heading
 ===Subheading=== 



Subheading

 * }

If an article has at least four headings, a table of contents will automatically be generated.

Editing console


Wikipedia has an editing console that will generate the correct mark up at the click of a button:


 * Try creating headings, bolds and italics on Your userpage now

Continue the tutorial with Wikipedia links &rarr;