Introduction to MediaWiki syntax

From NesevoWiki
Jump to: navigation, search

Headings

== Level 1 ==
=== Level 2 ===
==== Level 3 ====
===== Level 4 =====

Basic Formatting

Bold and italic

''italic text'' → italic text

'''bold text''' → bold text

'''''bold and italic text''''' → bold and italic text

monospaced type

<code>monospaced type</code> is rendered into
monospaced type

Or: framed monospaced type through leading space:

monospaced type

misc

<br/> → forced linebreak

<nowiki></nowiki> → Ignoring the WikiEngine

Listings

unnumbered

* Topic 1
** Topic 1.1
* Topic 2
** Topic 2.1
** Topic 2.2

is rendered into

  • Topic 1
    • Topic 1.1
  • Topic 2
    • Topic 2.1
    • Topic 2.2

numbered

# Topic 1
## Topic 1.1
# Topic 2
## Topic 2.1
## Topic 2.2

is rendered into

  1. Topic 1
    1. Topic 1.1
  2. Topic 2
    1. Topic 2.1
    2. Topic 2.2

Link

internal links

[[internal link]] → internal link
[[internal link | This is an internal link]] → This is an internal link

external links

http://www.externallink.com/ → http://www.externallink.com/
[http://www.externallink.com/] → [1]
[http://www.externallink.com/ This is an external link] → This is an external link

referencing uploaded files

[[Media:Beispiel-pdf.pdf|example PDF]] example PDF
[[Image:nesevo_wiki_logo.png|NesevoWiki Logo]] NesevoWiki Logo
[[Image:nesevo_wiki_logo.png|framed|NesevoWiki Logo]]
NesevoWiki Logo
[[Image:nesevo_wiki_logo.png|thumb|100px|NesevoWiki Logo]]
NesevoWiki Logo

Tables

  • Using html formatting:
{| cellpadding="2" cellspacing="3" border="1"

|cell 1
|cell 2
|-
|cell 3
|cell 4
|-
|cell 5
|cell 6
|}

is rendered into:
cell 1 cell 2
cell 3 cell 4
cell 5 cell 6
{| {{Prettytable}}

|cell 1
|cell 2
|-
|cell 3
|cell 4
|-
|cell 5
|cell 6
|}

is rendered into:
cell 1 cell 2
cell 3 cell 4
cell 5 cell 6