Referencing

For the basics see Help:Editing.

## Wikitext markup — making your page look the way you want

### Organizing your writing — sections, paragraphs, lists and lines

What it looks like What you type
Sections and subsections

Note: Single equal signs give the highest level heading, like the page title; usually projects have the convention not to use them.

New section

Subsection

Sub-subsection

• Don't skip levels (for example, second-level followed by fourth-level).
• If appropriate, place subsections in order. If listing countries, for example, place them in alphabetical order rather than, say, relative to population of OECD countries, or some random order.
• If you want to keep headings out of the TOC you have to use HTML heading tags and close them without using a slash e.g. <h4>heading too low level to be in the toc of large page<h4>.

== New section ==

=== Subsection ===

==== Sub-subsection ====

Newline

A single newline has no effect on the layout.

But an empty line starts a new paragraph, or ends a list or indented part. (<p> disables this paragraphing until </p> or the end of the section)

(In Cologne Blue two newlines and a div tag give just one newline; in the order newline, div tag, newline, the result is two newlines.)

A semicolon at the start of a line is not rendered, but has the effect of rendering the newline. A colon in such a line is not rendered, but has the effect of starting a new, indented line, see definition list.

You can make the wikitext more readable by putting in newlines. You might find this causes future problems — see w:Wikipedia:Don't use line breaks for details.

• When used in a list, a newline does affect the layout (See Help:List).

A single
newline
has no
effect on the
layout.

But an empty line
starts a new paragraph.
You can break lines
without starting a new paragraph.

(The HTML tag <br/> is sufficient. The system produces the XHTML code <br />.)

• Close markup between lines; do not start a link or italics or bold on one line and close it on the next.
You can break lines<br/>
without starting a new paragraph.
• Unordered Lists are easy to do:
• start every line with a star
• more stars means deeper levels
• A newline
• in a list

marks the end of the list.

• Of course
• you can
• start again.
* Unordered Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
*A newline
*in a list
marks the end of the list.
*Of course
*you can
*start again.


1. Numbered lists are also good
1. very organized
2. easy to follow
2. A newline
3. in a list

marks the end of the list.

1. New numbering starts
2. with 1.
# Numbered lists are also good
## very organized
## easy to follow
#A newline
#in a list
marks the end of the list.
#New numbering starts
#with 1.

• You can even do mixed lists
1. and nest them
• or break lines
in lists
* You can even do mixed lists
*# and nest them
*#* or break lines<br/>in lists
Definition list
word
definition of the word
longer phrase
phrase defined
; word : definition of the word
; longer phrase
: phrase defined
• One item per line; a newline can appear before the colon, but using a space before the colon improves parsing.
indenting
A colon at the start of a line indents a paragraph.

A manual newline starts a new paragraph.

• This is often used for discussion on Talk pages.

In the case of a semicolon and some text in front of the colon, the first colon starts a new line (indented as before) even though it is in the wikitext not at the start of the line, see definition list.

: A colon indents a line or paragraph.
A manual newline starts a new paragraph.


When there is a need for separating a block of text

the blockquote command will indent both margins when needed instead of the left margin only as the colon does.

This is useful for (as the name says) inserting blocks of quoted (and cited) text.

<blockquote>
The '''blockquote''' command will indent
both margins when needed instead of the
left margin only as the colon does.
</blockquote>

Centered text.
• Please note the US-English spelling of "center".
<center>Centered text.</center>
A horizontal dividing line:

this is above it...

...and this is below it.

If you don't use a section header, you don't get a TOC entry.

A horizontal dividing line:
this is above it...
----
...and this is below it.


General notes:

• Enclose the target name in double square brackets — "[[" and "]]"
• First letter of target name is automatically capitalized
• Spaces are represented as underscores (but don't do underscores yourself)
• Links to nonexistent pages are shown in red — Help:Starting a new page tells about creating the page.
• When the mouse cursor "hovers" over the link, you see a "hover box" containing... hover over links below to see.
What it looks like What you type
Basic

Sue is reading the official position (or Official positions).

Sue is reading the
[[official position]]
(or [[Official position]]s).
Basic + Text formatting

You can also italicize/etc. links: e.g., Wikipedia.

 ''[[Wikipedia]]''

A link to the page on another wiki (e.g. the same subject in another language)

*See [[m:Help:Interwiki linking]].
*[[:fr:Wikipédia:Aide]].

Section of page

If the section doesn't exist, the link goes to the top of the page. If there are multiple sections by the same name, link to specific ones by adding how many times that header has already appeared (e.g. if there are 3 sections entitled "Example header," and you wish to link to the third one, then use [[#Example section 3]]. For more info, see Help:Editing FAQ.

*[[List of cities by country#Morocco]]
*[[List of cities by country#Norway]]


Use a pipe "|" to create a link label:

*[[Help:Link|About Links]]

"blank" pipes hide:

After you save, the server automatically fills in the link label.

*Parentheses: [[kingdom (biology)|]].
*Colon: [[m:Requests for adminship|]].

A red link (like this one) points to a page that doesn't exist yet.

• You can create it by clicking on the link.
• Have a look at how to start a page guide and the naming conventions page for your project.
A red link ([[like this one]]) points to a page
that doesn't exist yet.


Your user name plus timestamp: Example 08:10 Oct 5, 2002 (UTC)
Five tildes give a timestamp: 17:55, 12 April 2006 (UTC)

The server will fill in the link after you save.

Please "sign" comments on talk pages:
: Your user name plus timestamp: ~~~~
: Five tildes give a timestamp: ~~~~~

Redirects

one article title to another with this special link.

#REDIRECT [[United States]]
ISBN 0123456789X
RFC 123

Sound

[[media:Sg_mrob.ogg|Sound]]

Category listing links (these appear at page bottom and list the page in the Category)

To list a page in a Category and have a link to the Category at page bottom.

[[Category:English documentation]]

Category non-listing links (these appear inline without listing the page in the Category)

To link to a Category without causing the page to be listed in the category, add a colon
Category:English documentation

[[:Category:English documentation]]

Dates

Use links for dates, so everyone can set their own display order. Use Special:Preferences to change your own date display setting.
July 20 1969 20 July 1969 and 1969-07-20

[[July 20]] [[1969]]
[[20 July]] [[1969]]
and [[1969]]-[[07-20]]

Special pages

[[Special:Whatlinkshere/Help:Editing]]