Cheatsheet - MediaWiki (2024)

Table of Contents
Level 1 Level 2 1. one 2. two 3. three

Wikis use symbols such as asterisks, single-quotes, square-brackets and braces to represent formatting elements like making words into links to other sites or articles, or creating tables for layout and dividing the text into headings. This kind of text markup used in the MediaWiki (Wikipedia) project is called wikitext.

Below is a table of the most commonly used wikitext formatting, the middle column is what you type into the article in "edit mode" (after clicking the edit link at the top of the page), and the right-hand column shows what the result would be when viewing the article normally. For more detailed information about editing and wikitext, see Help:Wikitext.

DescriptionYou typeYou get
Applies anywhere
Italicise text

''italic''

italic

Bold text

'''bold'''

bold

Bold and italic

'''''bold & italic'''''

bold & italic

Internal link

(within this wiki)

Internal link
(to a category)

Interwiki Link
(to partner wiki)

[[name of page]]
[[name of page|display text]]

[[:Category:name of category]]

[[w:name of article]]
[[wiki:name of article]]
[[wiki:name of article|display text]]

Note: red links mean
the page doesn't exist yet

External link

(to other websites)

[http://www.example.com]
[http://www.example.com display text]
http://www.example.com
[mailto:jane@example.com Jane's email]

[1]
display text
http://www.example.com
Janes's email

Redirect

#redirect [[Target page]]

1. redirect Target page

Signature

~~~
~~~~
~~~~~

J.Doe
J.Doe 05:22, 1 April 2024
05:22, 1 April 2024

Escape wiki markup

with ''markup''
<nowiki>without ''markup''</nowiki>

with markup
without ''markup''

Applies only at the beginning of the line
Headings

of different sizes

== level 1 ==
=== level 2 ===
==== level 3 ====
===== level 4 =====

Tip: put __NOTOC__ in an article
to remove its table-of-contents

Level 1

Level 2

Level 3

Level 4
Outline Numbered
Headings

# one
# two
## two point one
# three

1. one

2. two

2.1 two point one

3. three

Bullet list

* one
* two
** two point one
* three

  • one
  • two
    • two point one
  • three
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
Thumbnail image

[[File:Example.jpg|thumb|Caption text]]

Cheatsheet - MediaWiki (1)
Cheatsheet - MediaWiki (2024)
Top Articles
Latest Posts
Article information

Author: Arline Emard IV

Last Updated:

Views: 5894

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Arline Emard IV

Birthday: 1996-07-10

Address: 8912 Hintz Shore, West Louie, AZ 69363-0747

Phone: +13454700762376

Job: Administration Technician

Hobby: Paintball, Horseback riding, Cycling, Running, Macrame, Playing musical instruments, Soapmaking

Introduction: My name is Arline Emard IV, I am a cheerful, gorgeous, colorful, joyous, excited, super, inquisitive person who loves writing and wants to share my knowledge and understanding with you.