User:Aaron.Sullivan/Short Markup Example
This page will give you some basic tools for editing your articles. You are only required to use Section Headings, however if you intend to upload your article to Wikipedia, you may want to use pictures, lists or formatted text as well.
If you want to be able to do something not included here, you can find additional information on the Wikipedia:Cheatsheet, or see a much, much longer list of options on the Help:Wiki_markup page. Much the information below has been selectively copied from that page.
Layouts
[edit]Section Headings
[edit]What it looks like | What you type |
---|---|
Section headings
Headings organize your writing into sections. The Wiki software can automatically generate a table of contents from them. Start with 2 'equals' characters. Subsection
Using more 'equals' characters creates a subsection. A smaller subsection
Don't skip levels, like from two to four 'equals' characters. |
==Section headings== ''Headings'' organize your writing into sections. The Wiki software can automatically generate a table of contents from them. Start with 2 'equals' characters. ===Subsection=== Using more 'equals' characters creates a subsection. ====A smaller subsection==== Don't skip levels, like from two to four 'equals' characters. |
Indent text
[edit]What it looks like | What you type |
---|---|
Left indent | |
|
:A colon at the start of a line ::causes the line to be indented, :::most commonly used on Talk pages. |
Blockquote | |
|
|
Center text
[edit]What it looks like | What you type |
---|---|
Centered text
|
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">Centered text</div>
|
Template {{center}} uses the same markup. To center a table, see Help:Table#Centering tables.
Lists
[edit]What it looks like | What you type |
---|---|
marks the end of the list.
|
* ''Unordered lists'' are easy to do: ** Start every line with a star. *** More stars indicate a deeper level. **: Previous item continues. ** A new line * in a list marks the end of the list. * Of course you can start again. |
A new line marks the end of the list.
|
# ''Numbered lists'' are: ## Very organized ## Easy to follow #: Previous item continues A new line marks the end of the list. # New numbering starts with 1. |
Format
[edit]Text formatting
[edit]What it looks like | What you type |
---|---|
You can italicize text by putting 2 apostrophes on each side. 3 apostrophes will bold the text. 5 apostrophes will bold and italicize the text.
Sometimes, it functions as a section header (see above). |
You can ''italicize text'' by putting 2 apostrophes on each side. 3 apostrophes will '''bold the text'''. 5 apostrophes will '''bold''' and ''italicize'' '''''the text'''''. ;A semicolon at the start of a line bolds the entire line. Sometimes, it functions as a section header (see [[Help:Wiki markup#Sections|above]]). |
Images
[edit]Only images that have been uploaded to Wikipedia can be used. To upload images, use the upload page. You can find the uploaded image on the image list.
See the Wikipedia's image use policy as a guideline used on Wikipedia.
For further help on images, including some more versatile abilities, see the picture tutorial.
Links and URLs
[edit]Free links
[edit]In Wikipedia and some other Wikis, free links are used in Wikitext markup to produce internal links between pages, as opposed to the concept of CamelCase for the same purpose, which was used in the early days of Wikipedia, see CamelCase and Wikipedia.
In Wikipedia's markup language, you create free links by putting double square brackets around text designating the title of the page you want to link to. Thus, [[Texas]]
will be rendered as Texas. Optionally, you can use a vertical bar (|) to customize the link title. For example, typing [[Texas|Lone Star state]]
will produce Lone Star state, a link that is displayed as "Lone Star state" but in fact links to Texas.
Link to another Wiki article
[edit]- Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended).
- Thus the link below is to the URL en.wikipedia.org/wiki/Public_transport, which is the Wikipedia article with the name "Public transport". See also Canonicalization.
- A red link is a page that doesn't exist yet; it can be created by clicking on the link.
- A link to its own page will appear only as bold text.
What it looks like | What you type |
---|---|
London has public transport. |
|
Link to this own article: "Help:Wiki markup" will appear only as bold text. |
|
Renamed link
[edit]- Same target, different name.
- The target ("piped") text must be placed first, then the text to be displayed second.
What it looks like | What you type |
---|---|
New York also has public transportation. |
|
References and Citing Sources
[edit]To cite your sources, use <ref>
and </ref>
tags with the citation in between them. At the end of your paper, type "<references/>"
where you want the bibliography to be generated.
See the example below.
What it looks like | What you type |
---|---|
"I propose the following definition of the nation: it is an imagined political community - and imagined as both inherently limited and sovereign."[1] This is how Benedict Anderson defined the nation in his ground breaking book. References[edit]
|
|