Help:Editing: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 51: Line 51:


===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 106: Line 91:
<td>
<td>
<pre><nowiki>
<pre><nowiki>
A single
A single
new line
new line
Line 135: 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 146: Line 129:
*you can
*you can
*start again.
*start again.
</nowiki></pre>
</nowiki></pre>
</td>
</td>
Line 268: 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 363: 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 406: 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 424: 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 455: Line 436:
<td>
<td>
To link directly to the image file itself, use a "Media" link.
To link directly to the image file itself, use a "Media" link.
<br/>[[Media:Mariojumpingimage.png|Image of Mario jumping]]
<br>[[Media:Mariojumpingimage.png|Image of Mario jumping]]
</td>
</td>
<td><pre><nowiki>
<td><pre><nowiki>
Line 466: 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 518: 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 554: 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 564: 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 572: 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 579: 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 596: 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 619: 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 647: 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 750: 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 761: 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 792: Line 772:


==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.


{{MarioWiki}}
{{MarioWiki}}
{{Shortcut|SMW:EDIT|SMW:SYNTAX}}
{{Shortcut|SMW:EDIT|SMW:SYNTAX}}
[[Category:Help]]
[[Category:Help]]