Difference between revisions of "Help:Editing"

From Linuxintro
Line 41: Line 41:
 
to change the title that is displayed. See http://www.mediawiki.org/wiki/Help:Magic_words
 
to change the title that is displayed. See http://www.mediawiki.org/wiki/Help:Magic_words
  
= Creating tables =
+
You’re a real deep thinker. Thnkas for sharing.
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
 
|-
 
|}
 

Revision as of 19:06, 22 May 2011

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.

You've hit the ball out the park! Incerdible!

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

You’re a real deep thinker. Thnkas for sharing.