Help:Editing: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
 
(Updating)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Wikipedia-specific introduction==
118Wiki is a [[Wiki|WikiWiki]], meaning that anyone can easily edit any unprotected article and have those changes posted immediately. This page is the reference for '''Wiki markup''', but is a very basic resource. If you need more assistance in editing the wiki, you will want to see the Wikipedia's [[wp:Help:Contents/Editing_Wikipedia|Editing Wikipedia]] help page.  
[[Wikipedia]] is a [[Wiki|WikiWiki]], meaning that anyone can easily edit any unprotected article and have those changes posted immediately. This page is the reference for '''Wiki markup'''.


== Minor edits ==
== Minor edits ==
''See also [[Wikipedia:Minor edit]]''
: ''See also [[wp:Wikipedia:Minor_edit|Wikipedia:Minor edit]]''


When editing a page, a [[logged-in]] user can mark that edit as "minor". Minor edits generally mean spelling corrections, formatting, and minor rearranging of text. It is possible to ''hide'' minor edits when viewing [[Recent Changes]]. Marking a real 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, make another edit (add an extra space between two words, or a line break), mark it major, and say "the previous edit was major" in the summary.
When editing a page, a logged-in user can mark that edit as "minor". Minor edits generally mean spelling corrections, formatting, and minor rearranging of text. It is possible to ''hide'' minor edits when viewing [[Special:Recentchanges|Recent Changes]]. Marking a real 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, make another edit (add an extra space between two words, or a line break), mark it major, and say "the previous edit was major" in the summary.


== The wiki markup ==
== 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]].
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 [[118Wiki:Sand Box|Sandbox]].
 
:'''The rest of this page is deprecated but will be updated periodically.'''
:'''Please direct edits to the [[meta:MediaWiki User's Guide: Editing overview|Meta-Wikimedia version of this page]]'''
 
=== Sections, paragraphs, lists and lines ===
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<th>What it looks like</th>
<th>What you type</th>
</tr>
<tr>
<td>
Start your sections as follows:
 
<!-- This is the original
== New section ==
=== Subsection ===
==== Sub-subsection ====
-->
 
<!-- If this doesn't work, try the next set
<h2> New section </h2>
<h3> Subsection </h3>
<h4> Sub-subsection </h4>
-->
 
<!-- Try this set if the previous set doesn't work. -->
<!-- It's a hacky way of doing it, but section edit links go crazy otherwise -->
<br><b><font style="font-size:120%"> New section </font></b><br>
<br><b><font style="font-size:110%"> Subsection </font></b><br>
<br><b><font style="font-size:100%"> Sub-subsection </font></b><br>
<!-- -->
 
</td>
<td><pre><nowiki>
 
== New section ==
 
=== Subsection ===
 
==== Sub-subsection ====
</nowiki></pre>
</td>
</tr>
 
<tr>
<td>
A single [[newline]]
has no effect on the layout.
These can be used to separate
sentences within a paragraph.
Some editors find that this aids editing
and improves the ''diff'' function.<br>
<br>
But an empty line
starts a new paragraph.
</td>
<td>
<pre><nowiki>A single [[newline]]
has no effect on the layout.
These can be used to separate
sentences within a paragraph.
Some editors find that this aids editing
and improves the ''diff'' function.
 
But an empty line
starts a new paragraph.</nowiki></pre>
</td>
</tr>
 
<tr valign="top"><td>You can break lines<br>
without starting a new paragraph.</td>
<td><pre><nowiki>You can break lines<br>
without starting a new paragraph.</nowiki></pre>
</td>
</tr>
 
<tr>
<td>
* Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
</td>
<td><pre><nowiki>* Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
 
</nowiki></pre>
</td>
</tr>
 
<tr>
<td>
# Numbered lists are also good
## very organized
## easy to follow
</td>
<td><pre><nowiki># Numbered lists are also good
## very organized
## easy to follow</nowiki></pre>
</td>
</tr>
 
<tr>
<td>
* You can even do mixed lists
*# and nest them
*#* like this
</td>
<td><pre><nowiki>* You can even do mixed lists
*# and nest them
*#* like this</nowiki></pre>
</td>
</tr>
 
<tr>
<td>
; Definition list : list of definitions
; item : the item's definition
</td>
<td><pre><nowiki>; Definition list : list of definitions
; item : the item's definition</nowiki></pre>
*''One item per line, no hard NEWLINE.''
</td>
</tr>
 
<tr>
<td>
: 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 [[Wikipedia:Talk page|Talk page]]s.
</td>
<td><pre><nowiki>: A colon indents a line or paragraph.
A manual newline starts a new paragraph.
 
 
 
 
 
</nowiki></pre>
</td>
</tr>
 
<tr valign=top>
<td>
<pre> 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
this is useful for:
  * pasting preformatted text;
  * algorithm descriptions;
  * program source code;
  * [[ASCII art]] and chemical structures;
</pre>
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.
</td>
<td><pre><nowiki> 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
this is useful for:
  * pasting preformatted text;
  * algorithm descriptions;
  * program source code;
  * [[ASCII art]] and 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]]: this is above it
----
and this is below it.
 
Mainly useful for separating threads on Talk pages.
</td>
<td><pre><nowiki>A [[horizontal dividing line]]: this is above it
----
and this is below it. </nowiki></pre>
</td>
</tr>
</table>
 
 
=== Links, URLs, images ===
 
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<th>What it looks like</th>
<th>What you type</th>
</tr>
<tr valign="top"><td>London has [[public transport]].
 
*First letter of target is automatically capitalized.
*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://www.wikipedia.org/wiki/Public_transport</nowiki>, which is the article with the name "Public transport". See also [[Wikipedia:Canonization]].
</td>
<td><pre><nowiki>London has [[public transport]].</nowiki></pre>
</td>
</tr>
<tr><td>
[[World Heritage Sites#New Zealand]]<br>
is an example link to a section name on a page, see ''== headers =='' above.
Links to non-existent sections aren't broken, they are treated as links to the top of the page.</td><td>
<nowiki>[[World Heritage Sites#New Zealand]]</nowiki></td>.
</tr>
 
<tr valign="top"><td>Same target, different name:
[[wikipedia FAQ|answers]].
<br>(This is a [[piped link]].)
</td>
<td><pre><nowiki>Same target, different name:
[[wikipedia FAQ|answers]]</nowiki></pre>
</td>
</tr>
 
<tr valign="top">
<td>Endings are blended into the link: [[test]]ing, [[gene]]s
</td>
<td>
 
<pre><nowiki>Endings are blended
into the link: [[test]]ing, [[gene]]s</nowiki></pre>
</td>
</tr>
 
<tr valign="top">
<td>
Automatically hide stuff in parentheses: [[kingdom (biology)|kingdom]].
<p>Automatically hide namespace: [[Wikipedia:Village Pump|Village Pump]].
 
<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 [[Wikipedia:Show preview|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.
 
</td>
<td>
<pre><nowiki>Automatically hide stuff in parentheses:
[[kingdom (biology)|]]. </nowiki></pre>
 
 
<pre><nowiki>Automatically hide namespace:
[[Wikipedia:Village Pump|]].</nowiki></pre>
</td></tr>
 
<tr>
<td>When adding a comment to a Talk page,
you should sign it. You can do this by
adding three tildes for your user name:
: [[User:Montrealais|Montrealais]]
or four for user name plus date/time:
: [[User:Montrealais|Montrealais]] 08:10 Oct 5, 2002 (UTC)</td>
<td><pre><nowiki>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:
: ~~~~</nowiki></pre>
</td>
</tr>
 
<tr valign="top"><td>[[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:
*#Create a link to it on some other page.
*#Save that page.
*#Click on the link you just made. The new page will open for editing.
*Have a look at [[Wikipedia:How to start a page|how to start a page]] guide and Wikipedia's [[Wikipedia:Naming conventions|naming conventions]].
*After creating a page, search for its title and make sure that everyone correctly links to it.
</td>
<td><pre><nowiki>[[The weather in London]] is a page
that doesn't exist yet.</nowiki></pre>
</td>
</tr>
 
<tr valign="top"><td>[[Wikipedia:How to edit a page]] is this page.
 
[[Self link]]s appear as bold text when the article is viewed.</td>
<td><pre><nowiki>[[Wikipedia:How to edit a page]] is this page.</nowiki></pre>
</td>
</tr>
 
<tr valign="top"><td>
[[wikipedia:Redirect|Redirect]] one article title to another by putting text like this in its first line.  Note that redirects to sections do not work yet. <nowiki>#REDIRECT [[United States#History]]</nowiki> will redirect to the [[United States]] page, but not to any particular section on it. It is possible this feature will be implemented in future, so such redirects could be used now for future compatibility.
</td>
<td><pre><nowiki>#REDIRECT [[United States]]</nowiki></pre>
</td>
</tr>
 
<tr valign="top"><td>
Link to a page on the same subject in another language using a link like <nowiki>[[language code:Title]]</nowiki>.
 
It does not matter where you put these links while editing as they always show up in the same place when you save the page, but placement at the end of the edit box is recommended. See [[Wikipedia:Interlanguage links]] and [[Wikipedia:Complete list of language wikis available|list of languages and codes]].
</td>
</tr>
 
<tr valign="top"><td>[[Wikipedia:External links|External link]]: [http://www.nupedia.com Nupedia]<br>
This is an unnamed link. [http://www.nupedia.com]<br>
This is a plain URL: http://www.nupedia.com
</td>
<td><pre><nowiki>External link:
[http://www.nupedia.com Nupedia]</nowiki>
This is an unnamed link. [http://www.nupedia.com]
This is a plain URL: http://www.nupedia.com</pre>
</td>
</tr>
 
<tr valign="top"><td>Or just give the URL: http://www.nupedia.com.
 
*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]]).
</td>
 
 
<td><pre><nowiki>Or just give the URL:
http://www.nupedia.com.</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>A picture: [[Image:Wiki.png|Wikipedia Encyclopedia]]
 
* 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]]. See [[Wikipedia:Image use policy]] and [[Wikipedia:Image markup|Image markup]], [[Wikipedia:extended image syntax|extended image syntax]] for many more hints.
* 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.
 
</td>
<td><pre><nowiki>
A picture: [[Image:Wiki.png]]</nowiki></pre>
or, with alternate text
<pre><nowiki>[[Image:Wiki.png|jigsaw globe]] </nowiki>
</pre>
 
<!-- IE4 requires outer width when floating left or it gets text wrap wrong. Here on flush right for consistency -->
or, floating to the right side of the page. Place above the text to appear beside it. The caption is <small>The Wikipedia logo</small>. Use a width as wide as the image or a little wider.
<pre><div
style="float:right;width:135px;margin:0 0 1em 1em">
<nowiki>[[Image:Wiki.png|jigsaw globe]]</nowiki>
<small>The Wikipedia logo</small>
</div></pre>
 
More at [[Wikipedia:Image_markup]].
</td>
</tr>
<tr>
<td>
Clicking on an uploaded image displays a description page, which you can also link directly to: [[:Image:Wiki.png]]
</td>
<td><pre><nowiki>
 
 
[[:Image:Wiki.png]]
</nowiki></pre>
</td>
</tr>
 
<tr>
<td>
To include links to non-image uploads such as sounds, or to images shown as links instead of drawn on the page, use a "media" link.
 
<br>[[media:Sg_mrob.ogg|Sound]]
<br>
<br>[[media:Tornado.jpg|Image of a Tornado]]
</td>
<td>
<pre>
<nowiki>
 
[[media:Sg_mrob.ogg|Sound]]
 
[[media:Tornado.jpg|Image of a Tornado]]
 
</nowiki></pre></td></tr>
 
<tr>
<td>
To link to books, you can use [[Wikipedia:ISBN]] links.
 
ISBN 0123456789X
</td>
<td>
<nowiki>ISBN 0123456789X</nowiki>
 
<tr>
<td>"What links here" and "Related changes" can be linked as:<br>
[[Special:Whatlinkshere/Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/Wikipedia:How to edit a page]]
<td><nowiki>
[[Special:Whatlinkshere/Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/Wikipedia:How to edit a page]]</nowiki>
 
<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>
 
=== Character formatting ===
 
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<th>What it looks like</th>
<th>What you type</th>
</tr>
 
<tr valign="top"><td>
''Emphasize'', '''strongly''', '''''very strongly'''''.
* These are double and triple apostrophes (single-quote marks), not double-quote marks.
* Note that on almost all browsers, these appear as italic and bold; for semantic reasons, <nowiki><i></nowiki> and <nowiki><b></nowiki> are preferable in mathematical formulas.
</td>
<td>
<pre><nowiki>''Emphasize'', '''strongly''',
'''''very strongly'''''.</nowiki></pre>
</td>
</tr>
 
<tr valign=top>
<td>A typewriter font for <tt>technical terms</tt>.
* For semantic reasons, &lt;code> should be used instead when writing computer programs
</td>
<td><pre><nowiki>A typewriter font for <tt>technical terms</tt>.</nowiki></pre>
</td><!-- tt is really 'teletype', not 'technical term' -->
</tr>
 
<tr valign=top>
<td>You can use <small>small text</small> for captions.
</td>
<td><pre><nowiki>You can use <small>small text</small> for captions.</nowiki></pre>
</td>
</tr>
 
<tr valign="top"><td>You can <strike>strike out deleted material</strike>
and <u>underline new material</u>.
</td>
<td><pre><nowiki>You can <strike>strike out deleted material</strike>
and <u>underline new material</u>.</nowiki></pre>
</td>
</tr>
 
<tr valign="top">
<td>
'''Umlauts and accents:'''<br>
(See [[wikipedia:Special characters]])<br>
<br>
<br>
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; <br>
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; <br>
&Igrave; &Iacute;
&Icirc; &Iuml; &Ntilde; &Ograve; <br>
&Oacute; &Ocirc; &Otilde;
&Ouml; &Oslash; &Ugrave; <br>
&Uacute; &Ucirc; &Uuml; &szlig;
&agrave; &aacute; <br>
&acirc; &atilde; &auml; &aring; &aelig;
&ccedil; <br>
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br>
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; <br>
&oelig; &otilde;
&ouml; &oslash; &ugrave; &uacute; <br>
&ucirc; &uuml; &yuml;
</td>
<td>
<br>
<br>
 
<pre><nowiki>
&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;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;
&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;acirc; &amp;atilde; &amp;auml; &amp;aring; &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;oacute; &amp;ocirc;
&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;
&amp;ucirc; &amp;uuml; &amp;yuml;</nowiki></pre></td>
</tr>
 
<tr valign=top>
<td>
'''Punctuation:'''<br>
&iquest; &iexcl; &sect; &para;<br>
&dagger; &Dagger; &bull; &mdash;<br>
&lsaquo; &rsaquo; &laquo; &raquo;<br>
&lsquo; &rsquo; &ldquo; &rdquo;
</td>
<td><pre><nowiki>
 
&amp;iquest; &amp;iexcl; &amp;sect; &amp;para;
&amp;dagger; &amp;Dagger; &amp;bull; &amp;mdash;
&amp;lsaquo; &amp;rsaquo; &amp;laquo; &amp;raquo;
&amp;lsquo; &amp;rsquo; &amp;ldquo; &amp;rdquo;
</nowiki></pre></td>
</tr>
 
<tr valign="top">
<td>
'''Commercial symbols:'''<br>
&trade; &copy; &reg; &cent; &euro; &yen; <br>
&pound; &curren;</td>
<td><pre><nowiki>
 
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen;
&amp;pound; &amp;curren;
</nowiki></pre></td>
</tr>
 
<tr valign="top"><td>Subscript: x<sub>2</sub><br>
Superscript: x<sup>2</sup> or x&sup2;
*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> =
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.
<br>
<br>
</td>
 
<td><pre><nowiki>Subscript: x<sub>2</sub>
Superscript: x<sup>2</sup> or x&amp;sup2;
 
 
 
 
 
 
 
&amp;epsilon;<sub>0</sub> =
8.85 &amp;times; 10<sup>&amp;minus;12</sup>
C&amp;sup2; / J m.</nowiki></pre>
<br>
</td>
</tr>
 
<tr valign="top"><td>'''Greek characters:''' <br>
&alpha; &beta; &gamma; &delta; &epsilon; &zeta; <br>
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; <br>
&xi; &omicron; &pi; &rho;  &sigma; &sigmaf; <br>
&tau; &upsilon; &phi; &chi; &psi; &omega;<br>
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; <br>
&Sigma; &Phi; &Psi; &Omega;
</td>
<td><pre><nowiki>
 
&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;Gamma; &amp;Delta; &amp;Theta; &amp;Lambda; &amp;Xi; &amp;Pi;
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
</nowiki></pre></td>
</tr>
<tr valign="top">
<td>
'''Math characters:''' <br>
&int; &sum; &prod; &radic; &minus; &plusmn; &infin;<br>
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;<br>
&times; &middot; &divide; &part; &prime; &Prime;<br>
&nabla; &permil; &deg; &there4; &alefsym; &oslash;<br>
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;<br>
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br>
&rarr; &harr;<br>
(See also [[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]])
</td>
<td valign="middle"><pre><nowiki>
&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;times; &amp;middot; &amp;divide; &amp;part; &amp;prime; &amp;Prime;
&amp;nabla; &amp;permil; &amp;deg; &amp;there4; &amp;alefsym; &amp;oslash;
&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;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>
* See [[Wikipedia:TeX markup]]
</td>
<td><pre><nowiki> 
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
</nowiki></pre>
</td>
</tr>
 
<tr>
<td>
'''Suppressing interpretation of markup:'''<br>
<nowiki>Link &rarr; (<i>to</i>) the [[Wikipedia FAQ]]</nowiki>
* Used to show literal data that would otherwise have special meaning.
* Escapes 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>
</td>
<td>
<pre><nowiki><nowiki>Link &amp;rarr; (<i>to</i>)
the [[Wikipedia FAQ]]</nowiki></nowiki></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>


<div align="center">
{| style="border:1px solid #A3B1BF; text-align:left; background:#f5faff"
|-
| width="25%" style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''Description'''
| style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''You type'''
| width="25%" style="background: #cee0f2; padding: 0.3em; text-align:center;"|'''You get'''
|-
| colspan="3" style="background: #cee0f2; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies anywhere
|-
|Italicise text
|
<tt><nowiki>''italic''</nowiki></tt>
|
''italic''
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Bold text
|
<tt><nowiki>'''bold'''</nowiki></tt>
|
'''bold'''
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Bold and italic
|
<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
|
'''''bold & italic'''''
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Internal link<br />
(within Wikipedia)
|
<tt><nowiki>[[name of page]]</nowiki></tt><br />
<tt><nowiki>[[name of page|display text]]</nowiki></tt><br />
|
[[name of page]]<br />
[[name of page|display text]]<br />
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Redirect to another page
|
<tt><nowiki>#redirect [[Target page]]</nowiki></tt>
|
1. redirect [[Target page]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|External link<br />
(to other websites)
|
<tt><nowiki>[http://www.example.com]</nowiki></tt><br />
<tt><nowiki>[http://www.example.com display text]</nowiki></tt><br />
<tt><nowiki>http://www.example.com</nowiki></tt>
|
[http://www.example.com]<br />
[http://www.example.com display text]<br />
http://www.example.com
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Escape wiki markup
|
<tt><nowiki>with ''markup''</nowiki></tt><br />
<tt><nowiki><nowiki>without ''markup''</nowiki></nowiki></tt>
|
with ''markup''<br />
<nowiki>without ''markup''</nowiki>
|-
| colspan="3" style="background: #cee0f2; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Applies only at the beginning of the line
|-
|Headings<br />
of different sizes
|
<tt><nowiki>==level 1==</nowiki></tt><br />
<tt><nowiki>===level 2===</nowiki></tt><br />
<tt><nowiki>====level 3====</nowiki></tt><br />
<tt><nowiki>=====level 4=====</nowiki></tt>
|
==Level 1==
===Level 2===
====Level 3====
=====Level 4=====
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Bullet list
|
<tt>&#42; one</tt><br />
<tt>&#42; two</tt><br />
<tt>&#42;&#42; two point one</tt><br />
<tt>&#42; three</tt>
|
* one
* two
** two point one
* three
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Numbered list
|
<tt>&#35; one</tt><br />
<tt>&#35; two</tt><br />
<tt>&#35;&#35; two point one</tt><br />
<tt>&#35; three</tt>
|
# one
# two
## two point one
# three
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
| Definition list
|
<tt>&#59;Definition</tt><br />
<tt>&#58;item 1</tt><br />
<tt>&#58;item 2</tt>
|
;Definition
:item 1
:item 2
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|&nbsp;
|-
|Unformatted text
|
&nbsp;&nbsp;a space at the<br/>
&nbsp;&nbsp;beginning of each line<br/>
&nbsp;&nbsp;creates unformatted<br/>
&nbsp;&nbsp;monospaced text
|
a space at the
beginning of each line
creates unformatted
monospaced text
|-
|colspan="3" style="text-align:center; border-top:1px solid #A3B1BF;"|[[wp:Help:Contents/Editing Wikipedia|More editing help]]
|}
</div>
=== Tables ===
=== Tables ===
==== Placement of the Table of Contents (TOC) ====
==== Placement of the Table of Contents (TOC) ====
At the current status of the wiki markup language, at least four headers trigger the TOC in front of the first header (or after introductory sections). Putting <nowiki>__NOTOC__ </nowiki> anywhere forces the TOC to disappear. See also [[Wikipedia:Section#Compact_TOC|compact TOC]] for alphabet and year headings.
At the current status of the wiki markup language, at least four headers trigger the TOC in front of the first header (or after introductory sections). Putting <nowiki>__NOTOC__ </nowiki> anywhere forces the TOC to disappear. See also [http://en.wikipedia.org/wiki/Wikipedia:Section#Compact_TOC compact TOC] for alphabet and year headings.


==== Tables ====
===Tables===
There are two ways to build tables:  
There are two ways to build tables:  
*in special Wiki-markup (see [[m:MediaWiki User's Guide: Using tables|MediaWiki User's Guide: Using tables]])
 
*in special Wiki-markup (see [[wp:Help:Table|Wikipedia Help:Table]])
*with the usual HTML elements: &lt;table&gt;, &lt;tr&gt;, &lt;td&gt; or &lt;th&gt;.
*with the usual HTML elements: &lt;table&gt;, &lt;tr&gt;, &lt;td&gt; or &lt;th&gt;.


For the latter, and a discussion on when tables are appropriate, see [[Wikipedia:How to use tables]].
For the latter, and a discussion on when tables are appropriate, see [[wp:Wikipedia:How_to_use_tables|Wikipedia:How to use tables]].


===Variables===
===Variables===
<table>
: ''See also [[wp:Help:Variable|Wikipedia Help:Variable]]''
<tr><th>Code<th>Effect
{|
<tr><td><nowiki>{{CURRENTMONTH}}</nowiki>  
|-
<td>{{CURRENTMONTH}}
! Code
<tr><td><nowiki>{{CURRENTMONTHNAME}}</nowiki>
! Effect
<td>{{CURRENTMONTHNAME}}
! Description
<tr><td><nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>
|-
<td>{{CURRENTMONTHNAMEGEN}}
| <nowiki>{{CURRENTWEEK}}</nowiki> || {{CURRENTWEEK}} || Current week's number in the year
<tr><td><nowiki>{{CURRENTDAY}}</nowiki>
|-
<td>{{CURRENTDAY}}
| <nowiki>{{CURRENTDOW}}</nowiki> || {{CURRENTDOW}} || Current number of the day of the week
<tr><td><nowiki>{{CURRENTDAYNAME}}</nowiki>
|-
<td>{{CURRENTDAYNAME}}
| <nowiki>{{CURRENTMONTH}}</nowiki> || {{CURRENTMONTH}} || Current month's number out of 12
<tr><td><nowiki>{{CURRENTYEAR}}</nowiki>
|-
<td>{{CURRENTYEAR}}
| <nowiki>{{CURRENTMONTHNAME}}</nowiki> || {{CURRENTMONTHNAME}} || Name of the current month
<tr><td><nowiki>{{CURRENTTIME}}</nowiki>
|-
<td>{{CURRENTTIME}}
| <nowiki>{{CURRENTDAY}}</nowiki> || {{CURRENTDAY}} || Current number of the day of the month out of 31
<tr><td><nowiki>{{NUMBEROFARTICLES}}</nowiki>
|-
<td>{{NUMBEROFARTICLES}}
| <nowiki>{{CURRENTDAYNAME}}</nowiki> || {{CURRENTDAYNAME}} || Name of the current day
</table>
|-
 
| <nowiki>{{CURRENTYEAR}}</nowiki> || {{CURRENTYEAR}} || Current year number
'''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).
|-
 
| <nowiki>{{CURRENTTIME}}</nowiki> || {{CURRENTTIME}} || Current time, 24 hour format
|-
| <nowiki>{{NUMBEROFARTICLES}}</nowiki> || {{NUMBEROFARTICLES}} || Number of "real" articles <nowiki>*</nowiki>
|-
| <nowiki>{{PAGENAME}}</nowiki> || {{PAGENAME}} || Name of the current page
|-
| <nowiki>{{NAMESPACE}}</nowiki> || {{NAMESPACE}} || Namespace the current page resides in
|-
| <nowiki>{{REVISIONID}}</nowiki> || {{REVISIONID}} || The unique ID number for this revision of the page
|-
| <nowiki>{{localurl:pagename}}</nowiki> || {{localurl:pagename}} || Page's URL without root domain
|-
| <nowiki>{{localurl:</nowiki>''Wikipedia:Sandbox''<nowiki>|action=edit}}</nowiki> || {{localurl:Wikipedia:Sandbox|action=edit}} || Link to directly edit a page, without root domain
|-
| <nowiki>{{SERVER}}</nowiki> || {{SERVER}} || Root domain
|-
| <nowiki>{{ns:1}}</nowiki> || {{ns:1}} || Namespace 1
|-
| <nowiki>{{ns:2}}</nowiki> || {{ns:2}} || Namespace 2
|-
| <nowiki>{{ns:3}}</nowiki> || {{ns:3}} || Namespace 3
|-
| <nowiki>{{ns:4}}</nowiki> || {{ns:4}} || Namespace 4
|-
| <nowiki>{{ns:5}}</nowiki> || {{ns:5}} || Namespace 5
|-
| <nowiki>{{ns:6}}</nowiki> || {{ns:6}} || Namespace 6
|-
| <nowiki>{{ns:7}}</nowiki> || {{ns:7}} || Namespace 7
|-
| <nowiki>{{ns:8}}</nowiki> || {{ns:8}} || Namespace 8
|-
| <nowiki>{{ns:9}}</nowiki> || {{ns:9}} || Namespace 9
|-
| <nowiki>{{ns:10}}</nowiki> || {{ns:10}} || Namespace 10
|-
| <nowiki>{{ns:11}}</nowiki> || {{ns:11}} || Namespace 11
|-
| <nowiki>{{ns:12}}</nowiki> || {{ns:12}} || Namespace 12
|-
| <nowiki>{{ns:13}}</nowiki> || {{ns:13}} || Namespace 13
|-
| <nowiki>{{ns:14}}</nowiki> || {{ns:14}} || Namespace 14
|-
| <nowiki>{{ns:15}}</nowiki> || {{ns:15}} || Namespace 15
|-
| <nowiki>{{SITENAME}}</nowiki> || {{SITENAME}} || Name of the wiki
|}


* <nowiki>*</nowiki> '''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages.


{{WikipediaContent}}
{{WikipediaContent}}
__NOTOC__
__NOEDITSECTION__
[[Category:Help|Editing]]

Latest revision as of 23:02, 18 November 2006

118Wiki is a WikiWiki, meaning that anyone can easily edit any unprotected article and have those changes posted immediately. This page is the reference for Wiki markup, but is a very basic resource. If you need more assistance in editing the wiki, you will want to see the Wikipedia's Editing Wikipedia help page.

Minor edits

See also Wikipedia:Minor edit

When editing a page, a logged-in user can mark that edit as "minor". Minor edits generally mean spelling corrections, formatting, and minor rearranging of text. It is possible to hide minor edits when viewing Recent Changes. Marking a real 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, make another edit (add an extra space between two words, or a line break), mark it major, and say "the previous edit was major" in the summary.

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.

Description You type You get
Applies anywhere
Italicise text

''italic''

italic

Bold text

'''bold'''

bold

Bold and italic

'''''bold & italic'''''

bold & italic

Internal link

(within Wikipedia)

[[name of page]]
[[name of page|display text]]

name of page
display text

Redirect to another page

#redirect [[Target page]]

1. redirect Target page

External link

(to other websites)

[http://www.example.com]
[http://www.example.com display text]
http://www.example.com

[1]
display text
http://www.example.com

Escape wiki markup

with ''markup''
<nowiki>without ''markup''</nowiki>

with markup
without ''markup''

Applies only at the beginning of the line
Headings

of different sizes

==level 1==
===level 2===
====level 3====
=====level 4=====

Level 1

Level 2

Level 3

Level 4
Bullet list

* one
* two
** two point one
* three

  • one
  • two
    • two point one
  • three
Numbered list

# one
# two
## two point one
# three

  1. one
  2. two
    1. two point one
  3. three
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
 
Unformatted text

  a space at the
  beginning of each line
  creates unformatted
  monospaced text

a space at the 
beginning of each line 
creates unformatted
monospaced text
More editing help

Tables

Placement of the Table of Contents (TOC)

At the current status of the wiki markup language, at least four headers trigger the TOC in front of the first header (or after introductory sections). Putting __NOTOC__ anywhere forces the TOC to disappear. See also compact TOC for alphabet and year headings.

Tables

There are two ways to build tables:

  • in special Wiki-markup (see Wikipedia Help:Table)
  • with the usual HTML elements: <table>, <tr>, <td> or <th>.

For the latter, and a discussion on when tables are appropriate, see Wikipedia:How to use tables.

Variables

See also Wikipedia Help:Variable
Code Effect Description
{{CURRENTWEEK}} 20 Current week's number in the year
{{CURRENTDOW}} 4 Current number of the day of the week
{{CURRENTMONTH}} 05 Current month's number out of 12
{{CURRENTMONTHNAME}} May Name of the current month
{{CURRENTDAY}} 16 Current number of the day of the month out of 31
{{CURRENTDAYNAME}} Thursday Name of the current day
{{CURRENTYEAR}} 2024 Current year number
{{CURRENTTIME}} 19:54 Current time, 24 hour format
{{NUMBEROFARTICLES}} 14,656 Number of "real" articles *
{{PAGENAME}} Editing Name of the current page
{{NAMESPACE}} Help Namespace the current page resides in
{{REVISIONID}} 24874 The unique ID number for this revision of the page
{{localurl:pagename}} /wiki/index.php?title=Pagename Page's URL without root domain
{{localurl:Wikipedia:Sandbox|action=edit}} /wiki/index.php?title=Wikipedia:Sandbox&action=edit Link to directly edit a page, without root domain
{{SERVER}} https://wiki.starbase118.net Root domain
{{ns:1}} Talk Namespace 1
{{ns:2}} User Namespace 2
{{ns:3}} User talk Namespace 3
{{ns:4}} 118Wiki Namespace 4
{{ns:5}} 118Wiki talk Namespace 5
{{ns:6}} File Namespace 6
{{ns:7}} File talk Namespace 7
{{ns:8}} MediaWiki Namespace 8
{{ns:9}} MediaWiki talk Namespace 9
{{ns:10}} Template Namespace 10
{{ns:11}} Template talk Namespace 11
{{ns:12}} Help Namespace 12
{{ns:13}} Help talk Namespace 13
{{ns:14}} Category Namespace 14
{{ns:15}} Category talk Namespace 15
{{SITENAME}} 118Wiki Name of the wiki
  • * NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages.
Wp-logo.png
Content from this article may
have come partially, or
entirely from  
Wikipedia