MediaWiki cheat sheet: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= 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 = <pre> '' This is italic'' '''This is...") |
|||
Line 99: | Line 99: | ||
This is text | This is text | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= Source code = | = Source code = |
Revision as of 12:30, 12 June 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]
Link within the wiki
[[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!"