Help:Editing

From Linuxintro

This is a wiki. This means, depending on your priviledges, you can edit articles. You can use a special syntax to format text, include links and so on.

Format text

Headings

To make headings:

This markup produces
= Header =

Header

== Sub-Header ==

Sub-Header

=== Sub-sub-Header ===

Sub-sub-Header

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.

Code

To make clear text is meant as code or computer in/output just prepend a space at the beginning of the line:

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

Creating links

To link to another article in this wiki:

This markup produces
Have a look at our [[application]] section. Have a look at our applications section.

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

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

Magic words

Magic words are for example

__TOC__

to insert the table of content. And

{{DISPLAYTITLE:title}}

to change the title that is displayed. See http://www.mediawiki.org/wiki/Help:Magic_words

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

=> Complete table reference <=