MediaWiki cheat sheet: Difference between revisions

From MediaWiki
Jump to navigation Jump to search
(Undo revision 541 by Sst-ska (talk))
Tag: Undo
 
Line 43: Line 43:
Two.one.one
Two.one.one


===Test===
# hello
# hello
# hello


= Bold and italic =
= Bold and italic =

Latest revision as of 11:36, 10 July 2024

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 (dashboard)


Debian VM Creation Dashboard manual 01.png

gugus (tofutofu)