User:Daniel Mietchen/Talks/SOL 2012/Formatting
Formatting
[edit]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
[edit]The most commonly used wiki tags are bold and italics. Bolding and italicizing are done by surrounding a word or phrase with multiple apostrophes ('):
You type | You get |
''italic'' | italic |
'''bold''' |
bold |
'''''bold italic''''' |
bold italic |
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 Wikipedia:Manual of style.
Headings and subheadings
[edit]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:
You type | You get |
==Heading== |
Heading[edit] |
===Subheading=== |
Subheading[edit] |
If an article has at least four headings, a table of contents will automatically be generated.
Editing console
[edit]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