Help:Syntax

From UIT
Revision as of 12:25, 7 February 2012 by Admin eda (Talk | contribs)
Jump to: navigation, search

Contents

Access Control

Write Access

All pages are only editable with a granted Novell Account. See here a list of all users.

Read Access

All pages are by default visible by everybody. Is you want to restrict a page to registered users only, add the following line at the begin of the page.

This line is automatically added if a new page is created.

Formatting

| bold & italic |- | Escape wiki markup

|
<nowiki>no ''markup''</nowiki>

| no ''markup'' |- | Escape wiki markup once

|
[[API]]<nowiki/>extension

| APIextension |- ! colspan="3" style="background:#ABE" | section formatting – only at the beginning of the line |- | Headings of different levels

|

== Level 2 ==

=== Level 3 ===

==== Level 4 ====

===== Level 5 =====

====== Level 6 ======


Template:Note |

Level 2

Level 3

Level 4

Level 5
Level 6

|- | Horizontal rule

|
Text above
----
Text below

| Text above


Text below |- | Bullet list |

* Start each line
* with an [[Wikipedia:asterisk|asterisk]] (*).
** More asterisks gives deeper
*** and deeper levels.
* Line breaks<br/>don't break levels.
*** But jumping levels creates empty space.
Any other start ends the list.

|

  • Start each line
  • with an asterisk (*).
    • More asterisks gives deeper
      • and deeper levels.
  • Line breaks
    don't break levels.
      • But jumping levels creates empty space.

Any other start ends the list. |- | Numbered list |

# Start each line
# with a [[Wikipedia:Number_sign|number sign]] (#).
## More number signs gives deeper
### and deeper
### levels.
# Line breaks<br/>don't break levels.
### But jumping levels creates empty space.
# Blank lines

# end the list and start another.
Any other start also
ends the list.

|

  1. Start each line
  2. with a number sign (#).
    1. More number signs gives deeper
      1. and deeper
      2. levels.
  3. Line breaks
    don't break levels.
      1. But jumping levels creates empty space.
  4. Blank lines
  1. end the list and start another.

Any other start also ends the list. |- | Definition list

|
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2

|

item 1
definition 1
item 2
definition 2-1
definition 2-2

|- | Indent text

|
: Single indent
:: Double indent
::::: Multiple indent

Template:Note |

Single indent
Double indent
Multiple indent

|- | Mixture of different types of list |

# one
# two
#* two point one
#* two point two
# three
#; three item one
#: three def one
# four
#: four def one
#: this looks like a continuation
#: and is often used
#: instead<br/>of <nowiki><br/></nowiki>
# five
## five sub 1
### five sub 1 sub 1
## five sub 2

Template:Note |

  1. one
  2. two
    • two point one
    • two point two
  3. three
    three item one
    three def one
  4. four
    four def one
    this looks like a continuation
    and is often used
    instead
    of <br/>
  5. five
    1. five sub 1
      1. five sub 1 sub 1
    2. five sub 2Template:Anchor

|- | Preformatted text

|
 Start each line with a space.
 Text is '''preformatted''' and
 ''markups'' '''''can''''' be done.

Template:Note |

Start each line with a space.
Text is preformatted and
markups can be done.

|- | Preformatted text blocks

|
 <nowiki>Start with a space in the first column,
(before the <nowiki>).

Then your block format will be
    maintained.
 
This is good for copying in code blocks:

def function():
    """documentation string"""

    if True:
        print True
    else:
        print False</nowiki>

|

Start with a space in the first column,
(before the <nowiki>).

Then your block format will be
    maintained.

This is good for copying in code blocks:

def function():
    """documentation string"""

    if True:
        print True
    else:
        print False

|}


Headings

= Heading 1 =
== Heading 2 ==
=== Heading 3 ===
==== Heading 4 ====
===== Heading 5 =====
====== Heading 6 ======

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Bold & Italic

'''This is a Bold text'''

This is a Bold text

''This is an Italic text''

This is an Italic text

'''''bold & italic'''''

bold & italic


Code

<pre>
Code formatted style here

</pre>

Code formatted style here

No Wiki Markup

Text without wiki markup

Tables

{| <table> Tabellenanfang
|+   Tabellenüberschrift, optional; nur einmal pro Tabelle zwischen Tabellenanfang und erster Zeile definierbar
|- <tr> neue Tabellenzeile
! <th> Tabellenkopfzelle, optional. Aufeinanderfolgende Kopfzellen können, durch doppelte Ausrufezeichen (!!) getrennt, in der gleichen Zeile folgen oder mit einfachen Ausrufezeichen (!) auf einer neuen Zeile beginnen.
| <td> Tabellenzelle, Pflicht! Aufeinanderfolgende Zellen können, durch doppelte Striche (||) getrennt, in der gleichen Zeile folgen oder mit einfachem Strich (|) auf einer neuen Zeile beginnen.
|} </table> Tabellenende

Links

Internal Links


External Links


File Links


Images



Table of Content

To put the Table of Content (TOC) that the right side of the page write the following at the beginning of a page

{{TOC right}}

Categories

In order to put a page into a Category add the following line at the end of the page:

[[Category:Category name]]


To see a list of all available Categories see here.

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox