Wikitext is the main markup language used to format content on FANDOM. It can be used to add photos, tables, bold styles, links, and many other visual changes.

It's not necessary to know wikitext in order to edit a page: you can use the new VisualEditor, or visual mode in the classic editor, to avoid it. However, users who learn it may appreciate the additional control they have over page content.

Wikitext can be used via 'source mode' in either editor. To access an article's wikitext:

  • Classic editor: click the 'Source' tab at the top right of the edit area.
  • VisualEditor: click the menu button towards the right side of the toolbar, and choose 'Source Editor'.

Below is an outline of basic wikitext that you can use while editing. Many of the options listed below have shortcut buttons in the editor toolbars.

Text formatting

Inline wikitext: code you can use anywhere in the code
Description You type You get
Italicise text ''italic'' italic
Bold text '''bold''' bold
Bold and italic '''''bold & italic''''' bold & italic
Internal link
(within a wiki)

[[Help:Contents|Displayed text]]

Displayed text
Redirect to another page #REDIRECT [[Help:Contents]] Redirectltr.png Help:Contents
External link
(to other websites)

[ displayed text]


displayed text

Sign your posts
on talk pages
~~~~ (4 tildes) Your username 17:48,

15 March 2018 (UTC)

Insert the current date and time (UTC). Generally only used on talk pages. ~~~~~ (5 tildes) 17:48, 15 March 2018 (UTC)
Display wikitext code as typed <nowiki>[[This is not a link]]</nowiki> [[This is not a link]]
Code that works only at the start of a line
Description You type You get

A Table of Contents will automatically be generated when four headings are added to an article.

==Level 2==
===Level 3===
====Level 4====
=====Level 5=====
======Level 6======

Level 2
Level 3
Level 4
Level 5
Level 6
Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

##Two point one

  1. One
  2. Two
    1. Two point one
  3. Three
Preformatted text with working links

_Color Text (note space at start)

Color Text
Preformatted text that shows underlying wikitext

<pre>[[Color]] Text</pre>

[[Color]] Text

Image formatting

Description You type You get
Image [[File:SeaOtter.png]] SeaOtter
Sized image [[File:SeaOtter.png|100px]] SeaOtter
Thumbnail image [[File:SeaOtter.png|thumb|Caption text]]

Caption text

Aligned image

[[File:SeaOtter.png|thumb|100px|left]] [[File:SeaOtter.png|thumb|100px|center]] [[File:SeaOtter.png|thumb|100px|right]]

Linked image [[File:SeaOtter.png|link=Help:Contents]] SeaOtter
Changed alt text [[File:SeaOtter.png|alt=A sea otter|]] A sea otter

Further wikitext examples

For more complex content that is sometimes more easily managed with wikitext editing, see:

See also

Further help and feedback