Help:Editing: Difference between revisions

m
Text replacement - "[[mediawiki:" to "[[MediaWiki:"
No edit summary
m (Text replacement - "[[mediawiki:" to "[[MediaWiki:")
(15 intermediate revisions by 3 users not shown)
Line 9: Line 9:


===Minor edits===
===Minor edits===
[[File:Minor Edit.png|frame|The '''Minor Edit''' checkbox is found above the "Save page" button. Click the checkbox to mark the edit as minor.]]
[[File:Minor Edit.png|frame|The '''minor edit''' checkbox is found above the "Save page" button. Click the checkbox to mark the edit as minor.]]
A '''minor edit''' is an edit that doesn't really change the content of a page, but rather, fixes small details or mistakes, and other such maintenance work. When editing a page, users have the option of marking the edit as minor. To do so, simply click the checkbox above the "Save page" button (as pictured) prior to saving the page. An "<span class=explain style=color:inherit title="This is a minor edit">'''m'''</span>" will then be displayed alongside the edit on the [[Special:Recentchanges|list of recent changes]], the page's history, watchlists, and the user's list of contributions, thus indicating that the edit was minor. 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.
A '''minor edit''' is an edit that doesn't really change the content of a page, but rather, fixes small details or mistakes, and other such maintenance work. When editing a page, users have the option of marking the edit as minor. To do so, simply click the checkbox above the "Save page" button (as pictured) prior to saving the page. An "{{hover|'''m'''|This is a minor edit}}" will then be displayed alongside the edit on the [[Special:Recentchanges|list of recent changes]], the page's history, watchlists, and the user's list of contributions, thus indicating that the edit was minor. 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.


Edits that can be marked as minor include:
Edits that can be marked as minor include:
Line 19: Line 19:
*Adding or modifying {{tem|aboutfile}}
*Adding or modifying {{tem|aboutfile}}
*Adding, exchanging or removing [[MarioWiki:Navigation templates|navigation templates]] or [[MarioWiki:Categories|categories]]
*Adding, exchanging or removing [[MarioWiki:Navigation templates|navigation templates]] or [[MarioWiki:Categories|categories]]
*Exchanging an image that is [[:Category:To be deleted|pending deletion]] for the replacement image (i.e. a blurry JPEG being replaced by a crisp PNG)
*Exchanging an image that is [[:Category:Pages to be deleted|pending deletion]] for the replacement image (i.e. a blurry JPEG being replaced by a crisp PNG)
*Maintenance work done on large amounts of pages at a time, creating floods of edits (usually, this involves one or more of the above types of edits to begin with)
*Maintenance work done on large amounts of pages at a time, creating floods of edits (usually, this involves one or more of the above types of edits to begin with)


Line 50: Line 50:
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 [[MarioWiki: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 [[MarioWiki:Sandbox|sandbox]].


===Sections, paragraphs, lists and lines===
===Sections, paragraphs, lists, and lines===
<table border="1" cellpadding="2" cellspacing="0">
<table border="1" cellpadding="2" cellspacing="0" style="margin:1em 0">
<tr>
<tr>
<th>What it looks like</th>
<th>What it looks like</th>
Line 60: Line 60:
Start your sections with header lines:
Start your sections with header lines:


<!-- This is the original
<b><font style="font-size:120%">New section</font></b>
==New section==
===Subsection===
====Sub-subsection====
-->
 
<!-- next set
<h2> New section </h2>
<h3> Subsection </h3>
<h4> Sub-subsection </h4>
-->
 
<!-- This code prevents confusion in the section editing feature-->
<b><font style="font-size:120%"> New section </font></b>
 
<b><font style="font-size:110%"> Subsection</font></b>


<b><font style="font-size:100%"> Sub-subsection</font></b>
<b><font style="font-size:110%">Subsection</font></b>


<b><font style="font-size:100%">Sub-subsection</font></b>
</td>
</td>
<td><pre><nowiki>
<td><pre><nowiki>
==New section==
==New section==


Line 102: Line 87:
But an empty line
But an empty line
starts a new paragraph.
starts a new paragraph.


</td>
</td>
<td>
<td>
<pre><nowiki>
<pre><nowiki>
A single
A single
newline
new line
has no
has no
effect on the
effect on the
Line 138: Line 119:
*you can
*you can
*start again.
*start again.
</td>
</td>
<td><pre><nowiki>*Lists are easy to do:
<td><pre><nowiki>*Lists are easy to do:
Line 149: Line 129:
*you can
*you can
*start again.
*start again.
</nowiki></pre>
</nowiki></pre>
</td>
</td>
Line 271: Line 250:


===Links, URLs===
===Links, URLs===
<table border="1" cellpadding="2" cellspacing="0">
<table border="1" cellpadding="2" cellspacing="0" style="margin:1em 0">
<tr>
<tr>
<th>What it looks like</th>
<th>What it looks like</th>
Line 366: Line 345:
</tr>
</tr>
<tr>
<tr>
<td>"What links here" and "Related changes" can be linked as:<br/>
<td>"What links here" and "Related changes" can be linked as:<br>
[[Special:Whatlinkshere/Wikipedia:How to edit a page]] and
[[Special:Whatlinkshere/Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/Wikipedia:How to edit a page]]
[[Special:Recentchangeslinked/Wikipedia:How to edit a page]]
Line 401: Line 380:
<tr>
<tr>
<td>
<td>
Link to [[w:Request for Comments|Request for Comments]]: RFC 123 (URL specified in [[mediawiki:Rfcurl]])
Link to [[w:Request for Comments|Request for Comments]]: RFC 123 (URL specified in [[MediaWiki:Rfcurl]])
</td>
</td>
<td>
<td>
Line 409: Line 388:
<td>
<td>
To include links to non-image uploads such as sounds, use a "media" link.
To include links to non-image uploads such as sounds, use a "media" link.
<br/>[[media:Sg_mrob.ogg|Sound]]
<br>[[media:Sg_mrob.ogg|Sound]]
</td>
</td>
<td>
<td>
<pre>
<pre><nowiki>
<nowiki>
[[media:Sg_mrob.ogg|Sound]]
[[media:Sg_mrob.ogg|Sound]]
</nowiki></pre>
</nowiki></pre>
Line 427: Line 405:
</tr>
</tr>
</table>
</table>
<table border="1" cellpadding="2" cellspacing="0">
<table border="1" cellpadding="2" cellspacing="0" style="margin:1em 0">
<tr>
<tr>
<th>What it looks like</th>
<th>What it looks like</th>
Line 434: Line 412:


===Images===
===Images===
<tr valign="top"><td>A picture: [[Image:Mariojumpingimage.png|Appearing his trademark blue overalls, red hat and undershirt.]]
<tr valign="top"><td>A picture: [[File:Mariojumpingimage.png|Appearing his trademark blue overalls, red hat and undershirt.]]
*For many projects, only images that have been uploaded to the same project can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]]
*For many projects, only images that have been uploaded to the same project can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]]
</td>
</td>
<td><pre><nowiki>
<td><pre><nowiki>
A picture: [[Image:Mariojumpingimage.png]]</nowiki></pre>
A picture: [[File:Mariojumpingimage.png]]</nowiki></pre>
or, with alternate text (''strongly'' encouraged) <!-- actually required in HTML4 -->
or, with alternate text (''strongly'' encouraged) <!-- actually required in HTML4 -->
<pre><nowiki>[[Image:Mariojumpingimage.png|Appearing his trademark blue overalls, red hat and undershirt.]] </nowiki>
<pre><nowiki>[[File:Mariojumpingimage.png|Appearing his trademark blue overalls, red hat and undershirt.]] </nowiki>
</pre>
</pre>
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.
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.
Line 457: Line 435:
<tr>
<tr>
<td>
<td>
To include links to images shown as links instead of drawn on the page, use a "media" link.
To link directly to the image file itself, use a "Media" link.
<br/>[[media:Tornado.jpg|Image of a Tornado]]
<br>[[Media:Mariojumpingimage.png|Image of Mario jumping]]
</td>
</td>
<td>
<td><pre><nowiki>
<pre>
[[Media:Mariojumpingimage.png|Image of Mario jumping]]
<nowiki>
[[media:Tornado.jpg|Image of a Tornado]]
</nowiki></pre>
</nowiki></pre>
</td>
</td>
Line 471: Line 447:


===Character formatting===
===Character formatting===
<table border="1" cellpadding="2" cellspacing="0">
<table border="1" cellpadding="2" cellspacing="0" style="margin:1em 0">
<tr>
<tr>
<th>What it looks like</th>
<th>What it looks like</th>
Line 523: Line 499:
<tr valign="top">
<tr valign="top">
<td>
<td>
'''Umlauts and accents:''' <br/>
'''Umlauts and accents:''' <br>
è é ê ë ì í<br/>
è é ê ë ì í<br>
<br/>
<br>
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; <br/>
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; <br>
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; <br/>
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; <br>
&Igrave; &Iacute;
&Igrave; &Iacute;
&Icirc; &Iuml; &Ntilde; &Ograve; <br/>
&Icirc; &Iuml; &Ntilde; &Ograve; <br>
&Oacute; &Ocirc; &Otilde;
&Oacute; &Ocirc; &Otilde;
&Ouml; &Oslash; &Ugrave; <br/>
&Ouml; &Oslash; &Ugrave; <br>
&Uacute; &Ucirc; &Uuml; &szlig;
&Uacute; &Ucirc; &Uuml; &szlig;
&agrave; &aacute; <br/>
&agrave; &aacute; <br>
&acirc; &atilde; &auml; &aring; &aelig;
&acirc; &atilde; &auml; &aring; &aelig;
&ccedil; <br/>
&ccedil; <br>
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br/>
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br>
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; <br/>
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; <br>
&oelig; &otilde;
&oelig; &otilde;
&ouml; &oslash; &ugrave; &uacute; <br/>
&ouml; &oslash; &ugrave; &uacute; <br>
&ucirc; &uuml; &yuml;
&ucirc; &uuml; &yuml;
</td>
</td>
<td><pre><nowiki>
<td><pre><nowiki>
è é ê ë ì í
è é ê ë ì í


Line 559: Line 534:
<tr valign="top">
<tr valign="top">
<td>
<td>
'''Punctuation:'''<br/>
'''Punctuation:'''<br>
&iquest; &iexcl; &laquo; &raquo; &sect; &para;<br/>
&iquest; &iexcl; &laquo; &raquo; &sect; &para;<br>
&dagger; &Dagger; &bull; &mdash;
&dagger; &Dagger; &bull; &mdash;
</td>
</td>
Line 569: Line 544:
<tr valign="top">
<tr valign="top">
<td>
<td>
'''Commercial symbols:'''<br/>
'''Commercial symbols:'''<br>
&trade; &copy; &reg; &cent; &euro; &yen; <br/>
&trade; &copy; &reg; &cent; &euro; &yen; <br>
&pound; &curren;</td>
&pound; &curren;</td>
<td><pre><nowiki>
<td><pre><nowiki>
Line 577: Line 552:
</nowiki></pre></td>
</nowiki></pre></td>
</tr>
</tr>
<tr valign="top" id="subscript"><td>Subscript: x<sub>2</sub><br/>
<tr valign="top" id="subscript"><td>Subscript: x<sub>2</sub><br>
Superscript: x<sup>2</sup> or x&sup2;
Superscript: x<sup>2</sup> or x&sup2;


Line 584: Line 559:
8.85 &times; 10<sup>&minus;12</sup>
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.
C&sup2; / J m.
<br/>
<br>
<br/>
<br>
</td>
</td>
<td><pre><nowiki>Subscript: x<sub>2</sub>
<td><pre><nowiki>Subscript: x<sub>2</sub>
Line 601: Line 576:
</nowiki></pre></td>
</nowiki></pre></td>
</tr>
</tr>
<tr valign="top"><td>'''Greek characters:''' <br/>
<tr valign="top"><td>'''Greek characters:''' <br>
&Alpha; &Beta; &Gamma; &Delta; &Epsilon; &Zeta; <br/>
&Alpha; &Beta; &Gamma; &Delta; &Epsilon; &Zeta; <br>
&Eta; &Theta; &Iota; &Kappa; &Lambda; &Mu; &Nu; <br/>
&Eta; &Theta; &Iota; &Kappa; &Lambda; &Mu; &Nu; <br>
&Xi; &Omicron; &Pi; &Rho;  &Sigma; <br/>
&Xi; &Omicron; &Pi; &Rho;  &Sigma; <br>
&Tau; &Upsilon; &Phi; &Chi; &Psi; &Omega; <br/>
&Tau; &Upsilon; &Phi; &Chi; &Psi; &Omega; <br>
&alpha; &beta; &gamma; &delta; &epsilon; &zeta; <br/>
&alpha; &beta; &gamma; &delta; &epsilon; &zeta; <br>
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; <br/>
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; <br>
&xi; &omicron; &pi; &rho;  &sigma; &sigmaf; <br/>
&xi; &omicron; &pi; &rho;  &sigma; &sigmaf; <br>
&tau; &upsilon; &phi; &chi; &psi; &omega;
&tau; &upsilon; &phi; &chi; &psi; &omega;
</td>
</td>
Line 624: Line 599:
<tr valign="top">
<tr valign="top">
<td>
<td>
'''Math characters:''' <br/>
'''Math characters:''' <br>
&int; &sum; &prod; &radic; &minus; &plusmn; &infin;<br/>
&int; &sum; &prod; &radic; &minus; &plusmn; &infin;<br>
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;<br/>
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;<br>
&times; &middot; &divide; &part; &prime; &Prime;<br/>
&times; &middot; &divide; &part; &prime; &Prime;<br>
&nabla; &permil; &deg; &there4; &alefsym; &oslash;<br/>
&nabla; &permil; &deg; &there4; &alefsym; &oslash;<br>
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;<br/>
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;<br>
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br/>
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br>
&rarr; &harr;<br/>
&rarr; &harr;<br>
</td>
</td>
<td valign="middle"><pre><nowiki>
<td valign="middle"><pre><nowiki>
Line 652: Line 627:
<!--<tr>
<!--<tr>
<td>
<td>
'''Complicated formulae:'''<br/>
'''Complicated formulae:'''<br>
&nbsp;&nbsp;<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
&nbsp;&nbsp;<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
</td>
</td>
Line 755: Line 730:
<tr>
<tr>
<td>
<td>
'''Commenting page source:'''<br/>
'''Commenting page source:'''<br>
''not shown in page''
''not shown in page''
* Used to leave comments in a page for future editors.
* Used to leave comments in a page for future editors.
Line 766: Line 741:


===HTML Tables===
===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 [[http://meta.wikimedia.org/wiki/Help:Table MediaWiki User's Guide: Using tables]].
HTML tables can be quite useful as well. For details on how to use them and discussion about when they are appropriate, see [[Help:Table]].


==Table of contents (TOC)==
==Table of contents (TOC)==
Line 795: Line 770:


Both of the above make use of section linking, see below.
Both of the above make use of section linking, see below.


==Templates==
==Templates==
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.
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 [[metawikimedia:Template:Ed]]. Note that the change also affects other pages which use the same template.


There are two tags that can be used in templates:
There are two tags that can be used in templates:
*<nowiki><noinclude> and </noinclude>. Adds text between the tags onto the template page, but not when the template is used on another page ({{</nowiki>''name''<nowiki>}}).</nowiki>
*<code><nowiki><noinclude></nowiki></code> and <code><nowiki></noinclude></nowiki></code>. Adds text between the tags onto the template page, but not when the template is used on another page (<nowiki>{{</nowiki>''name''<nowiki>}}</nowiki>).
*<nowiki><includeonly> and </includeonly> does the exact opposite. Text between the tags will only be seen when the template is used, not on the template page itself.</nowiki>
*<code><nowiki><includeonly></nowiki></code> and <code><nowiki></includeonly></nowiki></code> does the exact opposite. Text between the tags will only be seen when the template is used, not on the template page itself.


{{BoxTop}}
{{MarioWiki}}
{{Wikipolicy}}
{{Shortcut|SMW:EDIT|SMW:SYNTAX}}
[[Category:Help|{{PAGENAME}}]]
[[Category:Help]]
{{Shortcut|MW:EDIT|MW:SYNTAX}}