In TangoWiki Wiki-Code and HTML code can be used for text formatting. For the formatting special characters are available on the keyboard. Also, when in Edit mode, the Format bar can be used .
Formatting in edit mode with the formatting bar
TangoWiki offers in edit mode a new formatting bar, which makes formatting easier:
Bold, Italic, Signature, Link, Image, References, Advanced, Special characters, Help
Format text bold
Format text italic
Insert signature with time stamp (only use in Discussion pages, not in articles!)
Insert internal or external links
Insert image
Insert source (=reference)
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