DotAWiki:Beispielcode: Unterschied zwischen den Versionen

Aus DotAWiki
Zur Navigation springenZur Suche springen
(Die Seite wurde neu angelegt: You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki...)
 
 
Zeile 3: Zeile 3:
 
== Text formatting markup ==
 
== Text formatting markup ==
  
{| align="center" {{Prettytable}}
+
Kursiv: <nowiki>''italic''</nowiki> ''italic''
|-
+
 
|'''Description'''
+
Bold text <nowiki>'''bold'''</nowiki> '''bold'''
|'''You type'''
+
 
|'''You get'''
+
Bold and italic <nowiki>'''''bold & italic'''''</nowiki> '''''bold & italic'''''
|-
+
 
| colspan="3" align="center" | ''applies anywhere''
+
Escape wiki markup <nowiki><nowiki>no ''markup''</nowiki></nowiki> <nowiki>no ''markup''</nowiki>
|-
+
 
|Italic text
+
Headings of different sizes
|<tt><nowiki>''italic''</nowiki></tt>
+
 
|''italic''
+
*<nowiki>==level 1==</nowiki>
|-
 
| Bold text
 
|<tt><nowiki>'''bold'''</nowiki></tt>
 
|'''bold'''
 
|-
 
| Bold and italic
 
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
 
|'''''bold & italic'''''
 
|-
 
|Escape wiki markup
 
|<tt><nowiki><nowiki>no ''markup''</nowiki></nowiki></tt>
 
|<nowiki>no ''markup''</nowiki>
 
|-
 
| colspan="3" align="center" | ''only at the beginning of the line''
 
|-
 
|Headings of<br />
 
different sizes
 
|
 
<tt><nowiki>==level 1==</nowiki></tt><br />
 
<tt><nowiki>===level 2===</nowiki></tt><br />
 
<tt><nowiki>====level 3====</nowiki></tt><br />
 
<tt><nowiki>=====level 4=====</nowiki></tt>
 
|
 
 
==Level 1==
 
==Level 1==
 +
*<nowiki>===level 2===</nowiki>
 
===Level 2===
 
===Level 2===
 +
*<nowiki>====level 3====</nowiki>
 
====Level 3====
 
====Level 3====
 +
*<nowiki>=====level 4=====</nowiki>
 
=====Level 4=====
 
=====Level 4=====
|-
+
 
|Horizontal rule
+
Horizontal rule
|
+
<nowiki>----</nowiki></tt>
<tt><nowiki>----</nowiki></tt>
+
 
|
 
 
----
 
----
|-
+
 
|Bullet list
+
Bullet list
|
+
 
 
&#42; one<br>
 
&#42; one<br>
 
&#42; two<br>
 
&#42; two<br>
Zeile 55: Zeile 34:
 
&#42;&#42; three and one-third<br>
 
&#42;&#42; three and one-third<br>
 
&#42;&#42; three and two-thirds<br>
 
&#42;&#42; three and two-thirds<br>
|
+
 
 
* one
 
* one
 
* two
 
* two
Zeile 61: Zeile 40:
 
** three and one-third
 
** three and one-third
 
** three and two-thirds
 
** three and two-thirds
|-
+
 
|Numbered list
+
Numbered list
|
+
 
 
&#35; one<br />
 
&#35; one<br />
 
&#35; two<nowiki><br></nowiki>spanning several lines<nowiki><br></nowiki>without breaking the numbering<br />
 
&#35; two<nowiki><br></nowiki>spanning several lines<nowiki><br></nowiki>without breaking the numbering<br />
Zeile 69: Zeile 48:
 
&#35;&#35; three point one<br />
 
&#35;&#35; three point one<br />
 
&#35;&#35; three point two<br />
 
&#35;&#35; three point two<br />
|
+
 
 
# one
 
# one
 
# two<br>spanning several lines<br>without breaking the numbering
 
# two<br>spanning several lines<br>without breaking the numbering
Zeile 75: Zeile 54:
 
## three point one
 
## three point one
 
## three point two
 
## three point two
|-
+
 
| Mixture of bulleted<br /> and numbered lists
+
Mixture of bulleted<br /> and numbered lists
|
+
 
 
&#35; one<br />
 
&#35; one<br />
 
&#35; two<br />
 
&#35; two<br />
 
&#35;&#42; two point one<br />
 
&#35;&#42; two point one<br />
 
&#35;&#42; two point two<br />
 
&#35;&#42; two point two<br />
|
+
 
 
# one
 
# one
 
# two
 
# two
 
#* two point one
 
#* two point one
 
#* two point two
 
#* two point two
|-
+
 
|Definition list
+
Definition list
|
+
 
 
&#59;Definition<br />
 
&#59;Definition<br />
 
&#58;item 1<br />
 
&#58;item 1<br />
 
&#58;item 2<br />
 
&#58;item 2<br />
|
+
 
 
;Definition
 
;Definition
 
:item 1
 
:item 1
 
:item 2
 
:item 2
|-
+
 
 
|Preformatted text
 
|Preformatted text
 
|
 
|

Aktuelle Version vom 13. Januar 2008, 18:48 Uhr

You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like ''this''

Text formatting markup

Kursiv: ''italic'' italic

Bold text '''bold''' bold

Bold and italic '''''bold & italic''''' bold & italic

Escape wiki markup <nowiki>no ''markup''</nowiki> no ''markup''

Headings of different sizes

  • ==level 1==

Level 1

  • ===level 2===

Level 2

  • ====level 3====

Level 3

  • =====level 4=====
Level 4

Horizontal rule ----


Bullet list

* one
* two
* three
** three and one-third
** three and two-thirds

  • one
  • two
  • three
    • three and one-third
    • three and two-thirds

Numbered list

# one
# two<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two

  1. one
  2. two
    spanning several lines
    without breaking the numbering
  3. three
    1. three point one
    2. three point two
Mixture of bulleted
and numbered lists

# one
# two
#* two point one
#* two point two

  1. one
  2. two
    • two point one
    • two point two

Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2

|Preformatted text |   preformatted text is done with
  a space at the
  beginning of the line
|

preformatted text is done with
a space at the 
beginning of the line

|}