Difference between revisions of "Introduction to MediaWiki syntax"
Line 80: | Line 80: | ||
=== referencing uploaded files === | === referencing uploaded files === | ||
{| border="0" cellpacing="5" cellpadding="5" | {| border="0" cellpacing="5" cellpadding="5" | ||
− | |<nowiki>[[ | + | |<nowiki>[[Media:Beispiel-pdf.pdf|example PDF]]</nowiki> |
− | |[[ | + | |[[Media:Beispiel-pdf.pdf|example PDF]] |
|- | |- | ||
|<nowiki>[[Image:nesevo_wiki_logo.png|NesevoWiki Logo]]</nowiki> | |<nowiki>[[Image:nesevo_wiki_logo.png|NesevoWiki Logo]]</nowiki> |
Latest revision as of 14:27, 16 February 2008
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
- Topic 1
- Topic 1.1
- Topic 2
- Topic 2.1
- 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]] | |
[[Image:nesevo_wiki_logo.png|framed|NesevoWiki Logo]] | |
[[Image:nesevo_wiki_logo.png|thumb|100px|NesevoWiki Logo]] |
Tables
- Using html formatting:
{| cellpadding="2" cellspacing="3" border="1" |cell 1 |
is rendered into: |
|
- Using the Prettytable template:
{| {{Prettytable}} |cell 1 |
is rendered into: |
|