Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201

Warning: Parameter 2 to Cite::checkRefsNoReferences() expected to be a reference, value given in /var/www/vhosts/tangowiki/includes/Hooks.php on line 201
Help:Text formatting/en - TangoWiki

Help:Text formatting/en

From Tangowiki
< Help:Text formatting
Revision as of 06:57, 3 April 2015 by FuzzyBot (Talk) (Importing a new version from external source)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
User manual edit TOC
Short instruction
Find and read articles
Important terms
Search for an article
User account
Registration/New user account
Preferences: User settings
Create new article
Sandbox on subpage
Cite a source & quotes
Style guide
Use forms
Create TJ page
Create milonga
Create venue
Create festival article
Add a song recording
Edit an article
Text formatting
Links
Add categories to article
Watchlist
Move (rename) a page
Images
Use templates
Message boxes
Note boxes
Guidelines
Collaborate
Discussion page
Translate a page
Get help
Expert manual

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

Fett.png Format text bold

Kursiv.png Format text italic

Signatur.png Insert signature with time stamp (only use in Discussion pages, not in articles!)

Link.png Insert internal or external links

Image.png Insert image

Referenz.png 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. Kursiv.png
bold text
'''bold'''

bold As an alternative, the formatting bar can also be used. Fett.png
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
  1. 1st line
  2. 2nd line
  3. 3rd line
    1. 3rd line, 1st sub point
    2. 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 class="quote">Quote</blockquote>
text
text

text text

Quote

text text

Info: The class "quote" is a CSS class that formats the blockquote. The blockquote tags can be used without the class, but should include it to ensure desired formatting.
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