Difference between revisions of "Help:Editing"

From FanimutationWiki
Jump to navigationJump to search
 
(GROSS (Get Rid Of Stupid Spam))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--
+
This page is blatantly stolen from [http://hrwiki.org hrwiki.org]
Hello, New User!
 
  If you want to test out editing pages, please
 
  use the "Sandbox" for your tests.  To go to the
 
  sandbox, type "WP:SB" in the search box on the
 
  left, and hit "Go". Or click the link at the
 
  beginning of the article.  
 
-->
 
{{stylehowto}}
 
{{shortcut|[[WP:HEP]]}}
 
:''See also  [[Help:Editing]], [[m:Help:Editing]], [[m:Help:Starting_a_new_page]] ''
 
[[Wikipedia]] is a [[Wiki|WikiWiki]], which means that anyone can easily edit any [[Wikipedia:Protected page|unprotected]] [[Wikipedia:What is an article|article]] and have those changes posted immediately to that page. 
 
  
Editing a Wiki page is very easy. Simply click on the "'''Edit this page'''" tab at the top (or the edit link on the right or bottom) of a Wiki page. This will bring you to a page with a text box containing the editable text of that page. '''If you just want to experiment, please do so in the [[Wikipedia:sandbox|sandbox]]''', not here. You should write a short [[Wikipedia:Edit summary|edit summary]] in the small field below the edit-box. You may use shorthand to describe your changes, as described in the [[Wikipedia:Edit summary legend|legend]], and when you've finished, press [[Wikipedia:Show preview|preview]] to see how your changes will look. If you're happy with what you see, then press "Save" and your changes will be immediately applied to the article.
+
==General==
 +
To edit a page, click on the "'''Edit this page'''" (or just "'''edit'''") link at one of its edges.  
  
You can also click on the "'''Discussion'''" tab to see the corresponding [[Wikipedia:Talk page|talk page]], which contains comments about the page from other Wikipedia users. Click on the "'''+'''" tab to add a new section, or edit the page in the same way as an article page.
+
After adding to or changing the wikitext it is useful to press "Preview", which produces the corresponding webpage in your browser but does not make it publicly available yet (not until you press "Save"). Errors in formatting, links, tables, etc., are often much easier to discover from the rendered page than from the raw wikitext.
  
== Tips on editing Wikipedia articles ==
+
If you are not satisfied you can make more changes and preview the page as many times as necessary. Then write a short edit summary in the small text field below the edit-box and when finished press "Save". Depending on your system, pressing the "Enter" key while the edit box is not active (i.e., there is no typing cursor in it) may have the same effect as pressing "Save".
  
Always use a [[Neutral point of view|neutral point of view]], as Wikipedia is not a place to promote points of view.
+
== Dummy edit ==
  
[[Wikipedia:Cite your sources|Cite your sources]] so others can check and extend your work. Most Wikipedia articles currently lack good references, and this contributes to Wikipedia's single greatest criticism &ndash; that it is not a reliable source.  Please help by researching online and print resources to find references for the article you are working on, then cite them in proper form, and consider inline citation for contentious facts.  There is no consensus on the best way to do that, but anything is better than nothing.  You can either use inline citation in academic form such as (Example, 2004, pp 22-23) or as a superscript<sup>[[Wikipedia:WikiProject Fact and Reference Check|1]]</sup> to a footnote that you place at the end of an article.
+
If the wikitext is not changed no edit will be recorded and the edit summary is discarded.
  
After making a new page, it's a good idea to:
+
A dummy edit is a change in wikitext that has no effect on the rendered page. This allows an edit summary, and is useful for correcting a previous edit summary, or an accidental marking of a previous edit as "minor" (see below). Also it is sometimes needed to refresh the cache of some item in the database.
*With your page displayed, use ''What links here'' to check the articles that already link to it, and make sure that they are all expecting the same meaning that you have supplied;
 
*Use the Search button to search Wikipedia for your topic title (and possible variants), to find articles that mention it, and make links from them if appropriate
 
  
 
== Minor edits ==
 
== Minor edits ==
''See also [[Wikipedia:Minor edit]]''
+
When editing a page, a logged in user has the option of flagging the edit as a "minor edit". When to use this is somewhat a matter of personal preference. The rule of thumb is that an edit of a page that is spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit". A major edit is basically something that makes the entry worth relooking at for somebody who wants to watch the article rather closely, so any "real" change, even if it is a single word. This feature is important, because users can choose to ''hide'' minor edits in their view of the [[Special:Recentchanges|recent changes]] to keep the volume of edits down to a manageable level.
 
 
When editing a page, a [[Wikipedia:How to log in|logged-in]] user can mark that edit as being "minor". Minor edits generally mean spelling corrections, formatting, and minor rearrangement of text. It is possible to ''hide'' minor edits when viewing [[Wikipedia:Recent Changes]]. Marking a significant change as a minor edit is considered bad behavior, and even more so if it involves the deletion of some text. If one has accidentally marked an edit as minor, the person should edit the source once more, mark it major (or, rather, ensure that the check-box for "This is a minor edit" is not checked), and, in the summary, state that the previous change was a major one.
 
 
 
== Wiki markup ==
 
  
The '''wiki markup''' is the syntax system you can use to format a Wikipedia page.
+
The reason for not allowing a user who is not logged in to mark an edit as minor is that vandalism could then be marked as a minor edit, in which case it would stay unnoticed longer. This limitation is another reason to log in.
  
 +
== The wiki markup ==
 
In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.
 
In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.
  
You may want to keep this page open in a separate browser window for reference. '''If you want to try out things without danger of doing any harm, you can do so in the [[Wikipedia:Sandbox|Sandbox]]'''. Try opening the Sandbox in a separate window or tab and keeping this page open for reference.
+
You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the [[HRwiki:Sandbox|Sandbox]].
  
----
+
=== Sections, paragraphs, lists and lines ===
<!--
+
<table border="1" cellpadding="2" cellspacing="0">
:'''The rest of this page is deprecated but will be updated periodically.'''
+
<tr>
:'''Please direct edits to the [[meta:MediaWiki User's Guide: Editing overview|Meta-Wikimedia version of this page]]'''
+
<th>What it looks like</th>
 +
<th>What you type</th>
 +
</tr>
 +
<tr>
 +
<td>
 +
Start your sections with header lines:
 +
<!-- This is the original
 +
== New section ==
 +
=== Subsection ===
 +
==== Sub-subsection ====
 +
-->
  
-->
+
<!-- next set
=== Sections, paragraphs, lists and lines ===
+
<h2> New section </h2>
{| border="1" cellpadding="2" cellspacing="0"
+
<h3> Subsection </h3>
|-
+
<h4> Sub-subsection </h4>
! What it looks like
+
-->
! What you type
+
<!-- This code prevents confusion in the section editing feature-->
|- valign="top"
+
<b><font style="font-size:120%"> New section </font></b>
|
 
Start your [[Wikipedia:Manual of Style (headings)|sections]] as follows:
 
  
<!-- The following code messes up the table of contents
+
<b><font style="font-size:110%"> Subsection</font></b>
    and makes the section edit links much less useful,
 
    so please do not use it.
 
==New section==
 
===Subsection===
 
====Sub-subsection====
 
-->
 
<!-- The following should look almost the same, using
 
    HTML headings markup instead of wiki headings.
 
    However, it messes up the section edit links,
 
    so please do not use it.
 
<h2>New section</h2>
 
<h3>Subsection</h3>
 
<h4>Sub-subsection</h4>
 
-->
 
<!-- The following just uses bolding and font changes,
 
    so it should be safe.  However, it might not
 
    look exactly right, especially when people
 
    use non-standard CSS stylesheets.
 
-->
 
'''<font style="font-size:120%">New section</font>'''
 
  
'''<font style="font-size:110%">Subsection</font>'''
+
<b><font style="font-size:100%"> Sub-subsection</font></b>
  
'''<font style="font-size:100%">Sub-subsection</font>'''
+
</td>
 +
<td><pre><nowiki>
  
* Start with a second-level heading (<tt><nowiki>==</nowiki></tt>); do not use first-level headings (=).
+
== New section ==
* Do not skip levels (e.g., second-level followed by fourth-level).
 
* A [[#Placement_of_the_Table_of_Contents_.28TOC.29|Table of Contents]] will automatically be added to an article that has four or more sections.
 
|
 
<pre><nowiki>
 
==New section==
 
  
===Subsection===
+
=== Subsection ===
  
====Sub-subsection====
+
==== Sub-subsection ====
 
</nowiki></pre>
 
</nowiki></pre>
|- valign="top"
+
</td>
|
+
</tr>
A single [[newline]]
+
<tr>
generally has no effect on the layout.
+
<td>
These can be used to separate
+
New line:
sentences within a paragraph.
+
 
Some editors find that this aids editing
+
A single
and improves the function ''diff''
+
new line
(used internally to compare
+
has no
different versions of a page).
+
effect on the
 +
layout.
  
 
But an empty line
 
But an empty line
 +
 
starts a new paragraph.
 
starts a new paragraph.
  
* When used in a list, a newline ''does'' affect the layout ([[#lists|see below]]).
+
</td>
|
+
<td>
 
<pre><nowiki>
 
<pre><nowiki>
A single [[newline]]
+
A single
generally has no effect on the layout.
+
newline
These can be used to separate
+
has no
sentences within a paragraph.
+
effect on the
Some editors find that this aids editing
+
layout.
and improves the function ''diff''
 
(used internally to compare
 
different versions of a page).
 
  
 
But an empty line
 
But an empty line
starts a new paragraph.
 
</nowiki></pre>
 
|- valign="top"
 
|
 
You can break lines<br>
 
without starting a new paragraph.
 
  
* Please use this sparingly.
+
starts a new paragraph.</nowiki></pre>
* Close markup between lines, don't start a [[link]] or ''italics'' or '''bold''' on one line and close it on the next.
+
</td>
|
+
</tr>
<pre><nowiki>
+
<tr valign="top"><td>You can break lines<br>
You can break lines<br>
+
without starting a new paragraph.<p>
without starting a new paragraph.
+
Sufficient as wikitext code is &lt;br&gt;, the XHTML code &lt;br /&gt; is not needed, the system produces this code.</p></td>
</nowiki></pre>
+
<td><pre><nowiki>You can break lines<br>
|- id="lists" valign="top"
+
without starting a new paragraph.</nowiki></pre>
|
+
</td>
 +
</tr>
 +
<tr>
 +
<td>
 
* Lists are easy to do:
 
* 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 in a list
+
*A newline
marks the end of a list item.
+
*in a list
 +
marks the end of the list.
 +
*Of course
 +
*you can
 +
*start again.
  
* An empty line starts a new list.
+
</td>
|
+
<td><pre><nowiki>* Lists are easy to do:
<pre><nowiki>
+
** start every line with a star
* Lists are easy to do:
+
*** more stars means deeper levels
** Start every line with a star.
+
*A newline
*** More stars means deeper levels.
+
*in a list
**** A newline in a list
+
marks the end of the list.
marks the end of a list item.
+
*Of course
 +
*you can
 +
*start again.
  
* An empty line starts a new list.
 
 
</nowiki></pre>
 
</nowiki></pre>
|- valign="top"
+
</td>
|
+
</tr>
 +
<tr>
 +
<td>
 
# Numbered lists are also good
 
# Numbered lists are also good
 
## very organized
 
## very organized
 
## easy to follow
 
## easy to follow
### easier still
+
#A newline
|
+
#in a list 
<pre><nowiki>
+
marks the end of the list.
# Numbered lists are also good
+
#New numbering starts
 +
#with 1.
 +
 
 +
</td>
 +
<td><pre><nowiki># Numbered lists are also good
 
## very organized
 
## very organized
 
## easy to follow
 
## easy to follow
### easier still
+
#A newline
 +
#in a list 
 +
marks the end of the list.
 +
#New numbering starts
 +
#with 1.
 
</nowiki></pre>
 
</nowiki></pre>
|- valign="top"
+
</td>
|
+
</tr>
 +
<tr>
 +
<td>
 
* You can even do mixed lists
 
* You can even do mixed lists
 
*# and nest them
 
*# and nest them
*#* like this
+
*#* like this<br>or have newlines<br>inside lists
|
+
</td>
<pre><nowiki>
+
<td><pre><nowiki>* You can even do mixed lists
* You can even do mixed lists
 
 
*# and nest them
 
*# and nest them
*#* like this
+
*#* like this<br>or have newlines<br>inside lists</nowiki></pre>
</nowiki></pre>
+
</td>
|- valign="top"
+
</tr>
|
+
<tr>
 +
<td>
 +
* You can also
 +
**break lines<br>inside lists<br>like this
 +
</td>
 +
<td><pre><nowiki>* You can also
 +
**break lines<br>inside lists<br>like this</nowiki></pre>
 +
</td>
 +
<tr>
 +
<td>
 
; Definition list : list of definitions
 
; Definition list : list of definitions
 
; item : the item's definition
 
; item : the item's definition
; another item
+
</td>
: the other item's definition
+
<td><pre><nowiki>; Definition list : list
 
+
of definitions
* One item per line; a newline can appear before the colon, but using a space before the colon improves parsing.
+
; item : the item's definition</nowiki></pre>
|
+
</td>
<pre><nowiki>
+
</tr>
; Definition list : list of definitions
+
<tr>
; item : the item's definition
+
<td>
; another item
+
:A colon indents a line or paragraph.
: the other item's definition
 
</nowiki></pre>
 
|- valign="top"
 
|
 
: A colon indents a line or paragraph.
 
 
A manual newline starts a new paragraph.
 
A manual newline starts a new paragraph.
 
+
* This is primarily for displayed material, but is also used for discussion on talk pages.
* This is primarily for displayed material, but is also used for discussion on [[Wikipedia:Talk page|Talk page]]s.
+
</td>
|
+
<td><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>
|- valign=top
+
</td>
|
+
</tr>
IF a line starts with a space THEN
+
<tr valign=top>
it will be formatted exactly
+
<td>
as typed;
+
<pre><nowiki>IF a line of plain text starts with a space THEN
in a fixed-width font;
+
  it will be formatted exactly
lines won't wrap;
+
    as typed;
ENDIF
+
  in a fixed-width font;
 +
  lines won't wrap;
 +
ENDIF
 +
this is useful for:
 +
  * pasting preformatted text;
 +
  * algorithm descriptions;
 +
  * program source code
 +
  * ASCII art;
 +
  * chemical structures;</nowiki></pre>
  
*This is useful for:
+
WARNING If you make it wide,
** pasting preformatted text;
+
you force the whole page to be wide and hence less readable. Never start ordinary lines with spaces.<br>
** algorithm descriptions;
+
<center>(see also below)</center>
** program source code;
+
</td>
** [[ASCII art]];
+
<td><pre><nowiki> IF a line of plain text starts with a space THEN
** chemical structures;
+
  it will be formatted exactly
* '''WARNING''': If you make it wide, you [[page widening|force the whole page to be wide]] and hence less readable, especially for people who use lower resolutions. Never start ordinary lines with spaces.
+
    as typed;
|
+
  in a fixed-width font;
<pre><nowiki>
+
  lines won't wrap;
IF a line starts with a space THEN
 
it will be formatted exactly
 
as typed;
 
in a fixed-width font;
 
lines won't wrap;
 
 
  ENDIF
 
  ENDIF
</nowiki></pre>
+
this is useful for:
|- valign="top"
+
  * pasting preformatted text;
|
+
  * algorithm descriptions;
<center>Centered text.</center>
+
  * program source code
 +
  * ASCII art;
 +
  * chemical structures;</nowiki></pre></td>
 +
</tr>
 +
<tr valign="top"><td><center>Centered text.</center>
 +
</td>
 +
<td><pre><nowiki><center>Centered text.</center></nowiki></pre>
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>A horizontal dividing line: above
 +
----
  
* Note the American spelling of "center".
+
and below.
|
 
<pre><nowiki>
 
<center>Centered text.</center>
 
</nowiki></pre>
 
|- valign="top"
 
|
 
A [[horizontal dividing line]]:
 
this is above it
 
----
 
and this is below it.
 
  
* Mainly useful for separating threads on Talk pages.
+
Mainly useful for separating threads on Talk pages.
* Also used to [[Wikipedia:Disambiguation|disambiguate]] within an article without creating a separate page.
+
</td>
|
+
<td><pre><nowiki>A horizontal dividing line: above
<pre><nowiki>
 
A [[horizontal dividing line]]:
 
this is above it
 
 
----
 
----
and this is below it.
+
and below. </nowiki></pre>
</nowiki></pre>
+
</td>
|}
+
</tr>
 
+
</table>
=== Links and URLs ===
 
{| border="1" cellpadding="2" cellspacing="0"
 
|-
 
! What it looks like
 
! What you type
 
|- valign="top"
 
|
 
London has [[public transport]].
 
  
* A link to another Wikipedia article.
+
Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed.
* 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 above is to the [[URL]] http://www.wikipedia.org/wiki/Public_transport, which is the Wikipedia article with the name "Public transport". See also [[Wikipedia:Canonicalization]].
 
|
 
<pre><nowiki>
 
London has [[public transport]].
 
</nowiki></pre>
 
|- valign="top"
 
|
 
San Francisco also has
 
[[public transport|public transportation]].
 
  
* Same target, different name.
+
=== Links, URLs ===
* This is a [[piped link]].
 
|
 
<pre><nowiki>
 
San Francisco also has
 
[[public transport|public transportation]].
 
</nowiki></pre>
 
|- valign="top"
 
|
 
San Francisco also has
 
[[public transport]]ation.
 
  
Examples include [[bus]]es, [[taxi]]s
+
<table border="1" cellpadding="2" cellspacing="0">
and [[streetcar]]s.
+
<tr>
 +
<th>What it looks like</th>
 +
<th>What you type</th>
 +
</tr>
 +
<tr valign="top"><td>Sue is reading [[Strong Bad Email]].
 +
*First letter of target is not automatically capitalized, unlike Wikipedia.
 +
*Internally spaces are automatically represented as underscores (typing an underscore has the same effect as typing a space, but is not recommended).
 +
Thus the link above is to <nowiki>http://hrwiki.org/index.php/Strong_Bad_Email</nowiki>, which is the page with the name "Strong Bad Email".
 +
</td>
 +
<td><pre><nowiki>Sue is reading [[Strong Bad Email]].</nowiki></pre>
  
* Endings are blended into the link.
+
(This is called a piped link).
* Preferred style is to use this instead of a piped link, if possible.
 
|
 
<pre><nowiki>
 
San Francisco also has
 
[[public transport]]ation.
 
  
Examples include [[bus]]es, [[taxi]]s
+
<pre><nowiki>Same target, different name:
and [[streetcar]]s.
+
[[Help:Contents|help]]</nowiki></pre>
</nowiki></pre>
+
</td>
|- valign="top"
+
</td>
|
+
</tr>
See the [[Wikipedia:Manual of Style]].
+
<tr valign="top">
 +
<td>Endings are blended into the link: [[Strong Bad Email]]s</td>
 +
<td>
 +
<pre><nowiki>Endings are blended
 +
into the link: [[Strong Bad Email]]s,</nowiki></pre>
 +
</td>
 +
</tr>
 +
<tr valign="top">
 +
<td>
 +
Automatically hide stuff in parentheses: [[Marzipan (character)|Marzipan]].
 +
<p>Automatically hide namespace: [[HRWiki:Welcoming committee|Welcoming committee]].</p>
  
* A link to another [[Wikipedia:namespace|namespace]].
+
<p>The server fills in the part after the | when you save the page. Next time you open the edit box you will see the expanded piped link. A preview interprets the abbreviated form correctly, but does not expand it yet in the edit box. Press Save and again Edit, and you will see the expanded version. The same applies for the following feature.</p>
|
+
</td>
<pre><nowiki>
+
<td>
See the [[Wikipedia:Manual of Style]].
+
<pre><nowiki>Automatically hide stuff in parentheses:
</nowiki></pre>
+
[[Marzipan (character)|]]. </nowiki></pre>
|- id="link-to-section" valign="top"
+
<pre><nowiki>Automatically hide namespace:
|
+
[[HRWiki:Welcoming committee|]].</nowiki></pre>
[[Economics#See also]] is a link
+
</td></tr>
to a section within another page.
+
<tr>
 
+
<td>When adding a comment to a Talk page,
[[#Links and URLs]] is a link
+
you should sign it. You can do this by
to a section on the current page.
+
adding three tildes for your user name:
 
+
: [[User:JoeyDay|JoeyDay]]
[[#example]] is a link to an
+
or four for user name plus date/time:
anchor that was created using
+
: [[User:JoeyDay|JoeyDay]] 08:10 Oct 5, 2002 (UTC)
<div id="example">an id attribute</div>
+
</td>
 
+
<td><pre><nowiki>When adding a comment to a Talk page,
* The part after the number sign (#) must match a section heading on the page. Matches must be exact in terms of spelling, case and punctuation.  Links to non-existent sections aren't broken; they are treated as links to the top of the page.
+
you should sign it. You can do this by
* Identifiers may be created by attaching an <code>id="..."></code> attribute to almost any HTML element.
+
adding three tildes for your user name:
|
 
<pre><nowiki>
 
[[Economics#See also]] is a link
 
to a section within another page.
 
 
 
[[#Links and URLs]] is a link
 
to a section on the current page.
 
 
 
[[#example]] is a link to an
 
anchor that was created using
 
<div id="example">an id attribute</div>
 
</nowiki></pre>
 
|- valign="top"
 
|
 
Automatically hide stuff in parentheses:
 
[[kingdom (biology)|kingdom]].
 
 
 
Automatically hide namespace:
 
[[Wikipedia:Village Pump|Village Pump]].
 
 
 
Or both:
 
[[Wikipedia:Manual of Style (headings)|Manual of Style]]
 
 
 
But not:
 
[[Wikipedia:Manual of Style#Links|]]
 
 
 
* The server fills in the part after the pipe character (|) when you save the page. The next time you open the edit box you will see the expanded piped link. When [[Wikipedia:Show preview|preview]]ing your edits, you will not see the expanded form until you press '''Save''' and '''Edit''' again. The same applies to links to sections within the same page ([[#link-to-section|see previous entry]]).
 
|
 
<pre><nowiki>
 
Automatically hide stuff in parentheses:
 
[[kingdom (biology)|]].
 
 
 
Automatically hide namespace:
 
[[Wikipedia:Village Pump|]].
 
 
 
Or both:
 
[[Wikipedia:Manual of Style (headings)|]]
 
 
 
But not:
 
[[Wikipedia:Manual of Style#Links|]]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
[[The weather in London]] is a page
 
that doesn't exist yet.
 
 
 
* You can create it by clicking on the link (but please don't do so with this particular link).
 
* To create a new page:
 
*# Create a link to it on some other (related) page.
 
*# Save that page.
 
*# Click on the link you just made. The new page will open for editing.
 
* For more information, see [[Wikipedia:How to start a page|How to start a page]] and check out Wikipedia's [[Wikipedia:Naming conventions|naming conventions]].
 
* Please do not create a new article without linking to it from at least one other article.
 
|
 
<pre><nowiki>
 
[[The weather in London]] is a page
 
that doesn't exist yet.
 
</nowiki></pre>
 
|- valign="top"
 
|
 
[[Wikipedia:How to edit a page]] is this page.
 
 
 
* [[Self link]]s appear as bold text when the article is viewed.
 
* Do not use this technique to make the article name bold in the first paragraph; see the [[Wikipedia:Manual of Style#Article names|Manual of Style]].
 
|
 
<pre><nowiki>
 
[[Wikipedia:How to edit a page]] is this page.
 
</nowiki></pre>
 
|- valign="top"
 
|
 
When adding a comment to a Talk page,
 
you should sign it by adding
 
three tildes to add your user name:
 
: [[User:Brockert|Ben Brockert]]
 
or four to add user name plus date/time:
 
: [[User:Brockert|Ben Brockert]] 00:18, Nov 19, 2004 (UTC)
 
Five tildes gives the date/time alone:
 
: 00:18, Nov 19, 2004 (UTC)
 
 
 
* The first two both provide a link to your [[Wikipedia:user page|user page]].
 
|
 
<pre><nowiki>
 
When adding a comment to a Talk page,
 
you should sign it by adding
 
three tildes to add your user name:
 
 
: ~~~
 
: ~~~
 
or four for user name plus date/time:
 
or four for user name plus date/time:
: ~~~~
+
: ~~~~</nowiki></pre>
Five tildes gives the date/time alone:
+
</td>
: ~~~~~
+
</tr>
</nowiki></pre>
+
<tr valign="top"><td>[[The weather in London]] is a page that doesn't exist yet.
|- valign="top"
+
*You can create it by clicking on the link.
|
+
*To create a new page:
* [[Wikipedia:Redirect|Redirect]] one article title to another by placing a directive like the one shown to the right on the ''first'' line of the article (such as at a page titled "[[USA]]").
+
*#Create a link to it on some other page.
* Note that, while it is possible to link to a section, it is not possible to redirect to a section. For example, "<nowiki>#REDIRECT [[United States#History]]</nowiki>" will redirect to the [[United States]] page, but not to any particular section on it. This feature '''will not''' be implemented in the future, so such redirects should not be used.
+
*#Save that page.
|
+
*#Click on the link you just made. The new page will open for editing.
<pre><nowiki>
+
</td>
#REDIRECT [[United States]]
+
<td><pre><nowiki>[[The weather in London]] is a page
</nowiki></pre>
+
that doesn't exist yet.</nowiki></pre>
|- valign="top"
+
</td>
|
+
</tr>
* Link to a page on the same subject in another language by using a link of the form: <nowiki>[[language code:Title]]</nowiki>.
+
<tr valign="top"><td>
* It does not matter where you put these links while editing as they will always show up in the same place when you save the page, but placement at the end of the edit box is recommended.
+
Redirect one article title to another by putting text like this in its first line.
* Please see [[Wikipedia:Interlanguage links]] and the [[Wikipedia:Complete list of language wikis available|list of languages and codes]].
+
</td>
|
+
<td><pre><nowiki>#REDIRECT [[Senor]]</nowiki></pre>
<pre><nowiki>
+
</td>
[[fr:Wikipédia:Aide]]
+
</tr>
</nowiki></pre>
+
<tr>
|- valign="top"
+
<td>"What links here" and "Related changes" can be linked as:<br/>
|
+
[[Special:Whatlinkshere/Strong Bad]] and
'''What links here''' and '''Related changes'''
+
[[Special:Recentchangeslinked/Strong Bad]]
pages can be linked as:
+
</td>
[[Special:Whatlinkshere/Wikipedia:How to edit a page]]
+
<td><pre><nowiki>
and
+
[[Special:Whatlinkshere/
[[Special:Recentchangeslinked/Wikipedia:How to edit a page]]
+
Strong Bad]] and
 
+
[[Special:Recentchangeslinked/
|
+
Strong Bad]]</nowiki></pre>
<pre><nowiki>
+
</td>
'''What links here''' and '''Related changes'''
+
</tr>
pages can be linked as:
+
<tr valign="top"><td>External links: [http://www.homestarrunner.com Homestar Runner], [http://www.homestarrunner.com]
[[Special:Whatlinkshere/Wikipedia:How to edit a page]]
+
</td>
and
+
<td><pre><nowiki>External links:
[[Special:Recentchangeslinked/Wikipedia:How to edit a page]]
+
[http://www.homestarrunner.com Homestar Runner],
</nowiki></pre>
+
[http://www.homestarrunner.com]</nowiki></pre>
|- valign="top"
+
</td>
|
+
</tr>
A user's '''Contributions''' page can be linked as:
+
<tr valign="top"><td>Or just give the URL: http://www.homestarrunner.com.
[[Special:Contributions/UserName]]
+
*In the 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 %5E (to be looked up in ASCII). A blank space can also be converted into an underscore.
or
+
</td>
[[Special:Contributions/192.0.2.0]]
+
<td><pre><nowiki>Or just give the URL:
|
+
http://www.homestarrunner.com.</nowiki></pre>
<pre><nowiki>
+
</td>
A user's '''Contributions''' page can be linked as:
+
</tr>
[[Special:Contributions/UserName]]
+
<tr>
or
+
<td>
[[Special:Contributions/192.0.2.0]]
+
To link to books, you can use ISBN links.
</nowiki></pre>
+
ISBN 0123456789X
|- valign="top"
+
</td>
|
+
<td>
* To put an article in a [[Wikipedia:Category]], place a link like the one to the right anywhere in the article. As with interlanguage links, it does not matter where you put these links while editing as they will always show up in the same place when you save the page, but placement at the end of the edit box is recommended.
+
<pre><nowiki>ISBN 0123456789X</nowiki></pre>
|
+
</td>
<pre><nowiki>
+
<tr>
[[Category:Character sets]]
+
<td>
</nowiki></pre>
+
Link to [[w:Request for Comments|Request for Comments]]: RFC 123 (URL specified in [[mediawiki:Rfcurl]])
|- valign="top"
+
</td>
|
+
<td>
* To ''link'' to a [[Wikipedia:Category]] page without putting the article into the category, use an initial colon (:) in the link.
+
<pre><nowiki>RFC 123</nowiki></pre>
|
+
</td>
<pre><nowiki>
+
<tr>
[[:Category:Character sets]]
+
<td>
</nowiki></pre>
+
To include links to non-image uploads such as sounds, use a "media" link.
|- id="link-external" valign="top"
+
<br/>[[media:Sg_mrob.ogg|Sound]]
|
+
</td>
Three ways to link to external (non-wiki) sources:
+
<td>
# Bare URL: http://www.nupedia.com/ (bad style)
+
<pre>
# Unnamed link: [http://www.nupedia.com/] (bad style)
+
<nowiki>
# Named link: [http://www.nupedia.com Nupedia]
 
 
 
:See [[MetaWikiPedia:Interwiki_map]] for the list of shortcuts.
 
 
 
* Square brackets indicate an external link. Note the use of a ''space'' (not a pipe) to separate the URL from the link text in the "named" version.
 
* In the [[URL]], all symbols must be among:<br/>'''A-Z a-z 0-9 . _ \ / ~ % - + &amp; # ? ! = ( ) @ \x80-\xFF'''
 
* If a URL contains a character not in this list, it should be encoded by using a percent sign (%) followed by the [[hexadecimal|hex]] code of the character, which can be found in the table of [[ASCII#ASCII printable characters|ASCII printable characters]]. For example, the caret character (^) would be encoded in a URL as '''%5E'''.
 
* See [[Wikipedia:External links]] for style issues.
 
|
 
<pre><nowiki>
 
Three ways to link to external (non-wiki) sources:
 
# Bare URL: http://www.nupedia.com/
 
# Unnamed link: [http://www.nupedia.com/]
 
# Named link: [http://www.nupedia.com Nupedia]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
Linking to other wikis:
 
# [[Interwiki]] link: [[Wiktionary:Hello]]
 
# Named interwiki link: [[Wiktionary:Hello|Hello]]
 
# Interwiki link without prefix: [[Wiktionary:Hello|Hello]]
 
 
 
* All of these forms lead to the URL http://en.wiktionary.org/wiki/Hello
 
* Note that interwiki links use the ''internal'' link style.
 
* See [[MetaWikiPedia:Interwiki_map]] for the list of shortcuts; if the site you want to link to isn't on the list, use an external link ([[#link-external|see above]]).
 
* See also [[Wikipedia:How to link to Wikimedia projects]].
 
 
 
Linking to another language's wiktionary:
 
# [[Wiktionary:fr:Bonjour]]
 
# [[Wiktionary:fr:Bonjour|Bonjour]]
 
# [[Wiktionary:fr:Bonjour|fr:Bonjour]]
 
 
 
* All of these forms lead to the URL http://fr.wiktionary.org/wiki/Bonjour
 
|
 
<pre><nowiki>
 
Linking to other wikis:
 
# [[Interwiki]] link: [[Wiktionary:Hello]]
 
# Named interwiki link: [[Wiktionary:Hello|Hello]]
 
# Interwiki link without prefix: [[Wiktionary:Hello|]]
 
 
 
Linking to another language's wiktionary:
 
# [[Wiktionary:fr:Bonjour]]
 
# [[Wiktionary:fr:Bonjour|Bonjour]]
 
# [[Wiktionary:fr:Bonjour|]]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
ISBN 012345678X
 
 
 
ISBN 0-123-45678-X
 
 
 
* Link to books using their [[Wikipedia:ISBN|ISBN]] numbers. This is preferred to linking to a specific online bookstore, because it gives the reader a choice of vendors.
 
* ISBN links do not need any extra markup, provided you use one of the indicated formats.
 
|
 
<pre><nowiki>
 
ISBN 012345678X
 
 
 
ISBN 0-123-45678-X
 
</nowiki></pre>
 
|- valign=top
 
|
 
Date formats:
 
# [[July 20]], [[1969]]
 
# [[20 July]] [[1969]]
 
# [[1969]]-[[07-20]]
 
 
 
* Link dates in one of the above formats, so that everyone can set their own display order. If [[Special:Userlogin|logged in]], you can use [[Special:Preferences]] to change your own date display setting.
 
* All of the above dates will appear as "[[20 July|20 July]] [[1969|1969]]" if you set your date display preference to "15 January 2001", but as "[[20 July|July 20]], [[1969|1969]]" if you set it to "January 15, 2001".
 
|
 
<pre><nowiki>
 
Date formats:
 
# [[July 20]], [[1969]]
 
# [[20 July]] [[1969]]
 
# [[1969]]-[[07-20]]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
[[media:Sg_mrob.ogg|Sound]]
 
 
 
*To include links to non-image uploads such as sounds, use a "media" link. For images, [[#Images|see next section]].
 
 
 
Some uploaded sounds are listed at [[Wikipedia:Sound]].
 
|
 
<pre><nowiki>
 
 
[[media:Sg_mrob.ogg|Sound]]
 
[[media:Sg_mrob.ogg|Sound]]
 
</nowiki></pre>
 
</nowiki></pre>
|}
+
</td>
 +
</tr>
 +
<tr valign=top>
 +
<td>Use links for dates, so everyone can set their own display order. Use [[Special:Preferences]] to change your own date display setting.
 +
</td>
 +
<td><pre><nowiki>[[July 20]], [[1969]] , [[20 July]] [[1969]]
 +
and [[1969]]-[[07-20]]
 +
</nowiki></pre>will all appear as [[20 July]] [[1969]] if you set your date display preference to 1 January 2001.
 +
</td>
 +
</tr>
 +
</table>
  
 
=== Images ===
 
=== Images ===
{| border="1" cellpadding="2" cellspacing="0"
 
|-
 
! What it looks like
 
! What you type
 
|- valign="top"
 
| A picture: [[Image:Wiki.png]]
 
  
or, with alternative text:
+
<table border="1" cellpadding="2" cellspacing="0">
[[Image:Wiki.png|jigsaw globe]]
+
<tr>
 
+
<th>What it looks like</th>
or, floating to the right side of the page and with a caption:
+
<th>What you type</th>
[[Image:Wiki.png|frame|Wikipedia Encyclopedia]]<br clear=all>
+
</tr>
 
+
<tr valign="top"><td>A picture: [[Image:homestar.PNG|The Homestar Runner is a terrific athlete.]]
or, floating to the right side of the page ''without'' a caption:
+
*To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]].  
[[Image:Wiki.png|right|Wikipedia Encyclopedia]]<br clear=all>
+
</td>
 
+
<td><pre><nowiki>
* Only images that have been uploaded to Wikipedia can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]].
+
A picture: [[Image:homestar.PNG]]</nowiki></pre>
* See the [[Wikipedia:Image use policy|image use policy]], [[Wikipedia:Image markup|extended image markup/syntax]] (also possibly [[Wikipedia:Image markup with HTML|image HTML markup]]) for more hints.
+
or, with alternate text (''strongly'' encouraged) <!-- actually required in HTML4 -->
* Alternative text, used when the image isn't loaded, in a text-only browser, or when spoken aloud, is '''strongly''' encouraged. See [[Wikipedia:Alternate text for images|Alternate text for images]] for help on choosing it.
+
<pre><nowiki>[[Image:homestar.PNG|The Homestar Runner is a terrific athlete]] </nowiki>
* The frame tag automatically floats the image right.
+
</pre>
| <pre><nowiki>
+
Web browsers render alternate text when not displaying an image -- for example, when the image isn't loaded, or in a text-only browser, or when spoken aloud.
A picture: [[Image:Wiki.png]]</nowiki>
+
</td>
 +
</tr>
 +
<tr>
 +
<td>
 +
Clicking on an uploaded image displays a description page, which you can also link directly to: [[:Image:homestar.PNG]]
 +
</td>
 +
<td><pre><nowiki>
 +
[[:Image:homestar.PNG]]
 +
</nowiki></pre>
 +
</td>
 +
</tr>
  
or, with alternative text:
+
<!--<tr>
<nowiki>[[Image:Wiki.png|jigsaw globe]]</nowiki>
+
<td>
 
 
or, floating to the right side of the page and with a caption:
 
<nowiki>[[Image:Wiki.png|frame|Wikipedia Encyclopedia]]</nowiki>
 
 
 
or, floating to the right side of the page ''without'' a caption:
 
<nowiki>[[Image:Wiki.png|right|Wikipedia Encyclopedia]]</nowiki></pre>
 
|-
 
|
 
Clicking on an uploaded image displays a description page, which you can also link directly to: [[:Image:Wiki.png]]
 
| <pre><nowiki>
 
 
 
[[:Image:Wiki.png]]
 
</nowiki></pre>
 
|-
 
|
 
 
To include links to images shown as links instead of drawn on the page, use a "media" link.
 
To include links to images shown as links instead of drawn on the page, use a "media" link.
 
+
<br/>[[media:homestar.png|Image of Homestar]]
<br/>[[media:Tornado.jpg|Image of a Tornado]]
+
</td>
|
+
<td>
 
<pre>
 
<pre>
 
<nowiki>
 
<nowiki>
 +
[[media:homestar.png|Image of Homestar]]
 +
</nowiki></pre>
 +
</td>
 +
</tr>-->
  
[[media:Tornado.jpg|Image of a Tornado]]
+
</table>
  
</nowiki></pre>
+
=== Character formatting ===
|}
 
  
=== Character formatting ===
+
<table border="1" cellpadding="2" cellspacing="0">
{| border="1" cellpadding="2" cellspacing="0"
+
<tr>
|- valign="top"
+
<th>What it looks like</th>
! What it looks like
+
<th>What you type</th>
! What you type
+
</tr>
|- id="emph" valign="top"
+
<tr valign="top"><td>
|
 
 
''Emphasize'', '''strongly''', '''''very strongly'''''.
 
''Emphasize'', '''strongly''', '''''very strongly'''''.
* These are double, triple, and quintuple apostrophes (single-quote marks), not double-quote marks.
+
*These are double and triple apostrophes, not double quotes.
|
+
</td>
<pre><nowiki>
+
<td>
''Emphasize'', '''strongly''', '''''very strongly'''''.
+
<pre><nowiki>''Emphasize'', '''strongly''',
</nowiki></pre>
+
'''''very strongly'''''.</nowiki></pre>
|- valign="top"
+
</td>
|
+
</tr>
<math>\sin x + \ln y</math><br>
+
<tr valign="top"><td>
sin''x'' + ln''y''
+
You can also write <i>italic</i> and <b>bold</b>
<!-- no space between roman "sin" and italic "x" -->
+
if the desired effect is a specific font style
 
+
rather than emphasis, as in mathematical formulae:
<math>\mathbf{x} = 0</math><br>
+
:<b>F</b> = <i>m</i><b>a</b>
'''x''' = 0
+
*However, the difference between these two methods is not very important for graphical browsers, and many people choose to ignore it.
 
+
</td>
Ordinary text should use [[#emph|wiki markup for emphasis]], and should not use <code>&lt;i&gt;</code> or <code>&lt;b&gt;</code>.  However, mathematical formulas often use italics, and sometimes use bold, for reasons unrelated to emphasis.  Complex formulas should use [[m:Help:Formula|<code>&lt;math&gt;</code> markup]], and simple formulas may use <code>&lt;math&gt;</code>; or <code>&lt;i&gt;</code> and <code>&lt;b&gt;</code>; or <code><nowiki>''</nowiki></code> and <code><nowiki>'''</nowiki></code>.  According to [[Wikipedia:WikiProject Mathematics#Italicization and bolding|WikiProject Mathematics]], wiki markup is preferred over HTML markup like <code>&lt;i&gt;</code> and <code>&lt;b&gt;</code>.
+
<td>
|
+
<pre><nowiki>You can also write <i>italic</i>
<pre><nowiki>
+
and <b>bold</b> if the desired effect is a
<math>\sin x + \ln y</math>
+
specific font style rather than emphasis, as
sin''x'' + ln''y''
+
in mathematical formulas:
 
+
:<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 -->
<math>\mathbf{x} = 0</math>
+
</td>
'''x''' = 0
+
</tr>
</nowiki></pre>
+
<tr valign=top>
|- valign="top"
+
<td>A typewriter font for <tt>technical terms</tt>.
|
+
</td>
A typewriter font for <tt>monospace text</tt>
+
<td><pre><nowiki>A typewriter font for  
or for computer code: <code>int main()</code>
+
<tt>technical terms</tt>.</nowiki></pre>
 
+
</td><!-- tt is really 'teletype', not 'technical term' -->
* For semantic reasons, using <code>&lt;code&gt;</code> where applicable is preferable to using <code>&lt;tt&gt;</code>.
+
</tr>
|
+
<tr valign=top>
<pre><nowiki>
+
<td>You can use <small>small text</small> for captions.
A typewriter font for <tt>monospace text</tt>
+
</td>
or for computer code: <code>int main()</code>
+
<td><pre><nowiki>You can use <small>small text</small>  
</nowiki></pre>
+
for captions.</nowiki></pre>
|- valign="top"
+
</td>
|
+
</tr>
You can use <small>small text</small> for captions.
+
<tr valign="top"><td>You can <strike>strike out deleted material</strike>
|
 
<pre><nowiki>
 
You can use <small>small text</small> for captions.
 
</nowiki></pre>
 
|- valign="top"
 
|
 
You can <s>strike out deleted material</s>
 
 
and <u>underline new material</u>.
 
and <u>underline new material</u>.
 
+
</td>
You can also mark <del>deleted material</del> and
+
<td><pre><nowiki>You can <strike>strike out deleted material</strike>
<ins>inserted material</ins> using logical markup
+
and <u>underline new material</u>.</nowiki></pre>
rather than visual markup.
+
</td>
 
+
</tr>
* When editing regular Wikipedia articles, just make your changes and don't mark them up in any special way.
+
<tr valign="top">
* When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
+
<td>
|
+
'''Umlauts and accents:''' <br/>
<pre><nowiki>
+
è é ê ë ì í<br/>
You can <s>strike out deleted material</s>
 
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.
 
</nowiki></pre>
 
|- valign="top"
 
|
 
'''Diacritical marks:'''
 
 
<br/>
 
<br/>
è é ê ë ì í
+
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; <br/>
 
+
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; <br/>
À Á Â Ã Ä Å <br/>
+
&Igrave; &Iacute;
Æ Ç È É Ê Ë <br/>
+
&Icirc; &Iuml; &Ntilde; &Ograve; <br/>
Ì Í
+
&Oacute; &Ocirc; &Otilde;
Î Ï Ñ Ò <br/>
+
&Ouml; &Oslash; &Ugrave; <br/>
Ó Ô Õ
+
&Uacute; &Ucirc; &Uuml; &szlig;
Ö Ø Ù <br/>
+
&agrave; &aacute; <br/>
Ú Û Ü ß
+
&acirc; &atilde; &auml; &aring; &aelig;
à á <br/>
+
&ccedil; <br/>
â ã ä å æ
+
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br/>
ç <br/>
+
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; <br/>
è é ê ë ì í<br/>
+
&oelig; &otilde;
î ï ñ ò ó ô <br/>
+
&ouml; &oslash; &ugrave; &uacute; <br/>
&oelig; õ
+
&ucirc; &uuml; &yuml;
ö ø ù ú <br/>
+
</td>
û ü ÿ
+
<td><pre><nowiki>
  
* See [[meta:Help:Special characters|special characters]].
 
|
 
<br/>
 
<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;
+
&amp;ucirc; &amp;uuml; &amp;yuml;</nowiki></pre></td>
</nowiki></pre>
+
</tr>
|- valign="top"
+
<tr valign=top>
|
+
<td>
'''Punctuation:'''
+
'''Punctuation:'''<br/>
<br/>
+
&iquest; &iexcl; &laquo; &raquo; &sect; &para;<br/>
¿ ¡ § ¶<br/>
+
&dagger; &Dagger; &bull; &mdash;
&dagger; &Dagger; &bull; &ndash; &mdash;<br/>
+
</td>
&lsaquo; &rsaquo; « »<br/>
+
<td><pre><nowiki>
&lsquo; &rsquo; &ldquo; &rdquo;
+
&amp;iquest; &amp;iexcl; &amp;laquo; &amp;raquo; &amp;sect; &amp;para;
|
+
&amp;dagger; &amp;Dagger; &amp;bull; &amp;mdash;</nowiki></pre></td>
<br/>
+
</tr>
<pre><nowiki>
+
<tr valign="top">
&amp;iquest; &amp;iexcl; &amp;sect; &amp;para;
+
<td>
&amp;dagger; &amp;Dagger; &amp;bull; &amp;ndash; &amp;mdash;
+
'''Commercial symbols:'''<br/>
&amp;lsaquo; &amp;rsaquo; &amp;laquo; &amp;raquo;
+
&trade; &copy; &reg; &cent; &euro; &yen; <br/>
&amp;lsquo; &amp;rsquo; &amp;ldquo; &amp;rdquo;
+
&pound; &curren;</td>
</nowiki></pre>
+
<td><pre><nowiki>
|- valign="top"
+
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen;
|
 
'''Commercial symbols:'''
 
<br/>
 
&trade; © ® ¢ &euro; ¥<br/>
 
£ ¤
 
|
 
<br/>
 
<pre><nowiki>
 
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen;  
 
 
&amp;pound; &amp;curren;
 
&amp;pound; &amp;curren;
</nowiki></pre>
+
</nowiki></pre></td>
|- valign="top"
+
</tr>
|
+
<tr valign="top" id="subscript"><td>Subscript: x<sub>2</sub><br/>
'''Subscripts:'''
+
Superscript: x<sup>2</sup> or x&sup2;
<br/>
 
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or
 
<br/>
 
x&#8320; x&#8321; x&#8322; x&#8323; x&#8324;
 
<br/>
 
x&#8325; x&#8326; x&#8327; x&#8328; x&#8329;
 
 
 
'''Superscripts:'''
 
<br/>
 
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or
 
<br/>
 
x&#8304; x&sup1; x&sup2; x&sup3; x&#8308;
 
<br/>
 
x&#8309; x&#8310; x&#8311; x&#8312; x&#8313;
 
 
 
*The latter methods of sub/superscripting can't be used in the most general context, as they rely on Unicode support which may not be present on all users' machines. For the 1-2-3 superscripts, it is nevertheless preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.
 
  
 +
*The latter method of superscript can't be used in the most general context, but is preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.
 
&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.
 
1 [[hectare]] = [[1 E4 m&sup2;]]
 
|
 
 
<br/>
 
<br/>
<pre><nowiki>
 
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or
 
 
<br/>
 
<br/>
x&amp;#8320; x&amp;#8321; x&amp;#8322; x&amp;#8323; x&amp;#8324;
+
</td>
<br/>
+
<td><pre><nowiki>Subscript: x<sub>2</sub>
x&amp;#8325; x&amp;#8326; x&amp;#8327; x&amp;#8328; x&amp;#8329;
+
Superscript: x<sup>2</sup> or x&amp;sup2;
</nowiki></pre>
+
 
 +
or in projects with the templates sub and sup:
  
<pre><nowiki>
+
Subscript: x{{sub|2}}
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or
+
Superscript: x{{sup|2}}
<br/>
 
x&amp;#8304; x&amp;sup1; x&amp;sup2; x&amp;sup3; x&amp;#8308;
 
<br/>
 
x&amp;#8309; x&amp;#8310; x&amp;#8311; x&amp;#8312; x&amp;#8313;
 
  
 
&amp;epsilon;<sub>0</sub> =
 
&amp;epsilon;<sub>0</sub> =
Line 801: Line 550:
 
C&amp;sup2; / J m.
 
C&amp;sup2; / J m.
  
1 [[hectare]] = [[1 E4 m&amp;sup2;]]
+
</nowiki></pre></td>
</nowiki></pre>
+
</tr>
|- valign="top"
+
<tr valign="top"><td>'''Greek characters:''' <br/>
|
+
&Alpha; &Beta; &Gamma; &Delta; &Epsilon; &Zeta; <br/>
'''Greek characters:'''
+
&Eta; &Theta; &Iota; &Kappa; &Lambda; &Mu; &Nu; <br/>
<br/>
+
&Xi; &Omicron; &Pi; &Rho;  &Sigma; <br/>
&alpha; &beta; &gamma; &delta; &epsilon; &zeta;<br/>
+
&Tau; &Upsilon; &Phi; &Chi; &Psi; &Omega; <br/>
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu;<br/>
+
&alpha; &beta; &gamma; &delta; &epsilon; &zeta; <br/>
&xi; &omicron; &pi; &rho; &sigma; &sigmaf;<br/>
+
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; <br/>
&tau; &upsilon; &phi; &chi; &psi; &omega;<br/>
+
&xi; &omicron; &pi; &rho; &sigma; &sigmaf; <br/>
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi;<br/>
+
&tau; &upsilon; &phi; &chi; &psi; &omega;
&Sigma; &Phi; &Psi; &Omega;
+
</td>
|
+
<td><pre><nowiki>
<br/>
+
&amp;Alpha; &amp;Beta; &amp;Gamma; &amp;Delta; &amp;Epsilon; &amp;Zeta;
<pre><nowiki>
+
&amp;Eta; &amp;Theta; &amp;Iota; &amp;Kappa; &amp;Lambda; &amp;Mu; &amp;Nu;
&amp;alpha; &amp;beta; &amp;gamma; &amp;delta; &amp;epsilon; &amp;zeta;  
+
&amp;Xi; &amp;Omicron; &amp;Pi; &amp;Rho;  &amp;Sigma;
&amp;eta; &amp;theta; &amp;iota; &amp;kappa; &amp;lambda; &amp;mu; &amp;nu;  
+
&amp;Tau; &amp;Upsilon; &amp;Phi; &amp;Chi; &amp;Psi; &amp;Omega;
&amp;xi; &amp;omicron; &amp;pi; &amp;rho; &amp;sigma; &amp;sigmaf;
+
&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;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;
+
</nowiki></pre></td>
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
+
</tr>
</nowiki></pre>
+
<tr valign="top">
|- valign="top"
+
<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; &rarr;<br/>
 
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;<br/>
Line 834: Line 583:
 
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br/>
 
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br/>
 
&rarr; &harr;<br/>
 
&rarr; &harr;<br/>
* See also [[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]].
+
</td>
|
+
<td valign="middle"><pre><nowiki>
<br/>
 
<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;rarr;
 
&amp;asymp; &amp;prop; &amp;equiv; &amp;ne; &amp;le; &amp;ge; &amp;rarr;
Line 844: Line 591:
 
&amp;isin; &amp;notin; &amp;cap; &amp;cup; &amp;sub; &amp;sup; &amp;sube; &amp;supe;
 
&amp;isin; &amp;notin; &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;rarr; &amp;harr;</nowiki></pre></td>
 +
</tr>
 +
<tr valign="top"><td><i>x</i><sup>2</sup>&nbsp;&nbsp;&nbsp;&ge;&nbsp;&nbsp;&nbsp;0 true.
 +
*To space things out, use non-breaking spaces - <tt>&amp;nbsp;</tt>.
 +
*<tt>&amp;nbsp;</tt> also prevents line breaks in the middle of text, this is useful in formulas.
 +
</td>
 +
<td><pre><nowiki>
 +
<i>x</i><sup>2</sup>&amp;nbsp;&amp;nbsp;&amp;ge;&amp;nbsp;&amp;nbsp;0 true.
 +
</nowiki></pre></td>
 +
</tr>
 +
<!--<tr>
 +
<td>
 +
'''Complicated formulae:'''<br/>
 +
&nbsp;&nbsp;<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
 +
</td>
 +
<td><pre><nowiki>
 +
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
 
</nowiki></pre>
 
</nowiki></pre>
|- valign="top"
+
</td>
|
+
</tr>-->
'''Spacing in simple math formulas:'''
+
<tr>
<br/>
+
<td>
Obviously, ''x''&sup2;&nbsp;&ge;&nbsp;0 is true.
+
'''For comparison for the following examples:'''
*To space things out without allowing line breaks to interrupt the formula, use non-breaking spaces: <tt>&amp;nbsp;</tt>.
 
|
 
<br/>
 
<pre><nowiki>
 
Obviously, ''x''&amp;sup2;&amp;nbsp;&amp;ge;&amp;nbsp;0 is true.
 
</nowiki></pre>
 
|- valign="top"
 
|
 
'''Complicated formulas:'''
 
<br/>
 
: <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
 
* See [[m:Help:Formula]] for how to use <tt>&lt;math></tt>.
 
* A formula displayed on a line by itself should probably be indented by using the colon (:) character.
 
|
 
<br/>
 
<pre><nowiki>
 
: <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
 
</nowiki></pre>
 
|- valign="top"
 
|
 
'''Suppressing interpretation of markup:'''
 
<br/>
 
<nowiki>Link &rarr; (''to'') the [[Wikipedia FAQ]]</nowiki>
 
* Used to show literal data that would otherwise have special meaning.
 
* Escape all wiki markup, including that which looks like HTML tags.
 
* Does not escape HTML character references.
 
* To escape HTML character references such as <tt>&amp;rarr;</tt> use <tt>&amp;amp;rarr;</tt>
 
|
 
<br/>
 
<pre><nowiki>
 
&lt;nowiki>Link &amp;rarr; (''to'')
 
the [[Wikipedia FAQ]]&lt;/nowiki>
 
</nowiki></pre>
 
|- valign="top"
 
|
 
'''Commenting page source:'''
 
<br/>
 
''not shown when viewing page''
 
* Used to leave comments in a page for future editors.
 
* Note that most comments should go on the appropriate [[Wikipedia:Talk page|Talk page]].
 
|
 
<br/>
 
<pre><nowiki>
 
&lt;!-- comment here -->
 
</nowiki></pre>
 
|}
 
''(see also: [[Chess symbols in Unicode]])''
 
  
=== Table of Contents ===
+
arrow      &rarr;
==== Placement of the Table of Contents (TOC) ====
 
At the current status of the wiki markup language, having at least four headers on a page triggers the TOC to appear in front of the first header (or after introductory sections).  Putting <nowiki>__TOC__</nowiki> anywhere forces the TOC to appear at that point (instead of just before the first header).  Putting <nowiki>__NOTOC__</nowiki> anywhere forces the TOC to disappear.  See also [[Wikipedia:Section#Compact_TOC|compact TOC]] for alphabet and year headings.
 
  
==== Keeping headings out of the Table of Contents ====
+
''italics''
 +
[[link]]
 +
</td>
 +
<td valign="bottom">
 +
<pre><nowiki>arrow      &amp;rarr;
  
If you want some subheadings to not appear in the Table of Contents, then make the following replacements.
+
''italics''
 +
[[link]]</nowiki></pre>
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>
 +
'''Use &lt;nowiki> to suppress interpretation of wiki markup, but interpret character references and remove newlines and multiple spaces:'''
  
Replace  <nowiki> == Header 2 == with <h2> Header 2 </h2> </nowiki>
+
<nowiki>arrow      &rarr;
  
Replace  <nowiki> === Header 3 === with <h3> Header 3 </h3> </nowiki>
+
''italics''
 +
[[link]]
 +
</nowiki>
 +
</td>
 +
<td valign="bottom">
 +
<pre><nowiki><nowiki>arrow      &amp;rarr;
  
And so forth.
+
''italics''
 +
[[link]]</nowiki></nowiki></pre>
  
For example, notice that the following header has the same font as the other subheaders to this "Tables" section, but the following header does not appear in the Table of Contents for this page.
+
</td>
 +
</tr>
 +
<tr>
 +
<td>
 +
'''Use &lt;pre> to suppress interpretation of wiki markup and keep newlines and multiple spaces, and get typewriter font, but interpret character references:'''
  
<h4> This header has the h4 font, but is NOT in the Table of Contents </h4>
+
<pre>arrow      &rarr;
  
This effect is obtained by the following line of code.
+
''italics''
 +
[[link]]
 +
</pre>
 +
</td>
 +
<td valign="bottom">
 +
<pre><nowiki><pre>arrow      &amp;rarr;
  
<code><nowiki><h4> This header has the h4 font, but is NOT in the Table of Contents </h4></nowiki></code>
+
''italics''
 +
[[link]]</pre></nowiki></pre>
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>
 +
'''Use leading space on each line to keep newlines and multiple spaces, and get typewriter font:
 +
arrow      &rarr;
  
 +
''italics''
 +
[[link]]
 +
</td>
 +
<td valign="bottom">
 +
<pre> <nowiki>arrow      &amp;rarr;
  
=== Tables ===
+
''italics''
There are two ways to build tables:
+
[[link]]</nowiki></pre>
*in special Wiki-markup (see [[m:Help:Table]])
+
</td>
*with the usual HTML elements: &lt;table&gt;, &lt;tr&gt;, &lt;td&gt; or &lt;th&gt;.
+
</tr>
 +
<tr>
 +
<td>
 +
'''Use typewriter font:'''
  
For the latter, and a discussion on when tables are appropriate, see [[Wikipedia:How to use tables]].
+
<tt>arrow      &rarr;</tt>
  
===Variables===
+
<tt>''italics''</tt>
 +
<tt>[[link]]</tt>
  
''(See also [[m:Help:Variable]])''
+
</td>
{|
+
<td valign="bottom">
|-
+
<pre><nowiki><tt>arrow      &amp;rarr;</tt>
! Code
 
! Effect
 
|-
 
| <nowiki>{{CURRENTMONTH}}</nowiki> || {{CURRENTMONTH}}
 
|-
 
| <nowiki>{{CURRENTMONTHNAME}}</nowiki>
 
| {{CURRENTMONTHNAME}}
 
|-
 
| <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>
 
| {{CURRENTMONTHNAMEGEN}}
 
|-
 
| <nowiki>{{CURRENTDAY}}</nowiki> || {{CURRENTDAY}}
 
|-
 
| <nowiki>{{CURRENTDAYNAME}}</nowiki> || {{CURRENTDAYNAME}}
 
|-
 
| <nowiki>{{CURRENTYEAR}}</nowiki> || {{CURRENTYEAR}}
 
|-
 
| <nowiki>{{CURRENTTIME}}</nowiki> || {{CURRENTTIME}}
 
|-
 
| <nowiki>{{NUMBEROFARTICLES}}</nowiki>
 
| {{NUMBEROFARTICLES}}
 
|-
 
| <nowiki>{{PAGENAME}}</nowiki> || {{PAGENAME}}
 
|-
 
| <nowiki>{{NAMESPACE}}</nowiki> || {{NAMESPACE}}
 
|-
 
| <nowiki>{{localurl:pagename}}</nowiki>
 
| {{localurl:pagename}}
 
|-
 
| <nowiki>{{localurl:</nowiki>''Wikipedia:Sandbox''<nowiki>|action=edit}}</nowiki>
 
| {{localurl:Wikipedia:Sandbox|action=edit}}
 
|-
 
| <nowiki>{{SERVER}}</nowiki> || {{SERVER}}
 
|-
 
| <nowiki>{{ns:1}}</nowiki> || {{ns:1}}
 
|-
 
| <nowiki>{{ns:2}}</nowiki> || {{ns:2}}
 
|-
 
| <nowiki>{{ns:3}}</nowiki> || {{ns:3}}
 
|-
 
| <nowiki>{{ns:4}}</nowiki> || {{ns:4}}
 
|-
 
| <nowiki>{{ns:5}}</nowiki> || {{ns:5}}
 
|-
 
| <nowiki>{{ns:6}}</nowiki> || {{ns:6}}
 
|-
 
| <nowiki>{{ns:7}}</nowiki> || {{ns:7}}
 
|-
 
| <nowiki>{{ns:8}}</nowiki> || {{ns:8}}
 
|-
 
| <nowiki>{{ns:9}}</nowiki> || {{ns:9}}
 
|-
 
| <nowiki>{{ns:10}}</nowiki> || {{ns:10}}
 
|-
 
| <nowiki>{{ns:11}}</nowiki> || {{ns:11}}
 
|-
 
| <nowiki>{{ns:12}}</nowiki> || {{ns:12}}
 
|-
 
| <nowiki>{{ns:13}}</nowiki> || {{ns:13}}
 
|-
 
| <nowiki>{{ns:14}}</nowiki> || {{ns:14}}
 
|-
 
| <nowiki>{{ns:15}}</nowiki> || {{ns:15}}
 
|-
 
| <nowiki>{{SITENAME}}</nowiki> || {{SITENAME}}
 
|}
 
  
'''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages.
+
<tt>''italics''</tt>
 +
<tt>[[link]]</nowiki></tt></pre>
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>
 +
'''Show character references:'''
  
===Templates===
+
&amp;rarr;
 +
</td>
 +
<td valign="bottom">
 +
<pre>&amp;amp;rarr;</pre>
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>
 +
'''Commenting page source:'''<br/>
 +
''not shown in page''
 +
* Used to leave comments in a page for future editors.
 +
</td>
 +
<td>
 +
<pre><nowiki><!-- comment here --></nowiki></pre>
 +
</td>
 +
</tr>
 +
</table>
  
The [[Wikipedia:MediaWiki|MediaWiki]] software used by Wikipedia has support for templates. This means standardized text chunks (such as [[Wikipedia:Template messages|boilerplate]] text) can be inserted into articles. For example, typing <nowiki>{{stub}}</nowiki> will appear as "''This article is a [[Wikipedia:The perfect stub article|stub]]. You can help Wikipedia by [[Wikipedia:Find or fix a stub|expanding it]].''" when the page is saved. See [[Wikipedia:Template messages]] for the complete list. Other commonly used ones are: <nowiki>{{disambig}}</nowiki> for disambiguation pages, <nowiki>{{spoiler}}</nowiki> for spoiler warnings and <nowiki>{{sectstub}}</nowiki> like an article stub but for a section. There are many subject-specific stubs e.g.: <nowiki> {{Geo-stub}}, {{Hist-stub}} and {{Linux-stub}}</nowiki>. For a complete list of stubs see [[Wikipedia:Template messages/Stubs]].
+
=== HTML Tables ===
  
===Hiding the edit links===
+
HTML tables can be quite useful as well. For details on how to use them and discussion about when they are appropriate, see [[http://meta.wikimedia.org/wiki/Help:Table MediaWiki User's Guide: Using tables]].
  
Insert '''<nowiki>__NOEDITSECTION__</nowiki>''' into the document to suppress the edit links that appear next to every section header.
+
==Templates==
  
==More information on editing wiki pages==
+
Some part of a page may correspond in the edit box to just a reference to another page, in the form <nowiki>{{</nowiki>''name''<nowiki>}}</nowiki>, referring to the page "Template:''name''" (or if the name starts with a namespace prefix, it refers to the page with that name; if it starts with a colon it refers to the page in the main namespace with that name without the colon). This is called a template. For changing that part of the page, edit that other page. Sometimes a separate edit link is provided for this purpose. A convenient way to put such a link in a template is with a template like [http://meta.wikimedia.org/wiki/Template:Ed m:Template:ed]. Note that the change also affects other pages which use the same template.
  
You may also want to learn about:
+
==Page protection==
  
* [[Help:Starting a new page|How to start a page]]
+
In a few cases the link labeled "{{MediaWiki:Editthispage}}" is replaced by the text "{{MediaWiki:Protectedpage}}". In that case the page can not be edited.
* Informal tips on [[Wikipedia:Contributing to Wikipedia|contributing to Wikipedia]]
 
* Editing tasks in general at the [[Wikipedia:Editing FAQ]]
 
* Why not to rename pages '''boldly''', at [[Wikipedia:How to rename (move) a page]]
 
* Preferred layout of your article, at [[Wikipedia:Guide to Layout|Guide to Layout]] (see also [[Wikipedia:Boilerplate text]])
 
* Style conventions in the [[Wikipedia:Manual of Style]]
 
* An article with annotations pointing out common Wikipedia style and layout issues, at [[Wikipedia:Annotated article]]
 
* General policies in [[Wikipedia:Policies and guidelines]]
 
* [[Wikipedia:Naming conventions]] for how to name articles themselves
 
* If you are making an article about something that belongs to a group of objects (a city, an astronomical object, a chinese character...) check if there is a [[Wikipedia:WikiProject|WikiProject]] on the group and try to follow its directions explicitly.
 
* Finally, for a list of  articles about editing Wikipedia consult [[Wikipedia:Style and How-to Directory]].
 
  
==See also==
+
==Separating edits==
*[[m:Help:Formula]]
 
*[[m:Help:Editing|Mediawiki user's guide to editing]]
 
*[[Wikipedia:MediaWiki]]
 
  
<!-- Interlanguage links -->
+
When moving or copying a piece of text within a page or from another page, and also making other edits, it is useful to separate these edits. This way the diff function can be usefully applied for checking these other edits.
[[ar:&#1608;&#1610;&#1603;&#1610;&#1576;&#1610;&#1583;&#1610;&#1575;:&#1605;&#1587;&#1575;&#1593;&#1583;&#1577; &#1575;&#1604;&#1578;&#1581;&#1585;&#1610;&#1585;]]
 
[[be:&#1042;&#1110;&#1082;&#1110;&#1087;&#1101;&#1076;&#1099;&#1103;:&#1071;&#1082; &#1088;&#1101;&#1076;&#1072;&#1075;&#1072;&#1074;&#1072;&#1094;&#1100; &#1110;&#1089;&#1085;&#1091;&#1102;&#1095;&#1099; &#1072;&#1088;&#1090;&#1099;&#1082;&#1091;&#1083;]][[bg:&#1059;&#1080;&#1082;&#1080;&#1087;&#1077;&#1076;&#1080;&#1103;:&#1050;&#1072;&#1082; &#1089;&#1077; &#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1072;&#1090; &#1089;&#1090;&#1088;&#1072;&#1085;&#1080;&#1094;&#1080;]]
 
[[ca:Viquipèdia:Com s'edita una pàgina]]
 
[[cs:Wikipedie:Jak editovat stránku]]
 
[[da:Wikipedia:Hvordan redigerer jeg en side]]
 
[[de:Wikipedia:Handbuch - Artikel bearbeiten]]
 
[[el:Wikipedia:&#928;&#974;&#962; &#957;&#945; &#949;&#960;&#949;&#958;&#949;&#961;&#947;&#945;&#963;&#964;&#949;&#943;&#964;&#949; &#956;&#953;&#945; &#963;&#949;&#955;&#943;&#948;&#945;]]
 
[[eo:Vikipedio:Kiel redakti pagxon]]
 
[[es:Wikipedia:Cómo se edita una página]]
 
[[fi:Wikipedia:Kuinka_sivuja_muokataan]]
 
[[fr:Wikipédia:Syntaxe wikipédia]]
 
[[ga:Vicipéid:Conas a cuirtear leathanach in eagar]]
 
[[he:&#1493;&#1497;&#1511;&#1497;&#1508;&#1491;&#1497;&#1492;:&#1488;&#1497;&#1498; &#1500;&#1506;&#1512;&#1493;&#1498; &#1491;&#1507;]]
 
[[hi:&#2354;&#2375;&#2326; &#2325;&#2379; &#2325;&#2376;&#2360;&#2375; &#2348;&#2342;&#2354;&#2375;&#2306;]]
 
[[hu:Wikipédia:Hogyan szerkessz egy lapot]]
 
[[id:Wikipedia:Menyunting_sebuah_halaman]]
 
[[it:Wikipedia:Guida_essenziale]]
 
[[lt:Wikipedia:Kaip_Redaguoti_Puslap%C4%AF]]
 
[[ja:Wikipedia:&#32232;&#38598;&#12398;&#20181;&#26041;]]
 
[[no:Wikipedia:Hvordan man redigerer en side]]
 
[[nn:Hjelp:Redigering]]
 
[[pt:Wikipedia:Como_editar_uma_p%C3%A1gina]]
 
[[ro:Wikipedia:Cum s&#259; editezi o pagin&#259;]]
 
[[ru:&#1050;&#1072;&#1082; &#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1089;&#1090;&#1088;&#1072;&#1085;&#1080;&#1094;&#1091;]]
 
[[simple:Wikipedia:How to edit]]
 
[[sl:Wikipedija:Urejevanje slovenskih strani]]
 
[[sr:%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%98%D0%B0:%D0%9A%D0%B0%D0%BA%D0%BE_%D1%81%D0%B5_%D0%BC%D0%B5%D1%9A%D0%B0_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B0]]
 
[[sv:Wikipedia:Hur man redigerar en sida]]
 
[[th:Wikipedia:&#3585;&#3634;&#3619;&#3649;&#3585;&#3657;&#3652;&#3586;&#3627;&#3609;&#3657;&#3634;]]
 
[[tr:Wikipedia:Sayfa_nas%C4%B1l_de%C4%9Fi%C5%9Ftirilir]]
 
[[ur:%D8%B5%D9%81%D8%AD%DB%81_%DA%A9%D8%B3_%D8%B7%D8%B1%D8%AD_%D8%AA%D8%B1%D9%85%D9%8A%D9%85_%DA%A9%D8%B1%D9%8A%DA%BA]]
 
[[vi:Wikipedia:C%C3%A1ch_ch%E1%BB%8Dn_l%E1%BB%8Dc_trang]]
 
[[zh-cn:Wikipedia:%E5%A6%82%E4%BD%95%E7%BC%96%E8%BE%91%E9%A1%B5%E9%9D%A2]]
 
[[zh-tw:Wikipedia:&#22914;&#20309;&#32232;&#36655;&#38913;&#38754;]]
 

Latest revision as of 19:17, 24 March 2006

This page is blatantly stolen from hrwiki.org

General

To edit a page, click on the "Edit this page" (or just "edit") link at one of its edges.

After adding to or changing the wikitext it is useful to press "Preview", which produces the corresponding webpage in your browser but does not make it publicly available yet (not until you press "Save"). Errors in formatting, links, tables, etc., are often much easier to discover from the rendered page than from the raw wikitext.

If you are not satisfied you can make more changes and preview the page as many times as necessary. Then write a short edit summary in the small text field below the edit-box and when finished press "Save". Depending on your system, pressing the "Enter" key while the edit box is not active (i.e., there is no typing cursor in it) may have the same effect as pressing "Save".

Dummy edit

If the wikitext is not changed no edit will be recorded and the edit summary is discarded.

A dummy edit is a change in wikitext that has no effect on the rendered page. This allows an edit summary, and is useful for correcting a previous edit summary, or an accidental marking of a previous edit as "minor" (see below). Also it is sometimes needed to refresh the cache of some item in the database.

Minor edits

When editing a page, a logged in user has the option of flagging the edit as a "minor edit". When to use this is somewhat a matter of personal preference. The rule of thumb is that an edit of a page that is spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit". A major edit is basically something that makes the entry worth relooking at for somebody who wants to watch the article rather closely, so any "real" change, even if it is a single word. This feature is important, because users can choose to hide minor edits in their view of the recent changes to keep the volume of edits down to a manageable level.

The reason for not allowing a user who is not logged in to mark an edit as minor is that vandalism could then be marked as a minor edit, in which case it would stay unnoticed longer. This limitation is another reason to log in.

The wiki markup

In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.

You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the Sandbox.

Sections, paragraphs, lists and lines

What it looks like What you type

Start your sections with header lines:

New section

Subsection

Sub-subsection


== New section ==

=== Subsection ===

==== Sub-subsection ====

New line:

A single new line has no effect on the layout.

But an empty line

starts a new paragraph.

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.

Sufficient as wikitext code is <br>, the XHTML code <br /> is not needed, the system produces this code.

You can break lines<br>
without starting a new paragraph.
  • 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.
* 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
      • like this
        or have newlines
        inside lists
* You can even do mixed lists
*# and nest them
*#* like this<br>or have newlines<br>inside lists
  • You can also
    • break lines
      inside lists
      like this
* You can also
**break lines<br>inside lists<br>like this
Definition list 
list of definitions
item 
the item's definition
; Definition list : list
of definitions
; item : the item's definition
A colon indents a line or paragraph.

A manual newline starts a new paragraph.

  • This is primarily for displayed material, but is also used for discussion on talk pages.
: A colon indents a line or paragraph.
A manual newline starts a new paragraph.
IF a line of plain text starts with a space THEN
  it will be formatted exactly
    as typed;
  in a fixed-width font;
  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)
 IF a line of plain text starts with a space THEN
   it will be formatted exactly
     as typed;
   in a fixed-width font;
   lines won't wrap;
 ENDIF
 this is useful for:
   * pasting preformatted text;
   * algorithm descriptions;
   * program source code
   * ASCII art;
   * chemical structures;
Centered text.
<center>Centered text.</center>
A horizontal dividing line: above

and below.

Mainly useful for separating threads on Talk pages.

A horizontal dividing line: above
----
and below. 

Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed.

Links, URLs

What it looks like What you type
Sue is reading Strong Bad Email.
  • First letter of target is not automatically capitalized, unlike Wikipedia.
  • Internally spaces are automatically represented as underscores (typing an underscore has the same effect as typing a space, but is not recommended).

Thus the link above is to http://hrwiki.org/index.php/Strong_Bad_Email, which is the page with the name "Strong Bad Email".

Sue is reading [[Strong Bad Email]].

(This is called a piped link).

Same target, different name:
[[Help:Contents|help]]
Endings are blended into the link: Strong Bad Emails
Endings are blended
into the link: [[Strong Bad Email]]s,

Automatically hide stuff in parentheses: Marzipan.

Automatically hide namespace: Welcoming committee.

The server fills in the part after the | when you save the page. Next time you open the edit box you will see the expanded piped link. A preview interprets the abbreviated form correctly, but does not expand it yet in the edit box. Press Save and again Edit, and you will see the expanded version. The same applies for the following feature.

Automatically hide stuff in parentheses:
[[Marzipan (character)|]]. 
Automatically hide namespace:
[[HRWiki:Welcoming committee|]].
When adding a comment to a Talk page,

you should sign it. You can do this by adding three tildes for your user name:

JoeyDay

or four for user name plus date/time:

JoeyDay 08:10 Oct 5, 2002 (UTC)
When adding a comment to a Talk page,
you should sign it. You can do this by
adding three tildes for your user name:
: ~~~
or four for user name plus date/time:
: ~~~~
The weather in London is a page that doesn't exist yet.
  • You can create it by clicking on the link.
  • To create a new page:
    1. Create a link to it on some other page.
    2. Save that page.
    3. Click on the link you just made. The new page will open for editing.
[[The weather in London]] is a page
that doesn't exist yet.

Redirect one article title to another by putting text like this in its first line.

#REDIRECT [[Senor]]
"What links here" and "Related changes" can be linked as:

Special:Whatlinkshere/Strong Bad and Special:Recentchangeslinked/Strong Bad

[[Special:Whatlinkshere/
Strong Bad]] and
[[Special:Recentchangeslinked/
Strong Bad]]
External links: Homestar Runner, [1]
External links:
[http://www.homestarrunner.com Homestar Runner],
[http://www.homestarrunner.com]
Or just give the URL: http://www.homestarrunner.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 %5E (to be looked up in ASCII). A blank space can also be converted into an underscore.
Or just give the URL:
http://www.homestarrunner.com.

To link to books, you can use ISBN links. ISBN 0123456789X

ISBN 0123456789X

Link to Request for Comments: RFC 123 (URL specified in mediawiki:Rfcurl)

RFC 123

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


[[media:Sg_mrob.ogg|Sound]]
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]]
will all appear as 20 July 1969 if you set your date display preference to 1 January 2001.

Images

What it looks like What you type
A picture: The Homestar Runner is a terrific athlete.
A picture: [[Image:homestar.PNG]]

or, with alternate text (strongly encouraged)

[[Image:homestar.PNG|The Homestar Runner is a terrific athlete]] 

Web browsers render alternate text when not displaying an image -- for example, when the image isn't loaded, or in a text-only browser, or when spoken aloud.

Clicking on an uploaded image displays a description page, which you can also link directly to: Image:homestar.PNG

[[:Image:homestar.PNG]]

Character formatting

What it looks like What you type

Emphasize, strongly, very strongly.

  • These are double and triple apostrophes, not double quotes.
''Emphasize'', '''strongly''',
'''''very strongly'''''.

You can also write italic and bold if the desired effect is a specific font style rather than emphasis, as in mathematical formulae:

F = ma
  • However, the difference between these two methods is not very important for graphical browsers, and many people choose to ignore it.
You can also write <i>italic</i>
and <b>bold</b> if the desired effect is a 
specific font style rather than emphasis, as 
in mathematical formulas:
:<b>F</b> = <i>m</i><b>a</b>
A typewriter font for technical terms.
A typewriter font for 
<tt>technical terms</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 <strike>strike out deleted material</strike>
and <u>underline new material</u>.

Umlauts and accents:
è é ê ë ì í

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


è é ê ë ì í

&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; &mdash;

Commercial symbols:
™ © ® ¢ € ¥

£ ¤
&trade; &copy; &reg; &cent; &euro; &yen;
&pound; &curren;
Subscript: x2

Superscript: x2 or x²

  • The latter method of superscript can't be used in the most general context, but is preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.

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

Subscript: x<sub>2</sub>
Superscript: x<sup>2</sup> or x&sup2;

or in projects with the templates sub and sup:

Subscript: x{{sub|2}}
Superscript: x{{sup|2}}

&epsilon;<sub>0</sub> =
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.

Greek characters:

Α Β Γ Δ Ε Ζ
Η Θ Ι Κ Λ Μ Ν
Ξ Ο Π Ρ Σ
Τ Υ Φ Χ Ψ Ω
α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω

&Alpha; &Beta; &Gamma; &Delta; &Epsilon; &Zeta;
&Eta; &Theta; &Iota; &Kappa; &Lambda; &Mu; &Nu;
&Xi; &Omicron; &Pi; &Rho;  &Sigma;
&Tau; &Upsilon; &Phi; &Chi; &Psi; &Omega;
&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;

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

&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;
&times; &middot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &alefsym; &oslash;
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall; &rArr; &hArr;
&rarr; &harr;
x2   ≥   0 true.
  • To space things out, use non-breaking spaces - &nbsp;.
  • &nbsp; also prevents line breaks in the middle of text, this is useful in formulas.
<i>x</i><sup>2</sup>&nbsp;&nbsp;&ge;&nbsp;&nbsp;0 true.

For comparison for the following examples:

arrow →

italics link

arrow      &rarr;

''italics''
[[link]]

Use <nowiki> to suppress interpretation of wiki markup, but interpret character references and remove newlines and multiple spaces:

arrow → ''italics'' [[link]]

<nowiki>arrow      &rarr;

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

Use <pre> to suppress interpretation of wiki markup and keep newlines and multiple spaces, and get typewriter font, but interpret character references:

arrow      →

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

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

Use leading space on each line to keep newlines and multiple spaces, and get typewriter font:

arrow      →
italics
link
 arrow      &rarr;

 ''italics''
 [[link]]

Use typewriter font:

arrow →

italics link

<tt>arrow      &rarr;</tt>

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

Show character references:

&rarr;

&amp;rarr;

Commenting page source:
not shown in page

  • Used to leave comments in a page for future editors.
<!-- comment here -->

HTML Tables

HTML tables can be quite useful as well. For details on how to use them and discussion about when they are appropriate, see [MediaWiki User's Guide: Using tables].

Templates

Some part of a page may correspond in the edit box to just a reference to another page, in the form {{name}}, referring to the page "Template:name" (or if the name starts with a namespace prefix, it refers to the page with that name; if it starts with a colon it refers to the page in the main namespace with that name without the colon). This is called a template. For changing that part of the page, edit that other page. Sometimes a separate edit link is provided for this purpose. A convenient way to put such a link in a template is with a template like m:Template:ed. Note that the change also affects other pages which use the same template.

Page protection

In a few cases the link labeled "MediaWiki:Editthispage" is replaced by the text "Protected page". In that case the page can not be edited.

Separating edits

When moving or copying a piece of text within a page or from another page, and also making other edits, it is useful to separate these edits. This way the diff function can be usefully applied for checking these other edits.