Difference between revisions of "Help:Editing"
From Linuxintro
imported>ThorstenStaerk (Undo revision 2673 by 142.22.16.50 (talk)) |
imported>ThorstenStaerk (Undo revision 2671 by 93.171.71.20 (talk)) |
||
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 = | |
+ | 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 07:03, 9 July 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.
Contents
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
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 |