MediaWiki cheat sheet

From MediaWiki
Revision as of 13:53, 20 October 2025 by Bfh-sts (talk | contribs) (Created page with "= Cheat Sheet for the Mediawiki = = Overview = A list of commonly used MediaWiki formats. = Tips = To create a newline, you need to press Enter twice: <pre> This must be on a new line </pre> This must be on a new line <pre> This must be on a new line </pre> This must be on a new line = Lists = <pre> * One ** Two *** Three </pre> One ** Two *** Three <pre> # One # Two ## Two.one ### Two.one.one </pre> One Two Two.one Two.one.one = Bold and italic = <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cheat Sheet for the Mediawiki

Overview

A list of commonly used MediaWiki formats.

Tips

To create a newline, you need to press Enter twice:

This must
be on a new line

This must be on a new line

This must

be on a new line

This must

be on a new line

Lists

* One
** Two
*** Three
   One
   ** Two
   *** Three
# One
# Two
## Two.one
### Two.one.one

One Two Two.one Two.one.one

Bold and italic

'' This is italic''
'''This is bold'''
'''''This is bold and italic'''''

This is italic

This is bold

This is bold and italic

Headings

= One =
== Two ==
=== Three ===
==== Four ====

One

Two

Three

Four

Links

Link:

https://www.stepping-stone.ch/en/

https://www.stepping-stone.ch/en/

Cool link:

[https://www.stepping-stone.ch/en/ Homepage]

Homepage

Link within the wiki

[[Main_Page | Main Page]]

Main Page

Text blocks

<syntaxhighlight lang="text">
This is text
</syntaxhighlight>
This is text

Source code

<syntaxhighlight lang="bash">
#!/bin/bash

echo "Hello world!"
</syntaxhighlight>
#!/bin/bash

echo "Hello world!"

Create tabs within a page

<tabber>
|-|OpenStack CLI=
<syntaxhighlight lang='bash'>
openstack server show ${server_id}
</syntaxhighlight>
|-|OpenStack Dashboard=
gugus (dashboard)


[[File:Debian VM Creation Dashboard manual 01.png|400px]]
|-|OpenTofu=
gugus (tofutofu)
</tabber>

This results in:

openstack server show ${server_id}

gugus (tofutofu)