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 VisualEditor or source 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 editor in either editor. To access an article's wikitext:
- VisualEditor: click "VisualEditor" in the top middle, above the edit bar, which will open a menu where you can select "Source editing".
- Before editing, you can go right to source mode by clicking the arrow next to the edit button, and clicking "edit source" from the drop-down menu.
On both platforms, you can also choose your preferred editor in preferences, and it will open by default when you click the edit button.
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
Description | You type | You get |
---|---|---|
Italicize text | ''italic''
|
italic |
Bold text | '''bold'''
|
bold |
Bold and italic | '''''bold & italic'''''
|
bold & italic |
Strikethrough | <s>strikethrough</s>
|
|
Internal link (within a wiki) |
[[Help:Contents]]
|
Help:Contents Displayed text |
Redirect to another page | #REDIRECT [[Help:Contents]]
|
![]() |
External link (to other websites) |
[https://www.example.org]
|
[1] |
Sign your posts on talk pages (username only) | ~~~
|
Your username |
Sign your posts on talk pages |
~~~~ (4 tildes)
|
Your username 02:20, 28 January 2021 (UTC) |
Insert the current date and time (UTC). Generally only used on talk pages. | ~~~~~ (5 tildes)
|
02:20, 28 January 2021 (UTC) |
Display wikitext code as typed | <nowiki>[[This is not a link]]</nowiki>
|
[[This is not a link]] |
Description | You type | You get |
---|---|---|
Headings A Table of Contents will automatically be generated when four headings are added to an article. (Skip level 1; it's used for the page name.) |
|
Level 2
Level 3
Level 4
Level 5
Level 6
|
Indented paragraph or line |
|
No indent
|
Bulleted list |
|
|
Numbered list |
|
|
Mixed list |
|
|
Preformatted text with working links |
|
Color Text |
Preformatted text that shows underlying wikitext |
|
[[Color]] Text |
Image formatting
Further wikitext examples
For more complex content that is sometimes more easily managed with wikitext editing, see:
- Help:Galleries, Slideshows, and Sliders/wikitext
- Help:Main page column tags
- Help:Templates
- Help:Signature
- Help:Tables
- Help:Magic words
See also
- Help:Editing
- MediaWiki's thorough reference on image formatting
- For print cheatsheets, see the MediaWiki reference card or the poster-size cheatsheet (available in many languages).
Further help and feedback
- Browse and search other help pages at Help:Contents
- Check Fandom Community Central for sources of further help and support
- Check Contacting Fandom for how to report any errors or unclear steps in this article