Difference between revisions of "Help:Editing"
From Linuxintro
imported>ThorstenStaerk (Undo revision 2725 by 67.222.240.53 (talk)) |
imported>ThorstenStaerk |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | 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: | ||
+ | {| border=1 | ||
+ | ! 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: | ||
+ | {| border=1 | ||
+ | ! This markup !! produces | ||
+ | |- | ||
+ | | <nowiki>This is ''italic'' and this is '''bold'''.</nowiki> || 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: | ||
+ | {| border=1 | ||
+ | ! This markup !! produces | ||
+ | |- | ||
+ | | <nowiki>Have a look at our [[application]] section.</nowiki> || Have a look at our [[applications]] section. | ||
+ | |- | ||
+ | |} | ||
+ | To link to another namespace, e.g. a category: | ||
+ | {| border=1 | ||
+ | ! This markup !! produces | ||
+ | |- | ||
+ | | <nowiki>Have a look at our [[:Category:Guides]] section.</nowiki> || Have a look at our [[:Category:Guides]] section. | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | = Magic words = | ||
+ | Magic words are for example | ||
+ | <nowiki>__TOC__</nowiki> | ||
+ | to insert the table of content. And | ||
+ | <nowiki>{{</nowiki>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: | ||
+ | <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 | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | [http://www.mediawiki.org/wiki/Help:Tables => Complete table reference <=] |
Latest revision as of 09:58, 16 June 2012
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.
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 |