Help:Editing: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (On request, fixed the Nupedia links.)
(Complete rewrite.)
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'''.
[[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 [http://en.wikipedia.org/wiki/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.'''
<div align="center">
:'''Please direct edits to the [[meta:MediaWiki User's Guide: Editing overview|Meta-Wikimedia version of this page]]'''
{| style="border:1px solid #B8C7D9; background:#f5faff; font-size: 95%;"
 
|-
=== Sections, paragraphs, lists and lines ===
| width="25%" style="background: #cedff2; padding: 3px 5px; text-align:center;"|'''Description'''
<table border="1" cellpadding="2" cellspacing="0">
| style="background: #cedff2; padding: 3px 5px; text-align:center;"|'''You type'''
<tr>
| width="25%" style="background: #cedff2; padding: 3px 5px; text-align:center;"|'''You get'''
<th>What it looks like</th>
|-
<th>What you type</th>
| colspan="3" style="background: #cedff2; padding: 3px 5px; text-align:center;" | ''applies anywhere''
</tr>
|-
<tr>
|Italify text
<td>
|<tt><nowiki>''italic''</nowiki></tt>
Start your sections as follows:
|''italic''
 
|-
<!-- This is the original
|colspan="3" style="border-top:1px solid #cedff2;"|
== New section ==
|-
=== Subsection ===
| Bold text
==== Sub-subsection ====
|<tt><nowiki>'''bold'''</nowiki></tt>
-->
|'''bold'''
 
|-
<!-- If this doesn't work, try the next set
|colspan="3" style="border-top:1px solid #cedff2;"|
<h2> New section </h2>
|-
<h3> Subsection </h3>
| Bold and italic
<h4> Sub-subsection </h4>
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
-->
|'''''bold & italic'''''
 
|-
<!-- Try this set if the previous set doesn't work. -->
|colspan="3" style="border-top:1px solid #cedff2;"|
<!-- 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>
| Internal link<br/>
<br><b><font style="font-size:110%"> Subsection </font></b><br>
(within Wikipedia)
<br><b><font style="font-size:100%"> Sub-subsection </font></b><br>
|<tt><nowiki>[[name of page]]</nowiki><br/>
<!-- -->
<nowiki>[[name of page|display text]]</nowiki>
 
|[[name of page]]<br/>
</td>
[[name of page|display text]]</tt>
<td><pre><nowiki>
|-
 
|colspan="3" style="border-top:1px solid #cedff2;"|
== New section ==
|-
 
| External link<br/>
=== Subsection ===
(to other websites)
 
|<tt><nowiki>[http://www.example.com]</nowiki><br/>
==== Sub-subsection ====
<nowiki>[http://www.example.com display text]</nowiki><br/>
</nowiki></pre>
<nowiki> http://www.example.com </nowiki>
</td>
| [http://www.example.com]<br/>
</tr>
[http://www.example.com display text]<br/>
 
http://www.example.com
<tr>
|-
<td>
|colspan="3" style="border-top:1px solid #cedff2;"|
A single [[newline]]
|-
has no effect on the layout.  
|Escape wiki markup
These can be used to separate
|<tt><nowiki><nowiki>no ''markup''</nowiki></nowiki></tt>
sentences within a paragraph.
|<nowiki>no ''markup''</nowiki>
Some editors find that this aids editing
|-
and improves the ''diff'' function.<br>
| colspan="3" style="background: #cedff2; padding: 3px 5px; text-align:center;" | ''  applies only at the beginning of the line''
<br>
|-
But an empty line
|Headings<br>
starts a new paragraph.
of different sizes
</td>
|
<td>
<tt><nowiki>==level 1==</nowiki></tt><br />
<pre><nowiki>A single [[newline]]
<tt><nowiki>===level 2===</nowiki></tt><br />
has no effect on the layout.
<tt><nowiki>====level 3====</nowiki></tt><br />
These can be used to separate
<tt><nowiki>=====level 4=====</nowiki></tt>
sentences within a paragraph.
|
Some editors find that this aids editing
==Level 1==
and improves the ''diff'' function.
===Level 2===
 
====Level 3====
But an empty line
=====Level 4=====
starts a new paragraph.</nowiki></pre>
|-
</td>
|colspan="3" style="border-top:1px solid #cedff2;"|
</tr>
|-
 
|Bullet list
<tr valign="top"><td>You can break lines<br>
|
without starting a new paragraph.</td>
&#42; one<br>
<td><pre><nowiki>You can break lines<br>
&#42; two<br>
without starting a new paragraph.</nowiki></pre>
&#42;&#42; two point one<br/>
</td>
&#42; three<br>
</tr>
|
 
* one
<tr>
* two
<td>
** two point one
* Lists are easy to do:
* three
** start every line with a star
|-
*** more stars means deeper levels
|colspan="3" style="border-top:1px solid #cedff2;"|
</td>
|-
<td><pre><nowiki>* Lists are easy to do:
|Numbered list
** start every line with a star
|
*** more stars means deeper levels
&#35; one<br>
 
&#35; two<br>
</nowiki></pre>
&#35;&#35; two point one<br/>
</td>
&#35; three<br>
</tr>
|
 
# one
<tr>
# two
<td>
## two point one
# Numbered lists are also good
# three
## very organized
|-
## easy to follow
|colspan="3" style="border-top:1px solid #cedff2;"|
</td>
|-
<td><pre><nowiki># Numbered lists are also good
| Definition list
## very organized
|
## easy to follow</nowiki></pre>
&#59;Definition<br>
</td>
&#58;item 1<br>
</tr>
&#58;item 2<br>
 
|
<tr>
;Definition
<td>
:item 1
* You can even do mixed lists
:item 2
*# and nest them
|-
*#* like this
|colspan="3" style="border-top:1px solid #cedff2;"|
</td>
|-
<td><pre><nowiki>* You can even do mixed lists
|Unformatted text
*# and nest them
|
*#* like this</nowiki></pre>
&nbsp;&nbsp;a space at the<br/>
</td>
&nbsp;&nbsp;beginning of each line<br/>
</tr>
&nbsp;&nbsp;creates unformatted<br/>
 
&nbsp;&nbsp;monospaced text
<tr>
|
<td>
a space at the
; Definition list : list of definitions
beginning of each line
; item : the item's definition
creates unformatted
</td>
monospaced text
<td><pre><nowiki>; Definition list : list of definitions
|-
; item : the item's definition</nowiki></pre>
|colspan="3" align="center" style="border-top:1px solid #B8C7D9;"|[http://en.wikipedia.org/wiki/Help:Contents/Editing_Wikipedia More editing help]
*''One item per line, no hard NEWLINE.''
|}
</td>
</div>
</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>
<td><nowiki>[[fr:Wikip�?©dia:Aide]]</nowiki></td>
</tr>
 
<tr valign="top"><td>[[Wikipedia:External links|External link]]: [http://nupedia.8media.org Nupedia]<br>
This is an unnamed link. [http://nupedia.8media.org]<br>
This is a plain URL: http://nupedia.8media.org
</td>
<td><pre><nowiki>External link:
[http://nupedia.8media.org Nupedia]</nowiki>
This is an unnamed link. [http://nupedia.8media.org]
This is a plain URL: http://nupedia.8media.org</pre>
</td>
</tr>
 
<tr valign="top"><td>Or just give the URL: http://nupedia.8media.org.
 
*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://nupedia.8media.org.</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>
�?¨ �?© �?ª �?« �?¬ �?­<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>
1 [[hectare]] = [[1 E4 m�?²]]
</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>
<nowiki>1 [[hectare]] = [[1 E4 m�?²]]</nowiki>
</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>


=== 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 [http://en.wikipedia.org/wiki/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 [http://en.wikipedia.org/wiki/Wikipedia:How_to_use_tables Wikipedia:How to use tables].


===Variables===
===Variables===
<table>
''(See also [http://en.wikipedia.org/wiki/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}}
|-
<tr><td><nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>
| <nowiki>{{CURRENTWEEK}}</nowiki> || {{CURRENTWEEK}}
<td>{{CURRENTMONTHNAMEGEN}}
|-
<tr><td><nowiki>{{CURRENTDAY}}</nowiki>
| <nowiki>{{CURRENTDOW}}</nowiki> || {{CURRENTDOW}}
<td>{{CURRENTDAY}}
|-
<tr><td><nowiki>{{CURRENTDAYNAME}}</nowiki>
| <nowiki>{{CURRENTMONTH}}</nowiki> || {{CURRENTMONTH}}
<td>{{CURRENTDAYNAME}}
|-
<tr><td><nowiki>{{CURRENTYEAR}}</nowiki>
| <nowiki>{{CURRENTMONTHNAME}}</nowiki>
<td>{{CURRENTYEAR}}
| {{CURRENTMONTHNAME}}
<tr><td><nowiki>{{CURRENTTIME}}</nowiki>
|-
<td>{{CURRENTTIME}}
| <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>
<tr><td><nowiki>{{NUMBEROFARTICLES}}</nowiki>
| {{CURRENTMONTHNAMEGEN}}
<td>{{NUMBEROFARTICLES}}
|-
</table>
| <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>{{REVISIONID}}</nowiki> || {{REVISIONID}}
|-
| <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).
'''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.


'''CURRENTMONTHNAMEGEN''' is the genitive (possessive) grammatical form of the month name, as used in some languages; '''CURRENTMONTHNAME''' is the nominative (subject) form, as usually seen in English.
In languages where it makes a difference, you can use constructs like <nowiki>{{grammar:case|word}}</nowiki> to convert a word from the nominative case to some other case.  For example, <nowiki>{{grammar:genitive|{{CURRENTMONTHNAME}}}}</nowiki> means the same as <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>. <!-- Is there a reference for this, other than the source code (for example, phase3/languages/Lnaguage*.php) ? -->




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

Revision as of 19:48, 28 May 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.

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
Italify 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

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 <nowiki>no ''markup''</nowiki> no ''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
{{CURRENTWEEK}} 48
{{CURRENTDOW}} 4
{{CURRENTMONTH}} 11
{{CURRENTMONTHNAME}} November
{{CURRENTMONTHNAMEGEN}} November
{{CURRENTDAY}} 28
{{CURRENTDAYNAME}} Thursday
{{CURRENTYEAR}} 2024
{{CURRENTTIME}} 00:00
{{NUMBEROFARTICLES}} 14,935
{{PAGENAME}} Editing
{{NAMESPACE}} Help
{{REVISIONID}} 18759
{{localurl:pagename}} /wiki/index.php?title=Pagename
{{localurl:Wikipedia:Sandbox|action=edit}} /wiki/index.php?title=Wikipedia:Sandbox&action=edit
{{SERVER}} https://wiki.starbase118.net
{{ns:1}} Talk
{{ns:2}} User
{{ns:3}} User talk
{{ns:4}} 118Wiki
{{ns:5}} 118Wiki talk
{{ns:6}} File
{{ns:7}} File talk
{{ns:8}} MediaWiki
{{ns:9}} MediaWiki talk
{{ns:10}} Template
{{ns:11}} Template talk
{{ns:12}} Help
{{ns:13}} Help talk
{{ns:14}} Category
{{ns:15}} Category talk
{{SITENAME}} 118Wiki

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.

CURRENTMONTHNAMEGEN is the genitive (possessive) grammatical form of the month name, as used in some languages; CURRENTMONTHNAME is the nominative (subject) form, as usually seen in English.

In languages where it makes a difference, you can use constructs like {{grammar:case|word}} to convert a word from the nominative case to some other case. For example, {{grammar:genitive|{{CURRENTMONTHNAME}}}} means the same as {{CURRENTMONTHNAMEGEN}}.


Wp-logo.png
Content from this article may
have come partially, or
entirely from  
Wikipedia