Help:Wikitext

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 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 "" in the top middle, above the edit bar, which will open a menu where you can select "".
 * Before editing, you can go right to source mode by clicking the arrow next to the edit button, and clicking "" from the drop-down menu.
 * When editing a section of an article, click "" to edit that section in source.

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.

Paragraphs
MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag.

HTML tags
Some HTML tags are allowed in MediaWiki, for example,  ,   and. These apply anywhere you insert them.

Inserting symbols
Symbols and other special characters not available on your keyboard can be inserted through a special sequence of characters. Those sequences are called HTML entities. For example, the following sequence (entity) &amp;rarr; when inserted will be shown as right arrow HTML symbol &rarr; and &amp;mdash; when inserted will be shown as an em dash HTML symbol &mdash;.

Hover over any character to find out the symbol that it produces. Some symbols not available in the current font will appear as empty squares.

See the list of all HTML entities on the Wikipedia article List of HTML entities. Additionally, MediaWiki supports two non-standard entity reference sequences:  and   which are both considered equivalent to   which is a right-to-left mark. (Used when combining right to left languages with left to right languages in the same page.)

HTML tags and symbol entities displayed themselves

 * &rarr; &amp;euro;


 * &rarr;  Typo to be corrected 


 * &rarr; &lt;span style="color: red; text-decoration: line-through;">Typo to be corrected&lt;/span>

Nowiki for HTML
can prohibit (HTML) tags:
 * < pre> &rarr;

But not &amp; symbol escapes:
 * & amp; &rarr; & amp;

To print &amp; symbol escapes as text, use " " to replace the "&" character (eg. type " ", which results in " ").

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


 * Help:Galleries
 * Help:Main page column tags
 * Help:Templates
 * Help:Signature
 * Help:Tables
 * Help:Magic words

Further help and feedback
ar:مساعدة:نص الويكي ca:Ajuda:Wikitext de:Hilfe:Wikitext es:Ayuda:Wikitexto fi:Ohje:Wikiteksti fr:Aide:Wikitexte hi:सहायता:विकिटेक्स्ट it:Aiuto:Wikitext ja:ヘルプ:ウィキテキスト ko:도움말:위키 문법 nl:Help:Wikitekst pl:Pomoc:Wikitekst pt:Ajuda:Wikitexto ru:Справка:Викитекст tr:Yardım:Vikimetin uk:Довідка:Вікітекст zh:Help:wikitext