Help:Editing

(New page: See the Wikipedia [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] and [http://en.wikipedia.org/wiki/Wikipedia:FAQ FAQ] and [http://en.wikipedia.org/wiki/Help:Contents help i...)
(Undo revision 46257 by 112.203.62.148 (Talk))
 
(10 intermediate revisions not shown)
Line 1: Line 1:
-
See the Wikipedia [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] and [http://en.wikipedia.org/wiki/Wikipedia:FAQ FAQ] and [http://en.wikipedia.org/wiki/Help:Contents help index].
+
This is a wiki. You can edit the articles. Just make sure to use the special syntax to properly format text, include links and so on.
 +
 
 +
== Format text ==
 +
 
 +
=== Headings ===
 +
 
 +
To make headings:
 +
{| class="wikitable"
 +
! This markup !! produces
 +
|-
 +
| <nowiki>== Header ==</nowiki> ||
 +
== Header ==
 +
|-
 +
| <nowiki>=== Sub-Header ===</nowiki> ||
 +
=== Sub-Header ===
 +
|-
 +
| <nowiki>==== Sub-sub-Header ====</nowiki> ||
 +
==== Sub-sub-Header ====
 +
|}
 +
 
 +
== Font Face ==
 +
 
 +
To make bold or italic font:
 +
{| class="wikitable"
 +
! This markup !! produces
 +
|-
 +
| <nowiki>This is ''italic'' and this is '''bold'''.</nowiki> || This is ''italic'' and this is '''bold'''.
 +
|-
 +
|}
 +
 
 +
=== Lists ===
 +
 
 +
An asterisk "*" at the start of each line indicates an item in a bullet list:
 +
* One item
 +
* and another one
 +
 
 +
Create a numbered list by adding a hash sign "#" at the start of the line:
 +
 
 +
# First item
 +
# Second item
 +
# Third item
 +
 
 +
=== Code ===
 +
 
 +
To make clear text is meant as code or computer in/output use <nowiki><pre></nowiki> and <nowiki></pre></nowiki> tags to surround the text:
 +
 
 +
<nowiki><pre>this is preformatted text</pre></nowiki>
 +
 
 +
produces
 +
 
 +
<pre>this is preformatted text</pre>
 +
 
 +
Alternatively, just prepend a space at the beginning of the line:
 +
<- here is a space at the beginning of the line.
 +
 
 +
For code that appears in the middle of a sentence, use <nowiki><code></nowiki> and <nowiki></code></nowiki> tags for formatting.
 +
 
 +
== Creating links ==
 +
 
 +
To link to another article in this wiki:
 +
{| class="wikitable"
 +
! This markup !! produces
 +
|-
 +
| <nowiki>Have a look at our [[new users]] section.</nowiki> || Have a look at our [[new users]] section.
 +
|-
 +
|}
 +
To link to another namespace, e.g. a category:
 +
{| class="wikitable"
 +
! This markup !! produces
 +
|-
 +
| <nowiki>Have a look at our [[:Category:Users]] section.</nowiki> || Have a look at our [[:Category:Users]] section.
 +
|-
 +
|}
 +
 
 +
== Creating tables ==
 +
 
 +
Make a sortable table. This input:
 +
<pre>
 +
{| class="wikitable sortable" border=1
 +
! col1 !! col2 !! col3
 +
|-
 +
| field1 || field2 || field3
 +
|-
 +
| ZZZ    || AAA    || MMM
 +
|}
 +
</pre>
 +
Produces:
 +
{| class="wikitable sortable" border=1
 +
! col1 !! col2 !! col3
 +
|-
 +
| field1 || field2 || field3
 +
|-
 +
| ZZZ    || AAA    || MMM
 +
|}
 +
 
 +
== Templates ==
 +
 
 +
Templates allow you to pre-define text and layout that can be included in other pages. Examples are notifications like "This site is a stub" or information boxes for applications that contain certain fields like "name" and "genre".
 +
Include a template ''demo'' like this:
 +
<pre>
 +
{{demo}}
 +
</pre>
 +
 
 +
== Further information ==
 +
 
 +
This wiki is powered by MediaWiki. The [http://www.mediawiki.org/wiki/Help:Formatting full formatting help] is therefore available on their website.
 +
 
 +
[[Category:Documentation]]
 +
[[Category:Wiki]]

Latest revision as of 13:31, 8 January 2012

This is a wiki. You can edit the articles. Just make sure to use the special syntax to properly format text, include links and so on.

Contents

[edit] Format text

[edit] Headings

To make headings:

This markup produces
== Header ==

[edit] Header

=== Sub-Header ===

[edit] Sub-Header

==== Sub-sub-Header ====

[edit] Sub-sub-Header

[edit] Font Face

To make bold or italic font:

This markup produces
This is ''italic'' and this is '''bold'''. This is italic and this is bold.

[edit] Lists

An asterisk "*" at the start of each line indicates an item in a bullet list:

  • One item
  • and another one

Create a numbered list by adding a hash sign "#" at the start of the line:

  1. First item
  2. Second item
  3. Third item

[edit] Code

To make clear text is meant as code or computer in/output use <pre> and </pre> tags to surround the text:

<pre>this is preformatted text</pre>

produces

this is preformatted text

Alternatively, just prepend a space at the beginning of the line:

<- here is a space at the beginning of the line.

For code that appears in the middle of a sentence, use <code> and </code> tags for formatting.

[edit] Creating links

To link to another article in this wiki:

This markup produces
Have a look at our [[new users]] section. Have a look at our new users section.

To link to another namespace, e.g. a category:

This markup produces
Have a look at our [[:Category:Users]] section. Have a look at our Category:Users section.

[edit] Creating tables

Make a sortable table. This input:

{| class="wikitable sortable" border=1
! col1 !! col2 !! col3
|-
| field1 || field2 || field3
|-
| ZZZ    || AAA    || MMM
|}

Produces:

col1 col2 col3
field1 field2 field3
ZZZ AAA MMM

[edit] Templates

Templates allow you to pre-define text and layout that can be included in other pages. Examples are notifications like "This site is a stub" or information boxes for applications that contain certain fields like "name" and "genre". Include a template demo like this:

{{demo}}

[edit] Further information

This wiki is powered by MediaWiki. The full formatting help is therefore available on their website.