Latest Posts

Changes in WikiSyntax

Revision Differences of Revision 32

[TOC] ¶

This Website uses a special syntax to render headlines, links, italic emphasis, table of contents and so on. Below you'll find the expressions to create such things. The syntax can be used in Wiki articles as well as in the forums. If you search for available smileys you find them in [Forum Help](https://wl.widelands.org/wiki/ForumHelp/#smileys) ¶

## Headlines ¶

### Code: ¶
~~~~~~~~~~~~~~~ ¶
# Main Topic ¶
## Sub Topic ¶
### Sub Sub Topic ¶
~~~~~~~~~~~~~~~ ¶

You may add more # for smaller headlines. ¶

## Paragraphs ¶

### Code: ¶
~~~~~~~~~~~~ ¶
This is a simple paragraph. ¶
It continues on this line. ¶

This is a new paragraph. ¶
To get a linebreak inside a paragraph ¶
end the line with two spaces. ¶
~~~~~~~~~~~~ ¶

### Rendered: ¶
This is a simple paragraph. ¶
It continues on this line. ¶

This is a new paragraph. ¶
To get a linebreak inside a paragraph ¶
end the line with two spaces. ¶


## Emphasis ¶

### Code: ¶
~~~~~~ ¶
*This is italic.* _This too._ ¶

**This is bold.** __This too.__ ¶

***This is bold and italic.*** ___This too.___ ¶
~~~~~~ ¶

### Rendered: ¶
*This is italic.* _This too._ ¶

**This is bold.** __This too.__ ¶

***This is bold and italic.*** ___This too.___ ¶


## Lists ¶

### Code: ¶
~~~~ ¶
* Bulleted list ¶
* Can also be nested ¶
* Use 4 space characters for every indention level. ¶
- You can also use hyphens. ¶
- Item 3 ¶

~~~~ ¶

### Rendered: ¶
* Bulleted list ¶
* Can also be nested ¶
* Use 4 space characters for every indention level. ¶
- You can also use hyphens. ¶
- Item 3 ¶

If you have a headline for your list, make sure to have two line breaks between headline and list. To end the list, you also use line breaks. ¶


## Links ¶

### Code: ¶
~~~~ ¶
This is an [external link](https://launchpad.net/widelands). ¶

This is an internal link to the WikiSyntax page. This is also a link to [Description of Wikisyntax](wiki/WikiSyntax) ¶

This is a link to the header in the same article [link to header "Links" in this article](#links). ¶
This a link to a header in an other aricle [Link to header /wiki/Main Page/#contents](/wiki/Main Page/#contents) ¶

To get the string, you have to create a table of contents (see below) and click on the paragraph's name. ¶
~~~~ ¶

### Rendered: ¶
This is an [external link](https://launchpad.net/widelands). ¶

This is an internal link to the WikiSyntax page. This is also a link to [Description of Wikisyntax](wiki/WikiSyntax) ¶

This is a link to the header in the same article [link to header "Links" in this article](#links). ¶
This a link to a header in an other aricle [Link to header /wiki/Main Page/#contents](/wiki/Main Page/#contents) ¶


##Images ¶

### Code: ¶
This includes an image: ¶

~~~~ ¶
![Widelands Logo](/wlmedia/img/Logo.png) ¶

This includes an image with tooltip (stay with mouse over the image): ¶
![Widelands Logo](/wlmedia/img/Logo.png "The widelands logo") ¶

This includes a clickable image: ¶
[![barbarians.png](/wlmedia//wlimages/Barbarians.png)](http://wl.widelands.org/wlmedia/news/uploaded/Barbarians.pdf) ¶

~~~~ ¶

### Rendered: ¶

This includes an image: ¶
![Widelands Logo](/wlmedia/img/Logo.png) ¶

This includes an image with tooltip (stay with mouse over the image): ¶
![Widelands Logo](/wlmedia/img/Logo.png "The widelands logo") ¶


This includes a clickable image: ¶
[![barbarians.png](/wlmedia//wlimages/Barbarians.png)](http://wl.widelands.org/wlmedia/news/uploaded/Barbarians.pdf) ¶


## Tables ¶

### Code: ¶

~~~~~ ¶
Header 1 | Header 2 | Alignment right | Alignment center ¶
-------- | -------- | -------------- :|: ------------- : ¶
Value 1 | Value 2 | right | centered ¶
Value 3 | Value 4 | right | centered ¶
Value 5 | Value 6 | right | centered ¶
~~~~~ ¶

### Rendered: ¶

Header 1 | Header 2 | Alignment right | Alignment center ¶
------- | -------- | -----------:|: -------- : ¶
Value 1 | Value 2 | right | centered ¶
Value 3 | Value 4 | right | centered ¶
Value 5 | Value 6 | right | centered ¶

If you have a headline before your table, make sure to have two line breaks between headline and list. To end the table, you also use line breaks. ¶

## Table of Contents ¶
### Code: ¶
~~~~~~~~ ¶
[TOC] ¶
~~~~~~~~ ¶

### Rendered: ¶

Note that there must be two line breaks after `[ TOC ]`. ¶
All Headlines (#) will be listed in the table of contents. ¶


## Footnotes ¶

### Code: ¶
~~~~~ ¶
Footnotes[^1] have a label[^label] and a definition[^!DEF]. ¶

[^1]: This is a footnote ¶
[^label]: A footnote on "label" ¶
[^!DEF]: The definition of a footnote. ¶
~~~~~ ¶

### Rendered: ¶
Footnotes[^1] have a label[^label] and a definition[^!DEF]. ¶

[^1]: This is a footnote ¶
[^label]: A footnote on "label" ¶
[^!DEF]: The definition of a footnote. ¶