Help:Wikitext
Wikitext is the main markup language used to format content on wikias. It can be used to add photos, tables, bold styles, links, and other visual changes.
It's not necessary to know wikitext in order to edit at Wikia. You can use the visual mode in the classic editor, or the new VisualEditor (where enabled), to avoid it. However, users who learn it find that they have more control over their editing experience. It can be used in 'source mode' in either editor.
Below is a cheat sheet for basic wikitext that you can use while editing. Many of the options listed below have shortcut buttons in the visual editors' toolbars.
Wikitext cheat sheet
Text
Description | You type | You get |
---|---|---|
Italicise text | ''italic''
|
italic |
Bold text | '''bold'''
|
bold |
Bold and italic | '''''bold & italic'''''
|
bold & italic |
Internal link (within a local wiki) |
[[Help:Contents]]
|
Help:Contents Displayed text |
Redirect to another page | #REDIRECT [[Help:Contents]]
|
http://images.wikia.com/common/skins/common/images/redirectltr.png Help:Contents |
External link (to other websites) |
[http://www.example.org]
|
[1] |
Sign your posts on talk pages |
~~~~
|
Your username 06:36, 8 June 2024 (UTC) |
The following work only when used at the start of a line of code | ||
Headings 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
|
Bulleted list |
|
|
Numbered list |
|
|
Images
Description | You type | You get |
---|---|---|
Image | [[File:SeaOtter.png]]
|
File:SeaOtter.png |
Sized image | [[File:SeaOtter.png|150px]]
|
File:SeaOtter.png |
Thumbnail image | [[File:SeaOtter.png|thumb|Caption text]]
|
|
Bordered image | [[File:SeaOtter.png|border|Caption text]]
|
Caption text |
Aligned image |
|
|
Linked image | [[File:SeaOtter.png|link=Help:Contents]]
|
File:SeaOtter.png |
Further examples
For more complex content that is sometimes more easily managed with wikitext editing, see:
- Help:Wikitext/more examples
- Help:Wikitext/link examples
- Help:Wikitext/table examples
- Help:Galleries, Slideshows, and Sliders/wikitext
- Help:Main page column tags
- Help:Templates
- Help:Infobox
- Help:Tables
- Help:Magic words
See also
- Editing
- MediaWiki's thorough reference on {{#NewWindowLink:http://www.mediawiki.org/wiki/Help:Images%7Cimage formatting}}
- For print cheatsheets, see the {{#NewWindowLink:m:Help:Reference card|MediaWiki reference card}} or the {{#NewWindowLink:m:Cheatsheet|poster-size cheatsheet}} (available in many languages).
Further help & feedback
Template:Help and feedback section
de:Hilfe:Wikitext es:Ayuda:Wikitexto fi:Ohje:Wikiteksti fr:Aide:Wikitexte it:Aiuto:Wikitext ja:Help:ウィキテキスト nl:Help:Wikitekst pl:Pomoc:Wikitekst zh:help:wiki文本