Help:Editing: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Reverted edits by Edofenrir (Talk) to last revision by GreenKoopa)
(fixing spacing (in the examples too))
Line 8: Line 8:
If you are not satisfied you can make more changes and preview the page as many times as necessary. Then write a short edit summary in the small text field below the edit-box and when finished press "Save". Depending on your system, pressing the "Enter" key while the edit box is not active (i.e., there is no typing cursor in it) may have the same effect as pressing "Save".
If you are not satisfied you can make more changes and preview the page as many times as necessary. Then write a short edit summary in the small text field below the edit-box and when finished press "Save". Depending on your system, pressing the "Enter" key while the edit box is not active (i.e., there is no typing cursor in it) may have the same effect as pressing "Save".


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


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


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


== 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 [[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 [[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">
<tr>
<tr>
Line 33: Line 32:


<!-- This is the original
<!-- This is the original
== New section ==
==New section==
=== Subsection ===
===Subsection===
==== Sub-subsection ====
====Sub-subsection====
  -->
  -->


Line 54: Line 53:
<td><pre><nowiki>
<td><pre><nowiki>


== New section ==
==New section==


=== Subsection ===
===Subsection===


==== Sub-subsection ====
====Sub-subsection====
</nowiki></pre>
</nowiki></pre>
</td>
</td>
Line 101: Line 100:
<tr>
<tr>
<td>
<td>
* Lists are easy to do:
*Lists are easy to do:
** start every line with a star
**start every line with a star
*** more stars means deeper levels
***more stars means deeper levels
*A newline
*A newline
*in a list   
*in a list   
Line 112: Line 111:


</td>
</td>
<td><pre><nowiki>* Lists are easy to do:
<td><pre><nowiki>*Lists are easy to do:
** start every line with a star
**start every line with a star
*** more stars means deeper levels
***more stars means deeper levels
*A newline
*A newline
*in a list   
*in a list   
Line 127: Line 126:
<tr>
<tr>
<td>
<td>
# Numbered lists are also good
#Numbered lists are also good
## very organized
##very organized
## easy to follow
##easy to follow
#A newline
#A newline
#in a list   
#in a list   
Line 137: Line 136:


</td>
</td>
<td><pre><nowiki># Numbered lists are also good
<td><pre><nowiki>#Numbered lists are also good
## very organized
##very organized
## easy to follow
##easy to follow
#A newline
#A newline
#in a list   
#in a list   
Line 150: Line 149:
<tr>
<tr>
<td>
<td>
* You can even do mixed lists
*You can even do mixed lists
*# and nest them
*#and nest them
*#* like this<br>or have newlines<br>inside lists
*#*like this<br>or have newlines<br>inside lists
</td>
</td>
<td><pre><nowiki>* You can even do mixed lists
<td><pre><nowiki>*You can even do mixed lists
*# and nest them
*#and nest them
*#* like this<br>or have newlines<br>inside lists</nowiki></pre>
*#*like this<br>or have newlines<br>inside lists</nowiki></pre>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
* You can also
*You can also
**break lines<br>inside lists<br>like this
**break lines<br>inside lists<br>like this
</td>
</td>
<td><pre><nowiki>* You can also
<td><pre><nowiki>*You can also
**break lines<br>inside lists<br>like this</nowiki></pre>
**break lines<br>inside lists<br>like this</nowiki></pre>
</td>
</td>
<tr>
<tr>
<td>
<td>
; Definition list : list of definitions
;Definition list: list of definitions
; item : the item's definition
;item: the item's definition
</td>
</td>
<td><pre><nowiki>; Definition list : list
<td><pre><nowiki>;Definition list: list
of definitions
of definitions
; item : the item's definition</nowiki></pre>
;item: the item's definition</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 183: Line 182:
* This is primarily for displayed material, but is also used for discussion on talk pages.
* This is primarily for displayed material, but is also used for discussion on talk pages.
</td>
</td>
<td><pre><nowiki>: A colon indents a line or paragraph.
<td><pre><nowiki>:A colon indents a line or paragraph.
A manual newline starts a new paragraph.
A manual newline starts a new paragraph.
</nowiki></pre>
</nowiki></pre>
Line 197: Line 196:
ENDIF
ENDIF
this is useful for:
this is useful for:
   * pasting preformatted text;
   *pasting preformatted text;
   * algorithm descriptions;
   *algorithm descriptions;
   * program source code
   *program source code
   * ASCII art;
   *ASCII art;
   * chemical structures;</nowiki></pre>
   *chemical structures;</nowiki></pre>


WARNING If you make it wide,
WARNING If you make it wide,
Line 214: Line 213:
  ENDIF
  ENDIF
  this is useful for:
  this is useful for:
   * pasting preformatted text;
   *pasting preformatted text;
   * algorithm descriptions;
   *algorithm descriptions;
   * program source code
   *program source code
   * ASCII art;
   *ASCII art;
   * chemical structures;</nowiki></pre></td>
   *chemical structures;</nowiki></pre></td>
</tr>
</tr>
<tr valign="top"><td><center>Centered text.</center>
<tr valign="top"><td><center>Centered text.</center>
Line 235: Line 234:
<td><pre><nowiki>A horizontal dividing line: above
<td><pre><nowiki>A horizontal dividing line: above
----
----
and below. </nowiki></pre>
and below.</nowiki></pre>
</td>
</td>
</tr>
</tr>
Line 242: Line 241:
Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed.
Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed.


=== Links, URLs ===
===Links, URLs===
 
<table border="1" cellpadding="2" cellspacing="0">
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<tr>
Line 297: Line 295:
you should sign it. You can do this by
you should sign it. You can do this by
adding three tildes for your user name:
adding three tildes for your user name:
: [[User:Admin|Admin]]
:[[User:Admin|Admin]]
or four for user name plus date/time:
or four for user name plus date/time:
: [[User:Admin|Admin]] 08:10 Oct 5, 2002 (UTC)
:[[User:Admin|Admin]] 08:10 Oct 5, 2002 (UTC)
</td>
</td>
<td><pre><nowiki>When adding a comment to a Talk page,
<td><pre><nowiki>When adding a comment to a Talk page,
Line 327: Line 325:
</tr>
</tr>
<tr>
<tr>
<td>[[:Category: Help]]
<td>[[:Category:Help]]


Link directly to a category, instead of adding the page to the category, by adding a colon (:) in the internal link.
Link directly to a category, instead of adding the page to the category, by adding a colon (:) in the internal link.
</td>
</td>
<td><pre><nowiki>[[:Category: Help]]
<td><pre><nowiki>[[:Category:Help]]


Link directly to a category,
Link directly to a category,
Line 406: Line 404:
</tr>
</tr>


=== 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: [[Image: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>
Line 444: Line 441:
</table>
</table>


=== Character formatting ===
===Character formatting===
 
<table border="1" cellpadding="2" cellspacing="0">
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<tr>
Line 740: Line 736:
</table>
</table>


=== 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 [[http://meta.wikimedia.org/wiki/Help:Table MediaWiki User's Guide: Using tables]].


==Table of contents (TOC)==
==Table of contents (TOC)==
For each page with more than three headings, a '''table of contents (TOC)''' is automatically generated from the section headings, unless:
For each page with more than three headings, a '''table of contents (TOC)''' is automatically generated from the section headings, unless:
*(for a user) preferences are set to turn it off
*(for a user) preferences are set to turn it off
Line 759: Line 753:


===Compact TOC===
===Compact TOC===
Where you have a large number of very short headings (such as letters of the alphabet) you can get a very long table of contents. An alternative is a '''compact TOC''', which you can achieve by inserting the following text:
Where you have a large number of very short headings (such as letters of the alphabet) you can get a very long table of contents. An alternative is a '''compact TOC''', which you can achieve by inserting the following text:


Line 776: Line 769:


==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 [http://meta.wikimedia.org/wiki/Template:Ed m:Template:ed]. Note that the change also affects other pages which use the same template.


Line 784: Line 776:


==Page protection==
==Page protection==
In a few cases the link labeled "{{MediaWiki:Editthispage}}" is replaced by the text "{{MediaWiki:Protectedpage}}" (or equivalents in the language of the project). In that case the page can not be edited.
In a few cases the link labeled "{{MediaWiki:Editthispage}}" is replaced by the text "{{MediaWiki:Protectedpage}}" (or equivalents in the language of the project). In that case the page can not be edited.


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


[[Category:Help|{{PAGENAME}}]]
[[Category:Help|{{PAGENAME}}]]
{{Shortcut|MW:EDIT|MW:SYNTAX}}
{{Shortcut|MW:EDIT|MW:SYNTAX}}