Difference between revisions of "User:He!ko/Editing"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: #! -*- mode: wikipedia -*- {{H:h|Editor toc}} <!-- This is the part everybody wants, therefore some argue that it should be transcluded and not just linked.--> For the basics see [[He...)
 
Line 1: Line 1:
 
#! -*- mode: wikipedia -*-
 
#! -*- mode: wikipedia -*-
 
 
  
 
{{H:h|Editor toc}}
 
{{H:h|Editor toc}}
 
 
<!-- This is the part everybody wants, therefore some argue that it should be transcluded and not just linked.-->
 
<!-- This is the part everybody wants, therefore some argue that it should be transcluded and not just linked.-->
 
 
For the basics see [[Help:Editing]].
 
For the basics see [[Help:Editing]].
 
 
== [[w:Wikitext|Wikitext]] markup&mdash;making your page look the way you want==
 
== [[w:Wikitext|Wikitext]] markup&mdash;making your page look the way you want==
 
 
* If you want to try out things without danger of doing any harm, you can do so in the [[{{ns:4}}:Sandbox]].
 
* If you want to try out things without danger of doing any harm, you can do so in the [[{{ns:4}}:Sandbox]].
 
 
* More information on [[Help:Html in wikitext|HTML tags in wikitext]].
 
* More information on [[Help:Html in wikitext|HTML tags in wikitext]].
 
 
  
 
=== Organizing your writing &mdash; sections, paragraphs, lists and lines ===
 
=== Organizing your writing &mdash; sections, paragraphs, lists and lines ===
 
 
----
 
----
  
 
  border="1" cellpadding="2" cellspacing="0"
 
  border="1" cellpadding="2" cellspacing="0"
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
  
 
What it looks like
 
What it looks like
 
 
What you type
 
What you type
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Sections and subsections
 
; Sections and subsections
 
 
Start sections with header lines
 
Start sections with header lines
 
 
  
 
Note: Single equal signs give the highest level heading, like the page title; usually projects have the convention not to use them.
 
Note: Single equal signs give the highest level heading, like the page title; usually projects have the convention not to use them.
 
 
  
 
<!-- This is the original
 
<!-- This is the original
 
 
= DO NOT USE THIS =
 
= DO NOT USE THIS =
 
 
== New section ==
 
== New section ==
 
 
=== Subsection ===
 
=== Subsection ===
 
 
==== Sub-subsection ====
 
==== Sub-subsection ====
 
 
  -->
 
  -->
 
 
  
 
<!-- next set
 
<!-- next set
 
 
<h1> DO NOT USE THIS </h1>
 
<h1> DO NOT USE THIS </h1>
 
 
<h2> New section </h2>
 
<h2> New section </h2>
 
 
<h3> Subsection </h3>
 
<h3> Subsection </h3>
 
 
<h4> Sub-subsection </h4>
 
<h4> Sub-subsection </h4>
 
 
  -->
 
  -->
 
 
  
 
<!-- This code prevents confusion in the section editing feature-->
 
<!-- This code prevents confusion in the section editing feature-->
 
 
<b><font style="font-size:120%">New section</font></b>
 
<b><font style="font-size:120%">New section</font></b>
 
 
  
 
<b><font style="font-size:110%">Subsection</font></b>
 
<b><font style="font-size:110%">Subsection</font></b>
 
 
  
 
<b><font style="font-size:100%">Sub-subsection</font></b>
 
<b><font style="font-size:100%">Sub-subsection</font></b>
 
 
  
 
* Start with a second-level heading (<tt><nowiki>==</nowiki></tt>); don't use first-level headings (=).
 
* Start with a second-level heading (<tt><nowiki>==</nowiki></tt>); don't use first-level headings (=).
 
 
* Don't skip levels (for example, second-level followed by fourth-level).
 
* Don't skip levels (for example, second-level followed by fourth-level).
 
+
* A [[#Table of contents|table of contents]] will automatically be added to an article that has four or more sections.
* A [[#Table of contents|table of contents]] will automatically be added to an article that has four or more sections.  
+
 
+
 
* If appropriate, place subsections in order. If listing countries, for example, place them in alphabetical order rather than, say, relative to population of [[w:OECD|OECD]] countries, or some random order.
 
* If appropriate, place subsections in order. If listing countries, for example, place them in alphabetical order rather than, say, relative to population of [[w:OECD|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. <nowiki><h4>heading too low level to be in the TOC of large page<h4></nowiki>.
 
* 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. <nowiki><h4>heading too low level to be in the TOC of large page<h4></nowiki>.
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>
 
<pre><nowiki>
 
 
  
 
== New section ==
 
== New section ==
 
 
  
 
=== Subsection ===
 
=== Subsection ===
 
 
  
 
==== Sub-subsection ====
 
==== Sub-subsection ====
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
  
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; [[w:Newline|Newline]]:
 
; [[w:Newline|Newline]]:
 
 
  
 
A single
 
A single
 
 
newline
 
newline
 
 
has no
 
has no
 
 
effect on the
 
effect on the
 
 
layout.
 
layout.
 
 
  
 
But an empty line
 
But an empty line
 
+
starts a new paragraph,
starts a new paragraph,  
+
 
+
 
or ends a list or indented part.
 
or ends a list or indented part.
 
 
(<nowiki><p></nowiki> disables this paragraphing until <nowiki></p></nowiki> or the end  of the section)
 
(<nowiki><p></nowiki> disables this paragraphing until <nowiki></p></nowiki> 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.)
 
(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.
 
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 can make the wikitext more readable by putting in newlines.
 
 
You might find this causes future problems&mdash;see [[w:Wikipedia:Don't use line breaks]] for details.
 
You might find this causes future problems&mdash;see [[w:Wikipedia:Don't use line breaks]] for details.
 
 
  
 
* When used in a list, a newline ''does'' affect the layout (See [[Help:List]]).
 
* When used in a list, a newline ''does'' affect the layout (See [[Help:List]]).
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>
 
<pre><nowiki>
 
 
  
 
A single
 
A single
 
 
newline
 
newline
 
 
has no
 
has no
 
 
effect on the
 
effect on the
 
 
layout.
 
layout.
 
 
  
 
But an empty line
 
But an empty line
 
 
starts a new paragraph.</nowiki></pre>
 
starts a new paragraph.</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
  
 
You can break lines<br />
 
You can break lines<br />
 
 
without starting a new paragraph.<p>
 
without starting a new paragraph.<p>
 
 
(The HTML tag <nowiki><br /></nowiki> is sufficient. The system produces the XHTML code <nowiki><br&nbsp;/></nowiki>.)</p>
 
(The HTML tag <nowiki><br /></nowiki> is sufficient. The system produces the XHTML code <nowiki><br&nbsp;/></nowiki>.)</p>
 
 
  
 
* Please use this sparingly.
 
* Please use this sparingly.
 
 
* Close markup between lines; do not start a [[Help:link|link]] or ''italics'' or '''bold''' on one line and close it on the next.
 
* Close markup between lines; do not start a [[Help:link|link]] or ''italics'' or '''bold''' on one line and close it on the next.
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>You can break lines<br />
 
<pre><nowiki>You can break lines<br />
 
 
without starting a new paragraph.</nowiki></pre>
 
without starting a new paragraph.</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
* ''Unordered Lists'' are easy to do:
 
* ''Unordered Lists'' are easy to do:
 
 
** start every line with a star,
 
** start every line with a star,
 
 
*** more stars means deeper levels.
 
*** more stars means deeper levels.
 
 
* A newline
 
* A newline
 
+
* in a list
* in a list
+
 
+
 
marks the end of the list.
 
marks the end of the list.
 
 
* Of course,
 
* Of course,
 
 
* you can
 
* you can
 
 
* start again.
 
* start again.
 
 
  
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>* Unordered Lists are easy to do:
 
<pre><nowiki>* Unordered Lists are easy to do:
 
 
** start every line with a star,
 
** start every line with a star,
 
 
*** more stars means deeper levels.
 
*** more stars means deeper levels.
 
 
* A newline
 
* A newline
 
+
* in a list
* in a list
+
 
+
 
marks the end of the list.
 
marks the end of the list.
 
 
* Of course,
 
* Of course,
 
 
* you can
 
* you can
 
 
* start again.
 
* start again.
 
 
  
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
# Numbered lists are also good
 
# Numbered lists are also good
 
 
## very organized
 
## very organized
 
 
## easy to follow
 
## easy to follow
 
 
# A newline
 
# A newline
 
+
# in a list
# in a list
+
 
+
 
marks the end of the list.
 
marks the end of the list.
 
 
# New numbering starts
 
# New numbering starts
 
 
# with 1.
 
# with 1.
 
 
  
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki># Numbered lists are also good
 
<pre><nowiki># Numbered lists are also good
 
 
## very organized
 
## very organized
 
 
## easy to follow
 
## easy to follow
 
 
# A newline
 
# A newline
 
+
# in a list
# in a list
+
 
+
 
marks the end of the list.
 
marks the end of the list.
 
 
# New numbering starts
 
# New numbering starts
 
 
# with 1.
 
# with 1.
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
* You can even do mixed lists
 
* You can even do mixed lists
 
 
*# and nest them
 
*# and nest them
 
 
*#* or break lines<br />in lists
 
*#* or break lines<br />in lists
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>* You can even do mixed lists
 
<pre><nowiki>* You can even do mixed lists
 
 
*# and nest them
 
*# and nest them
 
 
*#* or break lines<br />in lists</nowiki></pre>
 
*#* or break lines<br />in lists</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
  
 
'''Definition list'''
 
'''Definition list'''
 
 
; word : definition of the word
 
; word : definition of the word
 
+
; longer phrase
; longer phrase  
+
 
+
 
: phrase defined
 
: phrase defined
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>; word : definition of the word
 
<pre><nowiki>; word : definition of the word
 
+
; longer phrase
; longer phrase  
+
 
+
 
: phrase defined</nowiki></pre>
 
: phrase defined</nowiki></pre>
 
 
  
 
* One item per line; a newline can appear before the colon, but using a space before the colon improves parsing.
 
* One item per line; a newline can appear before the colon, but using a space before the colon improves parsing.
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Indenting
 
; Indenting
 
 
: A colon at the start of a line indents a paragraph.
 
: A colon at the start of a line indents a paragraph.
 
 
A manual newline starts a new paragraph.
 
A manual newline starts a new paragraph.
 
 
* This is often used for discussion on [[Help:talk page|talk page]]s.
 
* This is often used for discussion on [[Help:talk page|talk page]]s.
 
 
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.
 
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.
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>: A colon indents a line or paragraph.
 
<pre><nowiki>: A colon indents a line or paragraph.
 
 
A manual newline starts a new paragraph.
 
A manual newline starts a new paragraph.
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
When there is a need for separating a block of text
 
When there is a need for separating a block of text
 
 
<blockquote>
 
<blockquote>
 
 
the '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does.
 
the '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does.
 
 
</blockquote>
 
</blockquote>
 
 
This is useful for (as the name says) inserting blocks of quoted (and cited) text.
 
This is useful for (as the name says) inserting blocks of quoted (and cited) text.
 
 
===== What you type =====
 
===== What you type =====
 
  
 
<pre><nowiki>
 
<pre><nowiki>
 
 
<blockquote>
 
<blockquote>
 
+
The '''blockquote''' command will indent
The '''blockquote''' command will indent  
+
both margins when needed instead of the
 
+
both margins when needed instead of the  
+
 
+
 
left margin only as the colon does.
 
left margin only as the colon does.
 
 
</blockquote>
 
</blockquote>
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
  
 
<center>Centered text.</center>
 
<center>Centered text.</center>
 
 
* Please note the US-English spelling of "center".
 
* Please note the US-English spelling of "center".
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki><center>Centered text.</center></nowiki></pre>
 
<pre><nowiki><center>Centered text.</center></nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
  
 
+
A [[w:horizontal dividing line|horizontal dividing line]]:
A [[w:horizontal dividing line|horizontal dividing line]]:  
+
 
+
 
this is above it...
 
this is above it...
 
 
----
 
----
 
 
...and this is below it.
 
...and this is below it.
 
 
  
 
If you don't use a section header, you don't get a TOC entry.
 
If you don't use a section header, you don't get a TOC entry.
 
 
===== What you type =====
 
===== What you type =====
<pre><nowiki>A horizontal dividing line:  
+
<pre><nowiki>A horizontal dividing line:
 
+
 
this is above it...
 
this is above it...
 
 
----
 
----
 
 
...and this is below it.
 
...and this is below it.
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
===== What you type =====
 
===== What you type =====
 
}
 
}
 
 
  
 
=== Links, URLs ===
 
=== Links, URLs ===
 
 
More information at [[Help:Link]]
 
More information at [[Help:Link]]
 
 
==== Internal links ====
 
==== Internal links ====
 
 
General notes:
 
General notes:
 
 
* Enclose the '''target name''' in double square brackets&mdash;<nowiki>"[[" and "]]"</nowiki>.
 
* Enclose the '''target name''' in double square brackets&mdash;<nowiki>"[[" and "]]"</nowiki>.
 
 
* First letter of target name is automatically capitalized.
 
* First letter of target name is automatically capitalized.
 
 
* Spaces are represented as underscores (but don't do underscores yourself).
 
* Spaces are represented as underscores (but don't do underscores yourself).
 
 
* [[Like this one|Links to nonexistent pages]] are shown in red&mdash;[[Help:Starting a new page]] tells about creating the page.
 
* [[Like this one|Links to nonexistent pages]] are shown in red&mdash;[[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.
 
* When the mouse cursor "hovers" over the link, you see a "hover box" containing... hover over links below to see.
 
 
----
 
----
  
 
  border="1" cellpadding="2" cellspacing="0"
 
  border="1" cellpadding="2" cellspacing="0"
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
  
 
What it looks like
 
What it looks like
 
 
What you type
 
What you type
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Basic
 
; Basic
 
+
Sue is reading the [[official position]]
Sue is reading the [[official position]]  
+
 
+
 
(or [[Official position]]s).
 
(or [[Official position]]s).
 
 
===== What you type =====
 
===== What you type =====
<pre><nowiki>Sue is reading the  
+
<pre><nowiki>Sue is reading the
 
+
 
[[official position]]
 
[[official position]]
 
 
(or [[Official position]]s).</nowiki></pre>
 
(or [[Official position]]s).</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Basic + [[#Text formatting&mdash;controlling how it looks|Text formatting]]
 
; Basic + [[#Text formatting&mdash;controlling how it looks|Text formatting]]
 
 
You can also ''italicize''/etc. links: e.g., ''[[Wikipedia]]''.
 
You can also ''italicize''/etc. links: e.g., ''[[Wikipedia]]''.
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki> ''[[Wikipedia]]'' </nowiki></pre>
 
<pre><nowiki> ''[[Wikipedia]]'' </nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Interwiki linking
 
; Interwiki linking
 
 
A link to the page on another wiki (e.g. the same subject in another language)
 
A link to the page on another wiki (e.g. the same subject in another language)
 
 
* See [[m:Help:Interwiki linking]].
 
* See [[m:Help:Interwiki linking]].
 
 
* [[:fr:Wikipédia:Aide]].
 
* [[:fr:Wikipédia:Aide]].
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>
 
<pre><nowiki>
 
 
* See [[m:Help:Interwiki linking]].
 
* See [[m:Help:Interwiki linking]].
 
 
* [[:fr:Wikipédia:Aide]].
 
* [[:fr:Wikipédia:Aide]].
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Section of page
 
; Section of page
 
 
* [[List of cities by country#Morocco]]
 
* [[List of cities by country#Morocco]]
 
 
* [[List of cities by country#Norway]]
 
* [[List of cities by country#Norway]]
 
 
If the section doesn't exist, the link goes to the top of the 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 <nowiki>[[#Example section 3]]</nowiki>. For more info, see [[Help:Editing FAQ#Q: Can I link to a specific section header if there are multiple section headers of the same name? If so, how?|Help:Editing FAQ]].
 
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 <nowiki>[[#Example section 3]]</nowiki>. For more info, see [[Help:Editing FAQ#Q: Can I link to a specific section header if there are multiple section headers of the same name? If so, how?|Help:Editing FAQ]].
 
 
===== What you type =====
 
===== What you type =====
 
  
 
<pre><nowiki>
 
<pre><nowiki>
 
 
* [[List of cities by country#Morocco]]
 
* [[List of cities by country#Morocco]]
 
 
* [[List of cities by country#Norway]]
 
* [[List of cities by country#Norway]]
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; [[Help:Piped link|Piped link]]
 
; [[Help:Piped link|Piped link]]
 
 
Use a pipe "'''|'''" to create a '''link label''':
 
Use a pipe "'''|'''" to create a '''link label''':
 
 
* [[Help:Link|About Links]]
 
* [[Help:Link|About Links]]
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>
 
<pre><nowiki>
 
 
* [[Help:Link|About Links]]
 
* [[Help:Link|About Links]]
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
  
 
'''"Blank" pipes''' hide:
 
'''"Blank" pipes''' hide:
 
 
* Parentheses: [[kingdom (biology)|kingdom]].
 
* Parentheses: [[kingdom (biology)|kingdom]].
 
 
* Colon: [[m:Requests for adminship|Requests for adminship]].
 
* Colon: [[m:Requests for adminship|Requests for adminship]].
 
 
After you save, the server automatically fills in the link label.
 
After you save, the server automatically fills in the link label.
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>* Parentheses: [[kingdom (biology)|]].
 
<pre><nowiki>* Parentheses: [[kingdom (biology)|]].
 
 
* Colon: [[m:Requests for adminship|]].</nowiki></pre>
 
* Colon: [[m:Requests for adminship|]].</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Links to nonexistent pages
 
; Links to nonexistent pages
 
 
A red link ([[like this one]]) points to a page
 
A red link ([[like this one]]) points to a page
 
 
that doesn't exist yet.
 
that doesn't exist yet.
 
 
* You can create it by clicking on the link.
 
* You can create it by clicking on the link.
 
 
* Have a look at [[Help:starting a new page|how to start a page]] guide and the naming conventions page for your project.
 
* Have a look at [[Help:starting a new page|how to start a page]] guide and the naming conventions page for your project.
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>
 
<pre><nowiki>
 
 
A red link ([[like this one]]) points to a page
 
A red link ([[like this one]]) points to a page
 
 
that doesn't exist yet.
 
that doesn't exist yet.
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Link to yourself
 
; Link to yourself
 
 
Please "sign" comments on talk pages:
 
Please "sign" comments on talk pages:
 
 
: Your user name: [[User:Example|Example]]
 
: Your user name: [[User:Example|Example]]
 
 
: Your user name plus timestamp: [[User:Example|Example]] 08:10 Oct 5, 2002 (UTC)
 
: Your user name plus timestamp: [[User:Example|Example]] 08:10 Oct 5, 2002 (UTC)
 
 
: Five tildes give a timestamp: 17:55, 12 April 2006 (UTC)
 
: Five tildes give a timestamp: 17:55, 12 April 2006 (UTC)
 
 
The server will fill in the link after you save.
 
The server will fill in the link after you save.
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>Please "sign" comments on talk pages:
 
<pre><nowiki>Please "sign" comments on talk pages:
 
 
: Your user name: ~~~
 
: Your user name: ~~~
 
 
: Your user name plus timestamp: ~~~~
 
: Your user name plus timestamp: ~~~~
 
 
: Five tildes give a timestamp: ~~~~~
 
: Five tildes give a timestamp: ~~~~~
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; [[Help:Redirect|Redirect]]s
 
; [[Help:Redirect|Redirect]]s
 
 
One article title to another with this special link.
 
One article title to another with this special link.
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>#REDIRECT [[United States]]</nowiki></pre>
 
<pre><nowiki>#REDIRECT [[United States]]</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; "Magic" links
 
; "Magic" links
 
 
* [[w:ISBN|ISBN]] links to books: ISBN 0123456789X (See [[Help:ISBN links]])
 
* [[w:ISBN|ISBN]] links to books: ISBN 0123456789X (See [[Help:ISBN links]])
 
 
* [[w:Request for Comments|RfC]] links to Requests for Comments: RFC 123 (See [[mediawiki:rfcurl]])
 
* [[w:Request for Comments|RfC]] links to Requests for Comments: RFC 123 (See [[mediawiki:rfcurl]])
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>
 
<pre><nowiki>
 
 
ISBN 0123456789X
 
ISBN 0123456789X
 
 
RFC 123</nowiki></pre>
 
RFC 123</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Media links
 
; Media links
 
 
To include links to non-image uploads such as sounds, use a "media" link.
 
To include links to non-image uploads such as sounds, use a "media" link.
 
 
<br />[[media:Example.ogg|Sound]]
 
<br />[[media:Example.ogg|Sound]]
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>[[media:Example.ogg|Sound]]
 
<pre><nowiki>[[media:Example.ogg|Sound]]
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Category listing links (these appear at page bottom and list the page in the category)
 
; 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.<br />
 
To list a page in a category and have a link to the Category at page bottom.<br />
 
 
  
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>[[Category:English documentation]]
 
<pre><nowiki>[[Category:English documentation]]
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Category non-listing links (these appear inline ''without'' listing the page in the category)
 
; 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'''<br />
 
To link to a category without causing the page to be listed in the category, '''add a colon'''<br />
 
 
[[:Category:English documentation]]
 
[[:Category:English documentation]]
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>[[:Category:English documentation]]
 
<pre><nowiki>[[:Category:English documentation]]
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Dates:
 
; Dates:
 
 
Use links for dates, so everyone can set their own display order. Use [[Special:Preferences]] to change your own date display setting.<br />
 
Use links for dates, so everyone can set their own display order. Use [[Special:Preferences]] to change your own date display setting.<br />
 
 
[[July 20]] [[1969]]
 
[[July 20]] [[1969]]
 
 
[[20 July]] [[1969]]
 
[[20 July]] [[1969]]
 
 
and [[1969]]-[[07-20]]
 
and [[1969]]-[[07-20]]
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>
 
<pre><nowiki>
 
 
[[July 20]] [[1969]]
 
[[July 20]] [[1969]]
 
 
[[20 July]] [[1969]]
 
[[20 July]] [[1969]]
 
 
and [[1969]]-[[07-20]]
 
and [[1969]]-[[07-20]]
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Special pages
 
; Special pages
 
 
"What links here" etc. can be linked as:<br />
 
"What links here" etc. can be linked as:<br />
 
 
[[Special:Whatlinkshere/Help:Editing]]
 
[[Special:Whatlinkshere/Help:Editing]]
 
 
===== What you type =====
 
===== What you type =====
 
<pre>
 
<pre>
 
 
[[Special:Whatlinkshere/Help:Editing]]
 
[[Special:Whatlinkshere/Help:Editing]]
 
 
</pre>
 
</pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
 
  
  
 
; Linking to old revisions of pages, diffs, and specific history pages
 
; Linking to old revisions of pages, diffs, and specific history pages
 
 
External link function is used for these as <nowiki>[[page]]</nowiki> will not work.<br />
 
External link function is used for these as <nowiki>[[page]]</nowiki> will not work.<br />
 
 
Open an old revision copy the url and paste it where you want it. http://meta.wikimedia.org/w/index.php?title=Fotonotes&oldid=482030<br />
 
Open an old revision copy the url and paste it where you want it. http://meta.wikimedia.org/w/index.php?title=Fotonotes&oldid=482030<br />
 
 
Open a diff, copy and paste the url http://meta.wikimedia.org/w/index.php?title=Fotonotes&diff=493810&oldid=482030<br />
 
Open a diff, copy and paste the url http://meta.wikimedia.org/w/index.php?title=Fotonotes&diff=493810&oldid=482030<br />
 
 
A specific page from edit history. To do this click the either the (older) or (earliest) button at least once and maneuver to the page you want to link to
 
A specific page from edit history. To do this click the either the (older) or (earliest) button at least once and maneuver to the page you want to link to
 
 
http://meta.wikimedia.org/w/index.php?title=Help:Wikitext_examples&dir=prev&offset=20060813153343&limit=100&action=history
 
http://meta.wikimedia.org/w/index.php?title=Help:Wikitext_examples&dir=prev&offset=20060813153343&limit=100&action=history
 
 
===== What you type =====
 
===== What you type =====
 
<pre>
 
<pre>
 
 
http://meta.wikimedia.org
 
http://meta.wikimedia.org
 
 
/w/index.php?title=Fotonotes&oldid=482030
 
/w/index.php?title=Fotonotes&oldid=482030
 
 
http://meta.wikimedia.org/w/index.php?
 
http://meta.wikimedia.org/w/index.php?
 
 
title=Fotonotes&diff=493810&oldid=482030
 
title=Fotonotes&diff=493810&oldid=482030
 
 
http://meta.wikimedia.org/w/index.php?
 
http://meta.wikimedia.org/w/index.php?
 
 
title=Help:Wikitext_examples&dir=prev&offset
 
title=Help:Wikitext_examples&dir=prev&offset
 
 
=20060813153343&limit=100&action=history
 
=20060813153343&limit=100&action=history
 
 
</pre>
 
</pre>
 
 
===== What you type =====
 
===== What you type =====
 
}
 
}
 
 
  
 
==== External links ====
 
==== External links ====
 
 
----
 
----
  
 
  border="1" cellpadding="2" cellspacing="0"
 
  border="1" cellpadding="2" cellspacing="0"
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
  
 
[http://www.nupedia.com Nupedia], [http://www.nupedia.com]
 
[http://www.nupedia.com Nupedia], [http://www.nupedia.com]
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>
 
<pre><nowiki>
 
 
[http://www.nupedia.com Nupedia],
 
[http://www.nupedia.com Nupedia],
 
 
[http://www.nupedia.com]</nowiki></pre>
 
[http://www.nupedia.com]</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
  
 
[mailto:email@example.com Email Example],
 
[mailto:email@example.com Email Example],
 
 
[mailto:email@example.com]
 
[mailto:email@example.com]
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>[mailto:email@example.com Email Example],
 
<pre><nowiki>[mailto:email@example.com Email Example],
 
 
[mailto:email@example.com]</nowiki></pre>
 
[mailto:email@example.com]</nowiki></pre>
 
 
----
 
----
 
==== What it looks like ====
 
==== What it looks like ====
 
  
 
Or just give the URL: http://www.nupedia.com.
 
Or just give the URL: http://www.nupedia.com.
 
 
* In the [[m:Help:URL|URL]] all symbols must be among: A-Z a-z 0-9 ._\/~%- &amp;#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written ^ (to be looked up in [[w:ASCII|ASCII]]). A blank space can also be converted into an underscore.
 
* In the [[m:Help:URL|URL]] all symbols must be among: A-Z a-z 0-9 ._\/~%- &amp;#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written ^ (to be looked up in [[w:ASCII|ASCII]]). A blank space can also be converted into an underscore.
 
 
===== What you type =====
 
===== What you type =====
 
<pre><nowiki>Or just give the URL:
 
<pre><nowiki>Or just give the URL:
 
 
http://www.nupedia.com.</nowiki></pre>
 
http://www.nupedia.com.</nowiki></pre>
 
 
===== What you type =====
 
===== What you type =====
 
}
 
}
 
 
  
 
=== Text formatting&mdash;controlling how it looks ===
 
=== Text formatting&mdash;controlling how it looks ===
 
 
<table border="1" cellpadding="2" cellspacing="0">
 
<table border="1" cellpadding="2" cellspacing="0">
 
 
<tr>
 
<tr>
 
 
<th>What it looks like</th>
 
<th>What it looks like</th>
 
 
<th>What you type</th>
 
<th>What you type</th>
 
 
</tr>
 
</tr>
 
 
<tr valign="top"><td>
 
<tr valign="top"><td>
 
 
''Emphasize'' (italics), '''strongly''' (bold), '''''very strongly''''' (bold italics).
 
''Emphasize'' (italics), '''strongly''' (bold), '''''very strongly''''' (bold italics).
 
 
(These are double and triple apostrophes, not double quotes.)
 
(These are double and triple apostrophes, not double quotes.)
 
 
  
 
<small>Note: this can also be applied to links (e.g., ''[[Wikipedia]]'').</small>
 
<small>Note: this can also be applied to links (e.g., ''[[Wikipedia]]'').</small>
 
 
</td>
 
</td>
 
 
<td valign="bottom">
 
<td valign="bottom">
 
 
<pre><nowiki>''Emphasize'', '''strongly''',
 
<pre><nowiki>''Emphasize'', '''strongly''',
 
 
'''''very strongly'''''.
 
'''''very strongly'''''.
 
 
  
 
''[[Wikipedia]]''
 
''[[Wikipedia]]''
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
<tr valign="top"><td>
 
<tr valign="top"><td>
 
 
You can also write <i>italic</i> and <b>bold</b>.
 
You can also write <i>italic</i> and <b>bold</b>.
 
 
This is useful in mathematical formulas where you need specific font styles rather than emphasis.
 
This is useful in mathematical formulas where you need specific font styles rather than emphasis.
 
 
: <b>F</b> = <i>m</i><b>a</b>
 
: <b>F</b> = <i>m</i><b>a</b>
 
 
(The difference between these two methods is not very important for graphical browsers, so most people ignore it). But it may make a big difference for the visually impaired ;-)
 
(The difference between these two methods is not very important for graphical browsers, so most people ignore it). But it may make a big difference for the visually impaired ;-)
 
 
</td>
 
</td>
 
 
<td>
 
<td>
 
 
<pre><nowiki>You can also write <i>italic</i> and <b>bold</b>.
 
<pre><nowiki>You can also write <i>italic</i> and <b>bold</b>.
 
+
This is useful in mathematical formulas where you
This is useful in mathematical formulas where you  
+
 
+
 
need specific font styles rather than emphasis.
 
need specific font styles rather than emphasis.
 
 
: <b>F</b> = <i>m</i><b>a</b></nowiki></pre><!-- that's not a mathematical formula, though -- sure it is, just because it's being applied to physics doesn't make it stop being mathematics -->
 
: <b>F</b> = <i>m</i><b>a</b></nowiki></pre><!-- that's not a mathematical formula, though -- sure it is, just because it's being applied to physics doesn't make it stop being mathematics -->
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
<tr valign="top"><td>
 
<tr valign="top"><td>
 
+
You can also write
You can also write  
+
 
+
 
<span style="font-variant:small-caps">
 
<span style="font-variant:small-caps">
 
 
in small caps</span>.
 
in small caps</span>.
 
+
If the wiki has the templates, this can
If the wiki has the templates, this can  
+
 
+
 
{{bsm}}be much simpler to write{{esm}}.
 
{{bsm}}be much simpler to write{{esm}}.
 
 
</td>
 
</td>
 
 
<td>
 
<td>
 
+
<pre><nowiki>You can also write
<pre><nowiki>You can also write  
+
 
+
 
<span style="font-variant:small-caps">
 
<span style="font-variant:small-caps">
 
 
in small caps</span>.
 
in small caps</span>.
 
+
If the wiki has the templates, this can
If the wiki has the templates, this can  
+
 
+
 
{{bsm}}be much simpler to write{{esm}}.</nowiki></pre>
 
{{bsm}}be much simpler to write{{esm}}.</nowiki></pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
<tr valign=top>
 
<tr valign=top>
 
+
<td>A typewriter font, sometimes used for
<td>A typewriter font, sometimes used for  
+
 
+
 
<tt>technical terms</tt> and <code>computer code</code>.
 
<tt>technical terms</tt> and <code>computer code</code>.
 
 
</td>
 
</td>
 
+
<td><pre><nowiki>A typewriter font, sometimes used for
<td><pre><nowiki>A typewriter font, sometimes used for  
+
 
+
 
<tt>technical terms</tt> and <code>computer code</code>.</nowiki></pre>
 
<tt>technical terms</tt> and <code>computer code</code>.</nowiki></pre>
 
 
* For semantic reasons, using <code>&lt;code&gt;</code> where applicable is preferable to using <code>&lt;tt&gt;</code>.
 
* For semantic reasons, using <code>&lt;code&gt;</code> where applicable is preferable to using <code>&lt;tt&gt;</code>.
 
 
</td><!-- tt is really 'teletype', not 'technical term' -->
 
</td><!-- tt is really 'teletype', not 'technical term' -->
 
 
</tr>
 
</tr>
 
 
<tr valign=top>
 
<tr valign=top>
 
 
<td>You can use <small>small text</small> for captions.
 
<td>You can use <small>small text</small> for captions.
 
 
</td>
 
</td>
 
+
<td><pre><nowiki>You can use <small>small text</small>
<td><pre><nowiki>You can use <small>small text</small>  
+
 
+
 
for captions.</nowiki></pre>
 
for captions.</nowiki></pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
<tr valign="top"><td>You can <strike>strike out deleted material</strike>
 
<tr valign="top"><td>You can <strike>strike out deleted material</strike>
 
 
and <u>underline new material</u>.
 
and <u>underline new material</u>.
 
 
  
 
You can also mark <del>deleted material</del> and
 
You can also mark <del>deleted material</del> and
 
 
<ins>inserted material</ins> using logical markup
 
<ins>inserted material</ins> using logical markup
 
 
rather than visual markup.
 
rather than visual markup.
 
 
* When editing regular articles, just make your changes and do not mark them up in any special way.
 
* When editing regular articles, just make your changes and do not mark them up in any special way.
 
 
* When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
 
* When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
 
 
</td>
 
</td>
 
 
<td><pre><nowiki>You can <strike>strike out deleted material</strike>
 
<td><pre><nowiki>You can <strike>strike out deleted material</strike>
 
 
and <u>underline new material</u>.
 
and <u>underline new material</u>.
 
 
  
 
You can also mark <del>deleted material</del> and
 
You can also mark <del>deleted material</del> and
 
 
<ins>inserted material</ins> using logical markup
 
<ins>inserted material</ins> using logical markup
 
 
rather than visual markup.
 
rather than visual markup.
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
  
 
<tr valign="bottom" id="subscript"><td>Subscript: x<sub>2</sub><br />
 
<tr valign="bottom" id="subscript"><td>Subscript: x<sub>2</sub><br />
 
 
Superscript: x<sup>2</sup> or x&sup2;
 
Superscript: x<sup>2</sup> or x&sup2;
 
 
  
 
Most browsers have an easier time formatting lines with &amp;sup2; than with &lt;sup>2&lt;/sup>
 
Most browsers have an easier time formatting lines with &amp;sup2; than with &lt;sup>2&lt;/sup>
 
 
  
 
&epsilon;<sub>0</sub> =
 
&epsilon;<sub>0</sub> =
 
 
8.85 &times; 10<sup>&minus;12</sup>
 
8.85 &times; 10<sup>&minus;12</sup>
 
 
C&sup2; / J m.
 
C&sup2; / J m.
 
 
<br /><br />
 
<br /><br />
 
 
1 [[hectare]] = [[1 E4 m²]]
 
1 [[hectare]] = [[1 E4 m²]]
 
 
</td>
 
</td>
 
 
  
 
<td valign="bottom"><pre><nowiki>Subscript: x<sub>2</sub>
 
<td valign="bottom"><pre><nowiki>Subscript: x<sub>2</sub>
 
 
Superscript: x<sup>2</sup> or x&amp;sup2;
 
Superscript: x<sup>2</sup> or x&amp;sup2;
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
<pre><nowiki>
 
<pre><nowiki>
 
 
&amp;epsilon;<sub>0</sub> =
 
&amp;epsilon;<sub>0</sub> =
 
 
8.85 &amp;times; 10<sup>&amp;minus;12</sup>
 
8.85 &amp;times; 10<sup>&amp;minus;12</sup>
 
 
C&amp;sup2; / J m.
 
C&amp;sup2; / J m.
 
 
  
 
1 [[hectare]] = [[1 E4 m&amp;sup2]]
 
1 [[hectare]] = [[1 E4 m&amp;sup2]]
 
 
</nowiki></pre></td>
 
</nowiki></pre></td>
 
 
</tr>
 
</tr>
 
 
</table>
 
</table>
 
 
 
 
  
  
  
 
=== Disabling wikitext interpretation and/or reformatting ===
 
=== Disabling wikitext interpretation and/or reformatting ===
 
 
&lt;nowiki&gt; and &lt;pre&gt; tags can tell the server and the browser to display things as you typed them.
 
&lt;nowiki&gt; and &lt;pre&gt; tags can tell the server and the browser to display things as you typed them.
 
 
<table border="1" cellpadding="2" cellspacing="0">
 
<table border="1" cellpadding="2" cellspacing="0">
 
 
<tr>
 
<tr>
 
 
<td>
 
<td>
 
 
'''regular'''
 
'''regular'''
 
 
  
 
* interpret special characters
 
* interpret special characters
 
 
* interpret special wiki markup
 
* interpret special wiki markup
 
 
* reformat text (remove single newlines and multiple spaces, perform automatic wrapping)
 
* reformat text (remove single newlines and multiple spaces, perform automatic wrapping)
 
 
* a double newline gives a new paragraph
 
* a double newline gives a new paragraph
 
 
  
 
arrow      &rarr;
 
arrow      &rarr;
 
 
  
 
''italics''
 
''italics''
 
 
[[link]]
 
[[link]]
 
 
</td>
 
</td>
 
 
<td valign="bottom">
 
<td valign="bottom">
 
 
<pre><nowiki>arrow      &amp;rarr;
 
<pre><nowiki>arrow      &amp;rarr;
 
 
  
 
''italics''
 
''italics''
 
 
[[link]]</nowiki></pre>
 
[[link]]</nowiki></pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
<tr>
 
<tr>
 
 
<td valign="bottom">
 
<td valign="bottom">
 
 
'''&lt;nowiki>'''
 
'''&lt;nowiki>'''
 
 
* interpret special characters
 
* interpret special characters
 
 
* don't interpret special wiki markup
 
* don't interpret special wiki markup
 
 
* reformat text
 
* reformat text
 
 
* ignore even a double newline (no new paragraph); hence has to be applied separately for each paragraph
 
* ignore even a double newline (no new paragraph); hence has to be applied separately for each paragraph
 
 
''can be applied in-line:'' <nowiki>
 
''can be applied in-line:'' <nowiki>
 
 
arrow      &rarr;
 
arrow      &rarr;
 
 
  
 
''italics''
 
''italics''
 
 
[[link]]
 
[[link]]
 
 
</nowiki> ''[[normal]] again''
 
</nowiki> ''[[normal]] again''
 
 
</td>
 
</td>
 
 
<td valign="bottom">
 
<td valign="bottom">
 
 
<pre><nowiki>
 
<pre><nowiki>
 
 
''can be applied in-line:'' <nowiki>
 
''can be applied in-line:'' <nowiki>
 
 
arrow      &amp;rarr;
 
arrow      &amp;rarr;
 
 
  
 
''italics''
 
''italics''
 
 
[[link]]
 
[[link]]
 
 
</nowiki></nowiki>''[[normal]] again''</pre>
 
</nowiki></nowiki>''[[normal]] again''</pre>
 
 
  
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
  
 
<tr>
 
<tr>
 
 
<td>
 
<td>
 
+
'''&lt;pre>'''
'''&lt;pre>'''  
+
 
+
 
* interpret special characters
 
* interpret special characters
 
 
* don't interpret special wiki markup
 
* don't interpret special wiki markup
 
 
* don't reformat text (no wrapping)
 
* don't reformat text (no wrapping)
 
 
* allows CSS for HTML element pre; the default skin gives a box
 
* allows CSS for HTML element pre; the default skin gives a box
 
+
* uses a fixed-width font, as specified in the browser settings
* uses a fixed-width font, as specified in the browser settings  
+
 
+
 
+
  
 
<pre>arrow      &rarr;
 
<pre>arrow      &rarr;
 
 
  
 
''italics''
 
''italics''
 
 
[[link]]
 
[[link]]
 
 
</pre>
 
</pre>
 
 
</td>
 
</td>
 
 
<td valign="bottom">
 
<td valign="bottom">
 
 
<pre>&lt;pre>arrow      &amp;rarr;
 
<pre>&lt;pre>arrow      &amp;rarr;
 
 
  
 
''italics''
 
''italics''
 
 
[[link]]&lt;/pre></pre>
 
[[link]]&lt;/pre></pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
  
 
<tr>
 
<tr>
 
 
<td>
 
<td>
 
 
'''leading space'''
 
'''leading space'''
 
 
* interpret special characters
 
* interpret special characters
 
 
* interpret special wiki markup
 
* interpret special wiki markup
 
 
* don't reformat text (no wrapping)
 
* don't reformat text (no wrapping)
 
 
* produces HTML element pre, therefore the font and CSS are the same as when using pre; the default skin gives a box
 
* produces HTML element pre, therefore the font and CSS are the same as when using pre; the default skin gives a box
 
 
* a blank line ends the element pre; if there are more lines with leading space after that, a new pre element starts (in the default skin: a new box)
 
* a blank line ends the element pre; if there are more lines with leading space after that, a new pre element starts (in the default skin: a new box)
 
 
  
 
  arrow      &rarr;
 
  arrow      &rarr;
 
 
  
 
  ''italics''
 
  ''italics''
 
 
  [[link]]
 
  [[link]]
 
 
</pre>
 
</pre>
 
 
  
 
  IF a line of plain text starts with a space
 
  IF a line of plain text starts with a space
 
 
   it will be formatted exactly
 
   it will be formatted exactly
 
 
     as typed
 
     as typed
 
 
   in a  font
 
   in a  font
 
 
   in a grey dotted-outline box
 
   in a grey dotted-outline box
 
 
   lines won't wrap
 
   lines won't wrap
 
 
  ENDIF
 
  ENDIF
 
 
  this is useful for:
 
  this is useful for:
 
 
   * pasting preformatted text;
 
   * pasting preformatted text;
 
 
   * algorithm descriptions;
 
   * algorithm descriptions;
 
 
   * program source code
 
   * program source code
 
 
   * ASCII art;
 
   * ASCII art;
 
 
   * chemical structures;
 
   * chemical structures;
 
 
  
 
WARNING: If you make it wide,
 
WARNING: If you make it wide,
 
 
you [[w:page widening|force the whole page to be wide]] and
 
you [[w:page widening|force the whole page to be wide]] and
 
 
hence less readable. Never start ordinary lines with spaces.<br />
 
hence less readable. Never start ordinary lines with spaces.<br />
 
 
<center>(see also below)</center><td>
 
<center>(see also below)</center><td>
 
 
<pre> <nowiki>arrow      &amp;rarr;
 
<pre> <nowiki>arrow      &amp;rarr;
 
 
  
 
  ''italics''
 
  ''italics''
 
 
  [[link]]</nowiki></pre>
 
  [[link]]</nowiki></pre>
 
 
  
 
<pre><nowiki> IF a line of plain text starts with a space
 
<pre><nowiki> IF a line of plain text starts with a space
 
 
   it will be formatted exactly
 
   it will be formatted exactly
 
 
     as typed
 
     as typed
 
 
   in a fixed-width font
 
   in a fixed-width font
 
 
   in a grey dotted-outline box
 
   in a grey dotted-outline box
 
 
   lines won't wrap
 
   lines won't wrap
 
 
  ENDIF
 
  ENDIF
 
 
  this is useful for:
 
  this is useful for:
 
 
   * pasting preformatted text
 
   * pasting preformatted text
 
 
   * algorithm descriptions
 
   * algorithm descriptions
 
 
   * program source code
 
   * program source code
 
 
   * ASCII art
 
   * ASCII art
 
 
   * chemical structures
 
   * chemical structures
 
 
   * poetry
 
   * poetry
 
 
</nowiki></pre>
 
</nowiki></pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
 
  
  
 
<tr>
 
<tr>
 
 
<td>
 
<td>
 
 
'''typewriter font'''
 
'''typewriter font'''
 
 
  
 
(does not work beyond the end of a paragraph):
 
(does not work beyond the end of a paragraph):
 
 
  
 
<tt>arrow      &rarr;</tt>
 
<tt>arrow      &rarr;</tt>
 
 
  
 
<tt>''italics''</tt>
 
<tt>''italics''</tt>
 
 
<tt>[[link]]
 
<tt>[[link]]
 
 
  
 
New paragraph.</tt>
 
New paragraph.</tt>
 
 
  
 
</td>
 
</td>
 
 
<td valign="bottom">
 
<td valign="bottom">
 
 
<pre><nowiki><tt>arrow      &amp;rarr;</tt>
 
<pre><nowiki><tt>arrow      &amp;rarr;</tt>
 
 
  
 
<tt>''italics''</tt>
 
<tt>''italics''</tt>
 
 
<tt>[[link]]</nowiki>
 
<tt>[[link]]</nowiki>
 
 
  
 
New paragraph.</tt></pre>
 
New paragraph.</tt></pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
  
 
<tr>
 
<tr>
 
 
<td>
 
<td>
 
 
; Show special character codes:
 
; Show special character codes:
 
 
  
 
&amp;rarr;
 
&amp;rarr;
 
 
</td>
 
</td>
 
 
<td valign="bottom">
 
<td valign="bottom">
 
 
<pre>&amp;amp;rarr;</pre>
 
<pre>&amp;amp;rarr;</pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
  
 
<tr>
 
<tr>
 
 
<td>
 
<td>
 
 
;[[Help:Comment tags|Comments]]
 
;[[Help:Comment tags|Comments]]
 
 
The text between '''here'''
 
The text between '''here'''
 
 
<!-- comment here -->
 
<!-- comment here -->
 
 
'''and here''' won't be displayed
 
'''and here''' won't be displayed
 
 
</td>
 
</td>
 
 
<td>
 
<td>
 
 
<pre><nowiki>The text between '''here'''
 
<pre><nowiki>The text between '''here'''
 
 
<!-- comment here -->
 
<!-- comment here -->
 
 
'''and here''' won't be displayed</nowiki></pre>
 
'''and here''' won't be displayed</nowiki></pre>
 
 
</td>
 
</td>
 
 
</tr>
 
</tr>
 
 
</table>
 
</table>
 
 
  
 
=== Special characters ===
 
=== Special characters ===
 
 
<table border="1" cellpadding="2" cellspacing="0">
 
<table border="1" cellpadding="2" cellspacing="0">
 
 
<tr valign="top">
 
<tr valign="top">
 
 
<td>
 
<td>
 
 
'''Umlauts and accents:''' (See [[Help:Special characters]])<br />
 
'''Umlauts and accents:''' (See [[Help:Special characters]])<br />
 
 
À Á Â Ã Ä Å
 
À Á Â Ã Ä Å
 
 
Æ Ç È É Ê Ë
 
Æ Ç È É Ê Ë
 
 
Ì Í Î Ï Ñ Ò
 
Ì Í Î Ï Ñ Ò
 
 
Ó Ô Õ Ö Ø Ù
 
Ó Ô Õ Ö Ø Ù
 
 
Ú Û Ü ß à á
 
Ú Û Ü ß à á
 
 
â ã ä å æ ç
 
â ã ä å æ ç
 
 
è é ê ë ì í
 
è é ê ë ì í
 
 
î ï ñ ò ó ô
 
î ï ñ ò ó ô
 
 
œ õ ö ø ù ú
 
œ õ ö ø ù ú
 
 
û ü ÿ<br />
 
û ü ÿ<br />
 
 
<br />
 
<br />
 
 
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring;<br />
 
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring;<br />
 
 
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml;<br />
 
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml;<br />
 
 
&Igrave; &Iacute;
 
&Igrave; &Iacute;
 
 
&Icirc; &Iuml; &Ntilde; &Ograve;<br />
 
&Icirc; &Iuml; &Ntilde; &Ograve;<br />
 
 
&Oacute; &Ocirc; &Otilde;
 
&Oacute; &Ocirc; &Otilde;
 
 
&Ouml; &Oslash; &Ugrave;<br />
 
&Ouml; &Oslash; &Ugrave;<br />
 
 
&Uacute; &Ucirc; &Uuml; &szlig;
 
&Uacute; &Ucirc; &Uuml; &szlig;
 
 
&agrave; &aacute;<br />
 
&agrave; &aacute;<br />
 
 
&acirc; &atilde; &auml; &aring; &aelig;
 
&acirc; &atilde; &auml; &aring; &aelig;
 
 
&ccedil;<br />
 
&ccedil;<br />
 
 
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br />
 
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br />
 
 
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc;<br />
 
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc;<br />
 
 
&oelig; &otilde;
 
&oelig; &otilde;
 
 
&ouml; &oslash; &ugrave; &uacute;<br />
 
&ouml; &oslash; &ugrave; &uacute;<br />
 
 
&ucirc; &uuml; &yuml;
 
&ucirc; &uuml; &yuml;
 
 
</td>
 
</td>
 
 
<td><pre><nowiki>
 
<td><pre><nowiki>
 
 
  
 
À Á Â Ã Ä Å
 
À Á Â Ã Ä Å
 
 
Æ Ç È É Ê Ë
 
Æ Ç È É Ê Ë
 
 
Ì Í Î Ï Ñ Ò
 
Ì Í Î Ï Ñ Ò
 
 
Ó Ô Õ Ö Ø Ù
 
Ó Ô Õ Ö Ø Ù
 
 
Ú Û Ü ß à á
 
Ú Û Ü ß à á
 
 
â ã ä å æ ç
 
â ã ä å æ ç
 
 
è é ê ë ì í
 
è é ê ë ì í
 
 
î ï ñ ò ó ô
 
î ï ñ ò ó ô
 
 
œ õ ö ø ù ú
 
œ õ ö ø ù ú
 
 
û ü ÿ
 
û ü ÿ
 
 
  
 
&amp;Agrave; &amp;Aacute; &amp;Acirc; &amp;Atilde; &amp;Auml; &amp;Aring;
 
&amp;Agrave; &amp;Aacute; &amp;Acirc; &amp;Atilde; &amp;Auml; &amp;Aring;
 
 
&amp;AElig; &amp;Ccedil; &amp;Egrave; &amp;Eacute; &amp;Ecirc; &amp;Euml;
 
&amp;AElig; &amp;Ccedil; &amp;Egrave; &amp;Eacute; &amp;Ecirc; &amp;Euml;
 
 
&amp;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;
 
&amp;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;
 
 
&amp;Oacute; &amp;Ocirc; &amp;Otilde; &amp;Ouml; &amp;Oslash; &amp;Ugrave;
 
&amp;Oacute; &amp;Ocirc; &amp;Otilde; &amp;Ouml; &amp;Oslash; &amp;Ugrave;
 
 
&amp;Uacute; &amp;Ucirc; &amp;Uuml; &amp;szlig; &amp;agrave; &amp;aacute;
 
&amp;Uacute; &amp;Ucirc; &amp;Uuml; &amp;szlig; &amp;agrave; &amp;aacute;
 
 
&amp;acirc; &amp;atilde; &amp;auml; &amp;aring; &amp;aelig; &amp;ccedil;
 
&amp;acirc; &amp;atilde; &amp;auml; &amp;aring; &amp;aelig; &amp;ccedil;
 
 
&amp;egrave; &amp;eacute; &amp;ecirc; &amp;euml; &amp;igrave; &amp;iacute;
 
&amp;egrave; &amp;eacute; &amp;ecirc; &amp;euml; &amp;igrave; &amp;iacute;
 
 
&amp;icirc; &amp;iuml; &amp;ntilde; &amp;ograve; &amp;oacute; &amp;ocirc;
 
&amp;icirc; &amp;iuml; &amp;ntilde; &amp;ograve; &amp;oacute; &amp;ocirc;
 
 
&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;
 
&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;
 
 
&amp;ucirc; &amp;uuml; &amp;yuml;</nowiki></pre></td>
 
&amp;ucirc; &amp;uuml; &amp;yuml;</nowiki></pre></td>
 
 
</tr>
 
</tr>
 
 
<tr valign=top>
 
<tr valign=top>
 
 
<td>
 
<td>
 
 
'''Punctuation:'''<br />
 
'''Punctuation:'''<br />
 
 
¿ ¡ « » § ¶
 
¿ ¡ « » § ¶
 
 
† ‡ • - – —
 
† ‡ • - – —
 
 
  
 
&iquest; &iexcl; &laquo; &raquo; &sect; &para;<br />
 
&iquest; &iexcl; &laquo; &raquo; &sect; &para;<br />
 
 
&dagger; &Dagger; &bull; - &ndash; &mdash;
 
&dagger; &Dagger; &bull; - &ndash; &mdash;
 
 
</td>
 
</td>
 
 
<td><pre><nowiki>
 
<td><pre><nowiki>
 
 
¿ ¡ « » § ¶
 
¿ ¡ « » § ¶
 
 
† ‡ • - – —
 
† ‡ • - – —
 
 
  
 
&amp;iquest; &amp;iexcl; &amp;laquo; &amp;raquo; &amp;sect; &amp;para;
 
&amp;iquest; &amp;iexcl; &amp;laquo; &amp;raquo; &amp;sect; &amp;para;
 
 
&amp;dagger; &amp;Dagger; &amp;bull; - &amp;ndash; &amp;mdash;</nowiki></pre></td>
 
&amp;dagger; &amp;Dagger; &amp;bull; - &amp;ndash; &amp;mdash;</nowiki></pre></td>
 
 
</tr>
 
</tr>
 
 
<tr valign="top">
 
<tr valign="top">
 
 
<td>
 
<td>
 
 
'''Commercial symbols:'''<br />
 
'''Commercial symbols:'''<br />
 
 
™ © ® ¢ € ¥ £ ¤
 
™ © ® ¢ € ¥ £ ¤
 
 
  
 
&trade; &copy; &reg; &cent; &euro; &yen; &pound; &curren;</td>
 
&trade; &copy; &reg; &cent; &euro; &yen; &pound; &curren;</td>
 
 
<td><pre><nowiki>
 
<td><pre><nowiki>
 
 
™ © ® ¢ € ¥ £ ¤
 
™ © ® ¢ € ¥ £ ¤
 
 
  
 
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen; &amp;pound; &amp;curren;
 
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen; &amp;pound; &amp;curren;
 
 
</nowiki></pre></td>
 
</nowiki></pre></td>
 
 
</tr>
 
</tr>
 
 
<tr valign="top"><td>'''Greek characters:'''<br />
 
<tr valign="top"><td>'''Greek characters:'''<br />
 
 
α β γ δ ε ζ
 
α β γ δ ε ζ
 
 
η θ ι κ λ μ ν
 
η θ ι κ λ μ ν
 
 
ξ ο π ρ σ ς
 
ξ ο π ρ σ ς
 
 
τ υ φ χ ψ ω
 
τ υ φ χ ψ ω
 
 
Γ Δ Θ Λ Ξ Π
 
Γ Δ Θ Λ Ξ Π
 
 
Σ Φ Ψ Ω
 
Σ Φ Ψ Ω
 
 
  
 
&alpha; &beta; &gamma; &delta; &epsilon; &zeta;<br />
 
&alpha; &beta; &gamma; &delta; &epsilon; &zeta;<br />
 
 
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu;<br />
 
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu;<br />
 
 
&xi; &omicron; &pi; &rho; &sigma; &sigmaf;<br />
 
&xi; &omicron; &pi; &rho; &sigma; &sigmaf;<br />
 
 
&tau; &upsilon; &phi; &chi; &psi; &omega;<br />
 
&tau; &upsilon; &phi; &chi; &psi; &omega;<br />
 
 
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi;<br />
 
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi;<br />
 
 
&Sigma; &Phi; &Psi; &Omega;
 
&Sigma; &Phi; &Psi; &Omega;
 
 
</td>
 
</td>
 
 
<td><pre><nowiki>
 
<td><pre><nowiki>
 
 
α β γ δ ε ζ
 
α β γ δ ε ζ
 
 
η θ ι κ λ μ ν
 
η θ ι κ λ μ ν
 
 
ξ ο π ρ σ ς
 
ξ ο π ρ σ ς
 
 
τ υ φ χ ψ ω
 
τ υ φ χ ψ ω
 
 
Γ Δ Θ Λ Ξ Π
 
Γ Δ Θ Λ Ξ Π
 
 
Σ Φ Ψ Ω
 
Σ Φ Ψ Ω
 
 
  
 
&amp;alpha; &amp;beta; &amp;gamma; &amp;delta; &amp;epsilon; &amp;zeta;
 
&amp;alpha; &amp;beta; &amp;gamma; &amp;delta; &amp;epsilon; &amp;zeta;
 
 
&amp;eta; &amp;theta; &amp;iota; &amp;kappa; &amp;lambda; &amp;mu; &amp;nu;
 
&amp;eta; &amp;theta; &amp;iota; &amp;kappa; &amp;lambda; &amp;mu; &amp;nu;
 
 
&amp;xi; &amp;omicron; &amp;pi; &amp;rho; &amp;sigma; &amp;sigmaf;
 
&amp;xi; &amp;omicron; &amp;pi; &amp;rho; &amp;sigma; &amp;sigmaf;
 
 
&amp;tau; &amp;upsilon; &amp;phi; &amp;chi; &amp;psi; &amp;omega;
 
&amp;tau; &amp;upsilon; &amp;phi; &amp;chi; &amp;psi; &amp;omega;
 
 
&amp;Gamma; &amp;Delta; &amp;Theta; &amp;Lambda; &amp;Xi; &amp;Pi;
 
&amp;Gamma; &amp;Delta; &amp;Theta; &amp;Lambda; &amp;Xi; &amp;Pi;
 
 
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
 
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
 
 
</nowiki></pre></td>
 
</nowiki></pre></td>
 
 
</tr>
 
</tr>
 
 
<tr valign="top">
 
<tr valign="top">
 
 
<td>
 
<td>
 
 
'''Math characters:'''<br />
 
'''Math characters:'''<br />
 
 
∫ ∑ ∏ √ − ± ∞
 
∫ ∑ ∏ √ − ± ∞
 
 
≈ ∝ ≡ ≠ ≤ ≥
 
≈ ∝ ≡ ≠ ≤ ≥
 
 
× · ÷ ∂ ′ ″
 
× · ÷ ∂ ′ ″
 
 
∇ ‰ ° ∴ ø
 
∇ ‰ ° ∴ ø
 
 
∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇
 
∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇
 
 
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
 
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
 
 
→ ↔ ↑
 
→ ↔ ↑
 
 
  
 
&int; &sum; &prod; &radic; &minus; &plusmn; &infin;<br />
 
&int; &sum; &prod; &radic; &minus; &plusmn; &infin;<br />
 
 
&asymp; &prop; &equiv; &ne; &le; &ge;<br />
 
&asymp; &prop; &equiv; &ne; &le; &ge;<br />
 
 
&times; &middot; &divide; &part; &prime; &Prime;<br />
 
&times; &middot; &divide; &part; &prime; &Prime;<br />
 
 
&nabla; &permil; &deg; &there4; &oslash;<br />
 
&nabla; &permil; &deg; &there4; &oslash;<br />
 
 
&isin; &cap; &cup; &sub; &sup; &sube; &supe;<br />
 
&isin; &cap; &cup; &sub; &sup; &sube; &supe;<br />
 
 
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br />
 
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br />
 
 
&rarr; &harr; &uarr;<br />
 
&rarr; &harr; &uarr;<br />
 
 
  
 
Problem symbols:
 
Problem symbols:
 
 
  
 
ℵ ∉
 
ℵ ∉
 
 
  
 
&alefsym; &notin;
 
&alefsym; &notin;
 
 
</td>
 
</td>
 
 
<td valign="middle"><pre><nowiki>
 
<td valign="middle"><pre><nowiki>
 
 
∫ ∑ ∏ √ − ± ∞
 
∫ ∑ ∏ √ − ± ∞
 
 
≈ ∝ ≡ ≠ ≤ ≥
 
≈ ∝ ≡ ≠ ≤ ≥
 
 
× · ÷ ∂ ′ ″
 
× · ÷ ∂ ′ ″
 
 
∇ ‰ ° ∴ ø
 
∇ ‰ ° ∴ ø
 
 
∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇
 
∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇
 
 
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
 
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
 
 
→ ↔ ↑
 
→ ↔ ↑
 
 
  
 
&amp;int; &amp;sum; &amp;prod; &amp;radic; &amp;minus; &amp;plusmn; &amp;infin;
 
&amp;int; &amp;sum; &amp;prod; &amp;radic; &amp;minus; &amp;plusmn; &amp;infin;
 
+
&amp;asymp; &amp;prop; &amp;equiv; &amp;ne; &amp;le; &amp;ge;
&amp;asymp; &amp;prop; &amp;equiv; &amp;ne; &amp;le; &amp;ge;  
+
 
+
 
&amp;times; &amp;middot; &amp;divide; &amp;part; &amp;prime; &amp;Prime;
 
&amp;times; &amp;middot; &amp;divide; &amp;part; &amp;prime; &amp;Prime;
 
 
&amp;nabla; &amp;permil; &amp;deg; &amp;there4; &amp;oslash;
 
&amp;nabla; &amp;permil; &amp;deg; &amp;there4; &amp;oslash;
 
 
&amp;isin; &amp;cap; &amp;cup; &amp;sub; &amp;sup; &amp;sube; &amp;supe;
 
&amp;isin; &amp;cap; &amp;cup; &amp;sub; &amp;sup; &amp;sube; &amp;supe;
 
 
&amp;not; &amp;and; &amp;or; &amp;exist; &amp;forall; &amp;rArr; &amp;hArr;
 
&amp;not; &amp;and; &amp;or; &amp;exist; &amp;forall; &amp;rArr; &amp;hArr;
 
 
&amp;rarr; &amp;harr; &amp;uarr;
 
&amp;rarr; &amp;harr; &amp;uarr;
 
 
  
 
Problem symbols:
 
Problem symbols:
 
 
  
 
ℵ ∉
 
ℵ ∉
 
 
  
 
&amp;alefsym; &amp;notin;
 
&amp;alefsym; &amp;notin;
 
 
</nowiki></pre></td>
 
</nowiki></pre></td>
 
 
</tr>
 
</tr>
 
 
</table>
 
</table>
 
 
  
 
Writing a symbol over another one:
 
Writing a symbol over another one:
 
 
  
 
<nowiki><span style="position:absolute;">o</span>x</nowiki> gives <span style="position:absolute;">o</span>x.
 
<nowiki><span style="position:absolute;">o</span>x</nowiki> gives <span style="position:absolute;">o</span>x.
 
 
  
 
=== Including another page&mdash;transclusion and templates ===
 
=== Including another page&mdash;transclusion and templates ===
 
 
Changing a transcluded file will change every file that transcludes it.
 
Changing a transcluded file will change every file that transcludes it.
 
 
<table border="1" cellpadding="2" cellspacing="0">
 
<table border="1" cellpadding="2" cellspacing="0">
 
 
<tr valign="bottom">
 
<tr valign="bottom">
 
 
<td>
 
<td>
 
 
; Transclusion
 
; Transclusion
 
+
: Including the contents of another page into the current page.
: Including the contents of another page into the current page.  
+
 
+
 
<div style="border: 1pt dashed blue; background: grey; padding: 1em 1em;">
 
<div style="border: 1pt dashed blue; background: grey; padding: 1em 1em;">
 
 
{{:Help:Transclusion Demo}}</div></td>
 
{{:Help:Transclusion Demo}}</div></td>
 
 
<td>
 
<td>
 
 
<pre><nowiki>{{</nowiki>:Help:Transclusion Demo<nowiki>}}</nowiki></pre></td>
 
<pre><nowiki>{{</nowiki>:Help:Transclusion Demo<nowiki>}}</nowiki></pre></td>
 
 
</tr>
 
</tr>
 
 
  
 
<tr valign="bottom">
 
<tr valign="bottom">
 
 
<td>
 
<td>
 
 
; [[Help:Template|Template]]
 
; [[Help:Template|Template]]
 
+
A special kind of page designed for transclusion.
A special kind of page designed for transclusion.
+
 
+
 
These pages are found in the '''Template:''' [[Help:namespace|namespace]]
 
These pages are found in the '''Template:''' [[Help:namespace|namespace]]
 
 
Templates can even take parameters.
 
Templates can even take parameters.
 
 
When you edit a page, all the templates used on the page are listed below the edit box.
 
When you edit a page, all the templates used on the page are listed below the edit box.
 
 
<div style="border: 1pt dashed blue; background: grey; padding: 1em 1em;">
 
<div style="border: 1pt dashed blue; background: grey; padding: 1em 1em;">
 
 
{{H:title|hovertext|This is underlined}}</div></td>
 
{{H:title|hovertext|This is underlined}}</div></td>
 
 
<td>
 
<td>
 
 
<pre><nowiki>{{H:title|hovertext|This is underlined}}</nowiki></pre></td></tr>
 
<pre><nowiki>{{H:title|hovertext|This is underlined}}</nowiki></pre></td></tr>
 
 
</table>
 
</table>
 
 
  
 
== Records of edits in the database ==
 
== Records of edits in the database ==
 
 
Edits are recorded both in the [[mw:revision table|revision table]] and in the [[mw:recentchanges table|recentchanges table]] of the database.
 
Edits are recorded both in the [[mw:revision table|revision table]] and in the [[mw:recentchanges table|recentchanges table]] of the database.
 
 
  
 
The revision table is used for page histories and user contribution lists. The recentchanges table is used for recent and related changes, watchlists, and (in the case of page creation) for the list of new pages.
 
The revision table is used for page histories and user contribution lists. The recentchanges table is used for recent and related changes, watchlists, and (in the case of page creation) for the list of new pages.
 
 
  
 
This distinction is relevant in the case that old edits are removed from one of the two tables. For example, if three months of recent changes are kept in the recentchanges table, while nothing is deleted from the revision table, then older edits can be seen in page histories and user contribution lists, but not in recent and related changes, watchlists, and (in the case of page creation) in the list of new pages.
 
This distinction is relevant in the case that old edits are removed from one of the two tables. For example, if three months of recent changes are kept in the recentchanges table, while nothing is deleted from the revision table, then older edits can be seen in page histories and user contribution lists, but not in recent and related changes, watchlists, and (in the case of page creation) in the list of new pages.
 
 
  
 
[[Help:Import|Import]] of page revisions adds to the revision table but not to the recentchanges table, so they add to page histories and user contribution lists, but not to recent and related changes, watchlists, and (in the case of page creation) the list of new pages.
 
[[Help:Import|Import]] of page revisions adds to the revision table but not to the recentchanges table, so they add to page histories and user contribution lists, but not to recent and related changes, watchlists, and (in the case of page creation) the list of new pages.
 
 
  
 
{{h:f|enname=Advanced editing}}
 
{{h:f|enname=Advanced editing}}
 
 
  
 
[[fa:راهنما:ویرایش پیشرفته]]
 
[[fa:راهنما:ویرایش پیشرفته]]

Revision as of 09:34, 10 July 2008

  1. ! -*- mode: wikipedia -*-

Template:H:h For the basics see Help:Editing.

Contents

Wikitext markup—making your page look the way you want

Organizing your writing — sections, paragraphs, lists and lines


border="1" cellpadding="2" cellspacing="0"

What it looks like

What it looks like What you type


What it looks like

Sections and subsections

Start sections with header lines

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

  • Start with a second-level heading (==); don't use first-level headings (=).
  • Don't skip levels (for example, second-level followed by fourth-level).
  • A table of contents will automatically be added to an article that has four or more sections.
  • 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>.
What you type

== New section ==

=== Subsection ===

==== Sub-subsection ====

What it looks like

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).
What you type

A single
newline
has no
effect on the
layout.

But an empty line
starts a new paragraph.

What it looks like

You can break lines

without starting a new paragraph.

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

  • Please use this sparingly.
  • Close markup between lines; do not start a link or italics or bold on one line and close it on the next.
What you type
You can break lines<br />
without starting a new paragraph.

What it looks like

  • 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.
What you type
* 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.


What it looks like

  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.
What you type
# 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.

What it looks like

  • You can even do mixed lists
    1. and nest them
      • or break lines
        in lists
What you type
* You can even do mixed lists
*# and nest them
*#* or break lines<br />in lists

What it looks like

Definition list

word 
definition of the word
longer phrase
phrase defined
What you type
; 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.

What it looks like

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.

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

What it looks like

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.

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

What it looks like

Centered text.
  • Please note the US-English spelling of "center".
What you type
<center>Centered text.</center>

What it looks like

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.

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

}

Links, URLs

More information at Help:Link

Internal links

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.

border="1" cellpadding="2" cellspacing="0"

What it looks like

What it looks like What you type


What it looks like

Basic

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

What you type
Sue is reading the
[[official position]]
(or [[Official position]]s).

What it looks like

Basic + Text formatting

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

What you type
 ''[[Wikipedia]]'' 

What it looks like

Interwiki linking

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

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

What it looks like

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.

What you type
* [[List of cities by country#Morocco]]
* [[List of cities by country#Norway]]

What it looks like

Piped link

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

What you type
* [[Help:Link|About Links]]

What it looks like

"Blank" pipes hide:

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

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

What it looks like

Links to nonexistent pages

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.
What you type
A red link ([[like this one]]) points to a page
that doesn't exist yet.

What it looks like

Link to yourself

Please "sign" comments on talk pages:

Your user name: Example
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.

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

What it looks like

Redirects

One article title to another with this special link.

What you type
#REDIRECT [[United States]]

What it looks like

"Magic" links
What you type
ISBN 0123456789X
RFC 123

What it looks like

Media links

To include links to non-image uploads such as sounds, use a "media" link.
Sound

What you type
[[media:Example.ogg|Sound]]

What it looks like

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.

What you type
[[Category:English documentation]]

What it looks like

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

What you type
[[:Category:English documentation]]

What it looks like

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

What you type
[[July 20]] [[1969]]
[[20 July]] [[1969]]
and [[1969]]-[[07-20]]

What it looks like

Special pages

"What links here" etc. can be linked as:
Special:Whatlinkshere/Help:Editing

What you type
[[Special:Whatlinkshere/Help:Editing]]

What it looks like

Linking to old revisions of pages, diffs, and specific history pages

External link function is used for these as [[page]] will not work.
Open an old revision copy the url and paste it where you want it. http://meta.wikimedia.org/w/index.php?title=Fotonotes&oldid=482030
Open a diff, copy and paste the url http://meta.wikimedia.org/w/index.php?title=Fotonotes&diff=493810&oldid=482030
A specific page from edit history. To do this click the either the (older) or (earliest) button at least once and maneuver to the page you want to link to http://meta.wikimedia.org/w/index.php?title=Help:Wikitext_examples&dir=prev&offset=20060813153343&limit=100&action=history

What you type
http://meta.wikimedia.org
/w/index.php?title=Fotonotes&oldid=482030
http://meta.wikimedia.org/w/index.php?
title=Fotonotes&diff=493810&oldid=482030
http://meta.wikimedia.org/w/index.php?
title=Help:Wikitext_examples&dir=prev&offset
=20060813153343&limit=100&action=history
What you type

}

External links


border="1" cellpadding="2" cellspacing="0"

What it looks like

Nupedia, [1]

What you type
[http://www.nupedia.com Nupedia],
[http://www.nupedia.com]

What it looks like

Email Example, [2]

What you type
[mailto:email@example.com Email Example],
[mailto:email@example.com]

What it looks like

Or just give the URL: http://www.nupedia.com.

  • In the URL all symbols must be among: A-Z a-z 0-9 ._\/~%- &#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written ^ (to be looked up in ASCII). A blank space can also be converted into an underscore.
What you type
Or just give the URL:
http://www.nupedia.com.
What you type

}

Text formatting—controlling how it looks

What it looks like What you type

Emphasize (italics), strongly (bold), very strongly (bold italics). (These are double and triple apostrophes, not double quotes.)

Note: this can also be applied to links (e.g., Wikipedia).

''Emphasize'', '''strongly''',
'''''very strongly'''''.

''[[Wikipedia]]''

You can also write italic and bold. This is useful in mathematical formulas where you need specific font styles rather than emphasis.

F = ma

(The difference between these two methods is not very important for graphical browsers, so most people ignore it). But it may make a big difference for the visually impaired ;-)

You can also write <i>italic</i> and <b>bold</b>.
This is useful in mathematical formulas where you
need specific font styles rather than emphasis.
: <b>F</b> = <i>m</i><b>a</b>

You can also write in small caps. If the wiki has the templates, this can Template:Bsmbe much simpler to writeTemplate:Esm.

You can also write
<span style="font-variant:small-caps">
in small caps</span>.
If the wiki has the templates, this can
{{bsm}}be much simpler to write{{esm}}.
A typewriter font, sometimes used for

technical terms and computer code.

A typewriter font, sometimes used for
<tt>technical terms</tt> and <code>computer code</code>.
  • For semantic reasons, using <code> where applicable is preferable to using <tt>.
You can use small text for captions.
You can use <small>small text</small>
for captions.
You can strike out deleted material

and underline new material.

You can also mark deleted material and inserted material using logical markup rather than visual markup.

  • When editing regular articles, just make your changes and do not mark them up in any special way.
  • When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
You can <strike>strike out deleted material</strike>
and <u>underline new material</u>.

You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup
rather than visual markup.
Subscript: x2

Superscript: x2 or x²

Most browsers have an easier time formatting lines with &sup2; than with <sup>2</sup>

ε0 = 8.85 × 10−12 C² / J m.

1 hectare = 1 E4 m²

Subscript: x<sub>2</sub>
Superscript: x<sup>2</sup> or x&sup2;
&epsilon;<sub>0</sub> =
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.

1 [[hectare]] = [[1 E4 m&sup2]]


Disabling wikitext interpretation and/or reformatting

<nowiki> and <pre> tags can tell the server and the browser to display things as you typed them.

<tr> <td> typewriter font (does not work beyond the end of a paragraph): arrow →italicslink New paragraph. </td> <td valign="bottom">
<tt>arrow      &rarr;</tt>

<tt>''italics''</tt>
<tt>[[link]]

New paragraph.</tt>

</td> </tr>

<tr> <td>

Show special character codes

&rarr; </td> <td valign="bottom">

&amp;rarr;

</td> </tr>

<tr> <td>

Comments

The text between here and here won't be displayed </td> <td>

The text between '''here'''
<!-- comment here -->
'''and here''' won't be displayed

</td> </tr> </table>

Special characters

regular

  • interpret special characters
  • interpret special wiki markup
  • reformat text (remove single newlines and multiple spaces, perform automatic wrapping)
  • a double newline gives a new paragraph

arrow →

italics link

arrow      &rarr;

''italics''
[[link]]

<nowiki>

  • interpret special characters
  • don't interpret special wiki markup
  • reformat text
  • ignore even a double newline (no new paragraph); hence has to be applied separately for each paragraph

can be applied in-line: arrow → ''italics'' [[link]] normal again

''can be applied in-line:'' <nowiki>
arrow      &rarr;

''italics''
[[link]]
</nowiki>''[[normal]] again''

<pre>

  • interpret special characters
  • don't interpret special wiki markup
  • don't reformat text (no wrapping)
  • allows CSS for HTML element pre; the default skin gives a box
  • uses a fixed-width font, as specified in the browser settings
arrow      →

''italics''
[[link]]
<pre>arrow      &rarr;

''italics''
[[link]]</pre>

leading space

  • interpret special characters
  • interpret special wiki markup
  • don't reformat text (no wrapping)
  • produces HTML element pre, therefore the font and CSS are the same as when using pre; the default skin gives a box
  • a blank line ends the element pre; if there are more lines with leading space after that, a new pre element starts (in the default skin: a new box)
arrow      →
italics
link

</pre>

IF a line of plain text starts with a space
 it will be formatted exactly
   as typed
 in a  font
 in a grey dotted-outline box
 lines won't wrap
ENDIF
this is useful for:
 * pasting preformatted text;
 * algorithm descriptions;
 * program source code
 * ASCII art;
 * chemical structures;

WARNING: If you make it wide, you force the whole page to be wide and hence less readable. Never start ordinary lines with spaces.

(see also below)
<td>
 arrow      &rarr;

 ''italics''
 [[link]]
 IF a line of plain text starts with a space
  it will be formatted exactly
    as typed
  in a fixed-width font
  in a grey dotted-outline box
  lines won't wrap
 ENDIF
 this is useful for:
  * pasting preformatted text
  * algorithm descriptions
  * program source code
  * ASCII art
  * chemical structures
  * poetry

Umlauts and accents: (See Help:Special characters)
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô œ õ ö ø ù ú û ü ÿ

À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ


À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ

&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring;
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml;
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve;
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave;
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute;
&acirc; &atilde; &auml; &aring; &aelig; &ccedil;
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc;
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute;
&ucirc; &uuml; &yuml;

Punctuation:
¿ ¡ « » § ¶ † ‡ • - – —

¿ ¡ « » § ¶
† ‡ • - – —

¿ ¡ « » § ¶
† ‡ • - – —

&iquest; &iexcl; &laquo; &raquo; &sect; &para;
&dagger; &Dagger; &bull; - &ndash; &mdash;

Commercial symbols:
™ © ® ¢ € ¥ £ ¤

™ © ® ¢ € ¥ £ ¤
™ © ® ¢ € ¥ £ ¤

&trade; &copy; &reg; &cent; &euro; &yen; &pound; &curren;
Greek characters:

α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω

α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω

α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω

&alpha; &beta; &gamma; &delta; &epsilon; &zeta;
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu;
&xi; &omicron; &pi; &rho; &sigma; &sigmaf;
&tau; &upsilon; &phi; &chi; &psi; &omega;
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi;
&Sigma; &Phi; &Psi; &Omega;

Math characters:
∫ ∑ ∏ √ − ± ∞ ≈ ∝ ≡ ≠ ≤ ≥ × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ ø ∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ → ↔ ↑

∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ø
∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔ ↑

Problem symbols:

ℵ ∉

ℵ ∉

∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ø
∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔ ↑

&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge;
&times; &middot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &oslash;
&isin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall; &rArr; &hArr;
&rarr; &harr; &uarr;

Problem symbols:

ℵ ∉

&alefsym; &notin;

Writing a symbol over another one:

<span style="position:absolute;">o</span>x gives ox.

Including another page—transclusion and templates

Changing a transcluded file will change every file that transcludes it.

Transclusion
Including the contents of another page into the current page.
{{:Help:Transclusion Demo}}
Template

A special kind of page designed for transclusion. These pages are found in the Template: namespace Templates can even take parameters. When you edit a page, all the templates used on the page are listed below the edit box.

{{H:title|hovertext|This is underlined}}

Records of edits in the database

Edits are recorded both in the revision table and in the recentchanges table of the database.

The revision table is used for page histories and user contribution lists. The recentchanges table is used for recent and related changes, watchlists, and (in the case of page creation) for the list of new pages.

This distinction is relevant in the case that old edits are removed from one of the two tables. For example, if three months of recent changes are kept in the recentchanges table, while nothing is deleted from the revision table, then older edits can be seen in page histories and user contribution lists, but not in recent and related changes, watchlists, and (in the case of page creation) in the list of new pages.

Import of page revisions adds to the revision table but not to the recentchanges table, so they add to page histories and user contribution lists, but not to recent and related changes, watchlists, and (in the case of page creation) the list of new pages.

Template:H:f

Personal tools
In other languages