Help:Editing

From DANSE


Comprehensive help documentation is at MediaWiki User's Guide (http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide), a good starting point of which is Editing Overview (http://meta.wikimedia.org/wiki/Help:Editing).

Practice editing at sandbox here or better yet you can use the "Show preview" button to try things. Please read Editing Etiquette before editing the work of others.

A quick (non-comprehensive) reference is below:


Quick table

sourceview
paragraph (TeX-like)
Contiguous lines are all in the same 
paragraph.
You can break lines using &lt;br><br>
like this.

Second paragraph here separated by 
an empty line.

Contiguous lines are all in the same paragraph. You can break lines using <br>
like this.

Second paragraph here separated by an empty line.

simple link
[[gsl]]
gsl
link w/ different label
[[gsl|grid services light]]
grid services light
url as it is
http://arcs.cacr.caltech.edu
http://arcs.cacr.caltech.edu
url w/ different label
[http://arcs.cacr.caltech.edu arcs home]
arcs home (http://arcs.cacr.caltech.edu)
list
* item 1
** item 1-1
* item 2
  • item 1
    • item 1-1
  • item 2
ordered list
# item 1
# item 2
  1. item 1
  2. item 2
mixed list
# item 1
#* item 1-1
#*# item 1-1-1
#* item 1-2
  1. item 1
    • item 1-1
      1. item 1-1-1
    • item 1-2
horizontal line
----

headings
= lv1 title =
== lv2 title ==
=== lv3 title ===
==== lv4 title ====

lv1 title

lv2 title

lv3 title

lv4 title

Text as it is
<pre>
== add.c ==
int add(int x, int y) {
    return x + y;
}
</pre>
 Or any line beginning with 
 a space " " is considered 
 pre-formatted.
== add.c ==
int add(int x, int y) {
    return x + y;
}
Or any line beginning with 
a space " " is considered 
pre-formatted.


Images

sourceview
inline image
[[Image:tinydanse.jpg]]
Image:tinydanse.jpg
kludged caption
<table align=right>
<tr><td>[[Image:tinydanse.jpg|center]]
<tr><td><center><small>A DANSE logo</small></center>
</table>
Quite bothersome but no alternative 
for this specific purpose
center
A DANSE logo

Quite bothersome but no alternative for this specific purpose

thumbnail w/ caption, 80px wide
[[Image:danse_logo.jpg|thumb|80px|DANSE Logo]]
DANSE Logo
Enlarge
DANSE Logo
link to image or other uploaded files
[[Media:danse_logo.jpg|danse_logo.jpg]]
danse_logo.jpg


Tables

sourceview
simple w/o border
<table>
<tr><td>row1, col1 <td>row1, col2
<tr><td>row2, col1 <td>row2, col2
</table>
row1, col1 row1, col2
row2, col1 row2, col2
simple w/ border and header
<table border=1>
<th><th>1<th>2
<tr><th>1<td>row1, col1 <td>row1, col2
<tr><th>2<td>row2, col1 <td>row2, col2
</table>
12
1row1, col1 row1, col2
2row2, col1 row2, col2


Table of Contents

In general, a table of contents is automatically generated for pages with more than three headings.

Having __TOC__ in the document forces the generation.

__NOTOC__ suppresses generation of the table of contents.


Internal Links

Disallowed symbols in page titles:

" # $ * + < > = @ [ ] \ ^ ` { } | ~

External Links

Allowed Symbols:

A-Z a-z 0-9 ._\/~%-+

Conversion of other symbols:

 "   #   $   %   &   '   *   ,   :   ;   <   >   [   ^   `   {   |   }
 %22 %23 %24 %25 %26 %27 %2a %2c %3a %3b %3c %3e %5b %5e %60 %7b %7c %7d
Personal tools
Document Uploads/Links