Help:Syntax

(Difference between revisions)
Jump to: navigation, search
m (Bold & Italic)
m
Line 10: Line 10:
  
 
== Formatting ==
 
== Formatting ==
 +
=== Headings ===
 +
<pre>
 +
= Heading 1 =
 +
== Heading 2 ==
 +
=== Heading 3 ===
 +
==== Heading 4 ====
 +
===== Heading 5 =====
 +
====== Heading 6 ======
 +
</pre>
  
|
+
= Heading 1 =
'''''bold & italic'''''
+
== Heading 2 ==
|-
+
=== Heading 3 ===
| Escape wiki markup
+
==== Heading 4 ====
| <pre>
+
===== Heading 5 =====
&lt;nowiki>no ''markup''</nowiki&gt;
+
====== Heading 6 ======
 +
 
 +
=== Bold & Italic ===
 +
<pre>
 +
'''This is a bold text'''
 
</pre>
 
</pre>
|
+
'''This is a bold text'''
<nowiki>no ''markup''</nowiki>
+
<pre>
|-
+
''This is an italic text''
| Escape wiki markup once
+
| <pre>
+
[[API]]&lt;nowiki/>extension
+
 
</pre>
 
</pre>
|
+
''This is an italic text''
[[API]]<nowiki/>extension
+
<pre>
|-
+
'''''This is a bold & italic text'''''
! colspan="3" style="background:#ABE" | section formatting – ''only at the beginning of the line''
+
</pre>
|-
+
'''''This is a bold & italic text'''''
| Headings of different levels
+
| <pre>
+
  
== Level 2 ==
+
=== Code ===
 +
<pre>
 +
<pre>
 +
Code formatted style here
 +
</pre>
 +
</pre>
  
=== Level 3 ===
+
<pre>
 
+
Code formatted style here
==== Level 4 ====
+
</pre>
 
+
===== Level 5 =====
+
 
+
====== Level 6 ======
+
  
 +
=== No Wiki Markup ===
 +
<pre>
 +
<nowiki>Text without wiki markup</nowiki>
 
</pre>
 
</pre>
----
 
{{note|
 
* [[Help_talk:Formatting#Level_1|Skip Level 1]], it is page name level.
 
* An article with 4 or more headings automatically creates a [[wikipedia:Wikipedia:Section#Table of contents (TOC)|table of contents]].
 
}}
 
|
 
  
== Level 2 ==
 
  
=== Level 3 ===
+
=== Horizontal rule ===
 
+
<pre>
==== Level 4 ====
+
 
+
===== Level 5 =====
+
 
+
====== Level 6 ======
+
 
+
|-
+
| Horizontal rule
+
| <pre>
+
Text above
+
 
----
 
----
Text below
 
 
</pre>
 
</pre>
|
 
Text above
 
 
----
 
----
Text below
+
 
|-
+
=== Lists ===
| Bullet list
+
==== Bullet list ====
|
+
 
<pre>
 
<pre>
 
* Start each line
 
* Start each line
Line 84: Line 75:
 
Any other start ends the list.
 
Any other start ends the list.
 
</pre>
 
</pre>
|
+
 
 
* Start each line
 
* Start each line
 
* with an [[Wikipedia:asterisk|asterisk]] (*).
 
* with an [[Wikipedia:asterisk|asterisk]] (*).
Line 92: Line 83:
 
*** But jumping levels creates empty space.
 
*** But jumping levels creates empty space.
 
Any other start ends the list.
 
Any other start ends the list.
|-
+
 
| Numbered list
+
==== Numbered list ====
|
+
 
<pre>
 
<pre>
 
# Start each line
 
# Start each line
Line 109: Line 99:
 
ends the list.
 
ends the list.
 
</pre>
 
</pre>
|
+
 
 
# Start each line
 
# Start each line
 
# with a [[Wikipedia:Number_sign|number sign]] (#).
 
# with a [[Wikipedia:Number_sign|number sign]] (#).
Line 122: Line 112:
 
Any other start also
 
Any other start also
 
ends the list.
 
ends the list.
|-
+
 
| Definition list
+
==== Indent text ====
| <pre>
+
<pre>
;item 1
+
: definition 1
+
;item 2
+
: definition 2-1
+
: definition 2-2
+
</pre>
+
|
+
;item 1
+
: definition 1
+
;item 2
+
: definition 2-1
+
: definition 2-2
+
|-
+
| Indent text
+
| <pre>
+
 
: Single indent
 
: Single indent
 
:: Double indent
 
:: Double indent
 
::::: Multiple indent
 
::::: Multiple indent
 
</pre>
 
</pre>
----
+
 
{{Note|This workaround may be controversial from the viewpoint of accessibility.}}
+
|
+
 
: Single indent
 
: Single indent
 
:: Double indent
 
:: Double indent
 
::::: Multiple indent
 
::::: Multiple indent
|-
 
| Mixture of different types of list
 
|
 
<pre>
 
# 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 &lt;nowiki><br/>&lt;/nowiki>
 
# five
 
## five sub 1
 
### five sub 1 sub 1
 
## five sub 2
 
</pre>
 
----
 
{{note|The usage of <code>#:</code> and <code>*:</code> for breaking a line within an item may also be controversial.}}
 
|
 
# 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{{anchor|pre}}
 
|-
 
| Preformatted text
 
| <pre>
 
Start each line with a space.
 
Text is '''preformatted''' and
 
''markups'' '''''can''''' be done.
 
</pre>
 
----
 
{{note|This way of preformatting only applies to section formatting. Character formatting markups are still effective.}}
 
|
 
Start each line with a space.
 
Text is '''preformatted''' and
 
''markups'' '''''can''''' be done.
 
|-
 
| Preformatted text blocks
 
| <pre> <nowiki><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></nowiki>
 
</pre>
 
|
 
<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>
 
|}
 
 
 
=== Headings ===
 
<pre>
 
= Heading 1 =
 
== Heading 2 ==
 
=== Heading 3 ===
 
==== Heading 4 ====
 
===== Heading 5 =====
 
====== Heading 6 ======
 
</pre>
 
 
= Heading 1 =
 
== Heading 2 ==
 
=== Heading 3 ===
 
==== Heading 4 ====
 
===== Heading 5 =====
 
====== Heading 6 ======
 
 
=== Bold & Italic ===
 
<pre>
 
'''This is a bold text'''
 
</pre>
 
'''This is a bold text'''
 
<pre>
 
''This is an italic text''
 
</pre>
 
''This is an italic text''
 
<pre>
 
'''''This is a bold & italic text'''''
 
</pre>
 
'''''This is a bold & italic text'''''
 
 
=== Code ===
 
<pre>
 
<pre>
 
Code formatted style here
 
</pre>
 
</pre>
 
 
<pre>
 
Code formatted style here
 
</pre>
 
 
=== No Wiki Markup ===
 
<pre>
 
<nowiki>Text without wiki markup</nowiki>
 
</pre>
 
  
 
== Tables ==
 
== Tables ==

Revision as of 12:30, 7 February 2012

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

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

'''''This is a bold & italic text'''''

This is a bold & italic text

Code

<pre>
Code formatted style here

</pre>

Code formatted style here

No Wiki Markup

Text without wiki markup


Horizontal rule

----

Lists

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.

Indent text

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

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