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 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'.
Template:Uni-vid 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 |
---|---|---|
Italicise text | ''italic''
|
italic |
Bold text | '''bold'''
|
bold |
Bold and italic | '''''bold & italic'''''
|
bold & italic |
Internal link (within a wiki) |
[[Help:Contents]]
|
Help:Contents Displayed text |
Redirect to another page | #REDIRECT [[Help:Contents]]
|
http://vignette2.wikia.nocookie.net/central/images/b/b5/Redirectltr.png/revision/latest Help:Contents |
External link (to other websites) |
[http://www.example.org]
|
[1] |
Sign your posts on talk pages |
~~~~ (4 tildes)
|
Your username 04:55, 18 June 2024 (UTC) |
Insert the current date and time (UTC). Generally only used on talk pages. | ~~~~~ (5 tildes)
|
04:55, 18 June 2024 (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. |
|
Level 2
Level 3
Level 4
Level 5
Level 6
|
Bulleted list |
|
|
Numbered list |
|
|
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]]
|
File:SeaOtter.png |
Sized image | [[File:SeaOtter.png|100px]]
|
File:SeaOtter.png |
Thumbnail image | [[File:SeaOtter.png|thumb|Caption text]]
|
|
Aligned image |
|
|
Linked image | [[File:SeaOtter.png|link=Help:Contents]]
|
File:SeaOtter.png |
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
- Help:Editing
- MediaWiki.org'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
Template:Help and feedback section
ar:مساعدة:نص الويكي de:Hilfe:Wikitext es:Ayuda:Wikitexto fi:Ohje:Wikiteksti fr:Aide:Wikitexte it:Aiuto:Wikitext ja:ヘルプ:ウィキテキスト ko:도움말:위키 문법 nl:Help:Wikitekst pl:Pomoc:Wikitekst pt:Ajuda:Wikitexto ru:Справка:Викитекст uk:Довідка:Вікітекст zh:Help:Wiki文本