Difference between revisions of "Help:Contents"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 51: Line 51:
 
You include the article ''foo'' using the syntax
 
You include the article ''foo'' using the syntax
 
<pre>
 
<pre>
{{''foo''}}
+
{{foo}}
 
</pre>
 
</pre>
 
See http://en.wikipedia.org/wiki/Wikipedia:Transclusion
 
See http://en.wikipedia.org/wiki/Wikipedia:Transclusion

Revision as of 10:21, 22 May 2009

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.

Including text

You include the article foo using the syntax

{{foo}}

See http://en.wikipedia.org/wiki/Wikipedia:Transclusion

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