Im TangoWiki können Texte mit Wiki-Code und HTML-Code formatiert werden. Für die Formatierung stehen Sonderzeichen der Tastatur zur Verfügung, außerdem kann im Bearbeitungsmodus die Formatierungsleiste verwendet werden.
Formatierung im Bearbeitungsmodus mit der Formatierungsleiste
Das TangoWiki bietet im Bearbeitungsmodus eine neue Formatierungsleiste, die das Formatieren einfacher macht:
Fett, kursiv, Signatur, Link, Image, Quellenangabe, Erweitert, Sonderzeichen, Hilfe
Text fett formatieren
Text kursiv formatieren
Signatur mit Zeitstempel einfügen (nur in Diskussionsseiten verwenden, nicht in Artikeln!)
Internen oder externen Link einfügen
Bild einfügen
Quellennachweis einfügen (=Referenz)
In "Advanced" headings and lists, nowiki-code etc. can be inserted. The automatic creation of a table is particularly helpful.
Formatting with Wiki code
Description
|
Wiki code
|
Output
|
Notes
|
Headings
|
= Level 1 =
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======
|
|
Do not use Level 1, since this heading level is already reserved for the page (name of the page) itself. From 4 headings on, a table of contents is automatically created.
|
Paragraphs
|
To begin a new paragraph, an empty row must be inserted. (2x Enter) (MediaWiki ignores paragraphs at the end of a row).
|
Paragraph New paragraph.
|
Tip for administrators: It is possible to force a line break with HTML-Code: <br />
|
italic text
|
''italic''
|
italic
|
As an alternative, the formatting bar can also be used.
|
bold text
|
'''bold'''
|
bold
|
As an alternative, the formatting bar can also be used.
|
bold and italic
|
'''''bold and italic'''''
|
bold and italic
|
|
unordered list
|
* 1st line
* 2nd line
* 3rd line
** 3rd line, 1st sub point
** 3rd line, 2nd sub point
|
- 1st line
- 2nd line
- 3rd line
- 3rd line, 1st sub point
- 3rd line, 2nd sub point
|
|
ordered list
|
# 1st line
# 2nd line
# 3rd line
## 3rd line, 1st sub point
## 3rd line, 2nd sub point
|
- 1st line
- 2nd line
- 3rd line
- 3rd line, 1st sub point
- 3rd line, 2nd sub point
|
|
Definition list
|
;Definition
:Description 1
:Description 2
|
- Definition
- Description 1
- Description 2
|
|
Suppressing Wiki markup
|
<nowiki>no ''Markup''</nowiki>
|
no ''Markup''
|
|
Pre-formatted text
|
a space
at the beginning of a line
creates this
text field
|
a space
at the beginning of a line
creates this
text field
|
Usage: For indenting and framing text parts. Text will be shown smaller than normal.
|
Pre-formatted text block
|
<nowiki>
A space before the tag <nowiki> shows
the text exactly how it was typed.
Ideal for code blocks:
void power (double d) {
return d * d;
}
</nowiki>
|
A space before the tag <nowiki> shows
the text exactly how it was typed.
Ideal for code blocks:
void power (double d) {
return d * d;
}
|
Usage: For description of Wiki codes, like in this overview.
|
Formatting with HTML code
In MediaWiki some HTML tags are allowed. For example <code>
, <div>
, <span>
und <font>
.
More infos on the help pages of MediaWiki.org.
Description
|
Wiki code
|
Output
|
Notes
|
Quotation
|
text
text
<blockquote>Quote</blockquote>
text
text
|
text
text
Quote
text
text
|
|
Comment
|
<!-- This is a comment -->
Comments can only be seen in editing mode (source code).
|
Comments can only be seen in editing mode (source code).
|
Comments can also be used to hide certain text parts, i.e. to not delete, but only not show those parts. For this, wrap the comment code around the text to be hidden.
|
Pre-formatted text
|
<pre>The text is already '''formatted''' and
''Wiki code'' won't have any affect.</pre>
|
The text is already '''formatted''' and
''Wiki code'' won't have any affect.
|
Corresponds to <nowiki>...</nowiki> . Style information can be added to the code <pre> .
|
Weblinks