XuEn (Message Wall | contribs) (re-add new section about indents - is standard markup, commonly used, and no good reason to delete) Tag: Help |
m (Changed current Turkish link and other minor fixes.) Tag: Help |
||
(21 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
<jwplayer media-id="VFN3fd63" /> |
<jwplayer media-id="VFN3fd63" /> |
||
− | {{tocright}}'''Wikitext''' is the main markup language used to format content on |
+ | {{tocright}}'''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 [[Help:VisualEditor| |
+ | It's not necessary to know wikitext in order to edit a page: you can use the [[Help:VisualEditor|VisualEditor]], or visual mode in the [[Help:Classic editor|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 '[[Help:Source edit mode|source mode]]' in either editor. To access an article's wikitext: |
Wikitext can be used via '[[Help:Source edit mode|source mode]]' in either editor. To access an article's wikitext: |
||
Line 18: | Line 18: | ||
! style="width:30%;" | You get |
! style="width:30%;" | You get |
||
|- |
|- |
||
− | | |
+ | |Italicize text |
|<code><nowiki>''italic''</nowiki></code> |
|<code><nowiki>''italic''</nowiki></code> |
||
|''italic'' |
|''italic'' |
||
Line 37: | Line 37: | ||
|Redirect to another page |
|Redirect to another page |
||
|<code><nowiki>#REDIRECT [[Help:Contents]]</nowiki></code> |
|<code><nowiki>#REDIRECT [[Help:Contents]]</nowiki></code> |
||
− | | |
+ | |https://vignette2.wikia.nocookie.net/central/images/b/b5/Redirectltr.png/revision/latest [[Help:Contents]] |
|- |
|- |
||
|External link<br />(to other websites) |
|External link<br />(to other websites) |
||
− | |<code><nowiki>[ |
+ | |<code><nowiki>[https://www.example.org]</nowiki></code><br /> |
− | <code><nowiki>[ |
+ | <code><nowiki>[https://www.example.org displayed text]</nowiki></code><br /> |
− | <code><nowiki> |
+ | <code><nowiki>https://www.example.org</nowiki></code> |
− | |[ |
+ | |[https://www.example.org]<br /> |
− | [ |
+ | [https://www.example.org displayed text]<br /> |
− | + | https://www.example.org |
|
|- |
|- |
||
|Sign your posts <br />on talk pages |
|Sign your posts <br />on talk pages |
||
Line 69: | Line 69: | ||
|- |
|- |
||
|Headings<br /> |
|Headings<br /> |
||
− | <span style="font-size:80%;">''A Table of Contents will automatically be generated when four headings are added to an article.''</span> |
+ | <span style="font-size:80%;">''A [[Help:Table of contents|Table of Contents]] will automatically be generated when four headings are added to an article.''</span> |
+ | |||
+ | ([[mw:Help talk:Formatting#Level 1|Skip level 1]]; it's used for the page name.) |
||
| |
| |
||
− | <code><nowiki>==Level 2==</nowiki></code><br /> |
+ | <code><nowiki>== Level 2 ==</nowiki></code><br /> |
− | <code><nowiki>===Level 3===</nowiki></code><br /> |
+ | <code><nowiki>=== Level 3 ===</nowiki></code><br /> |
− | <code><nowiki>====Level 4====</nowiki></code><br /> |
+ | <code><nowiki>==== Level 4 ====</nowiki></code><br /> |
− | <code><nowiki>=====Level 5=====</nowiki></code><br /> |
+ | <code><nowiki>===== Level 5 =====</nowiki></code><br /> |
− | <code><nowiki>======Level 6======</nowiki></code> |
+ | <code><nowiki>====== Level 6 ======</nowiki></code> |
| |
| |
||
<div style="font-size: 1.5em; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; border-bottom: 1px solid #AAAAAA;">Level 2</div> |
<div style="font-size: 1.5em; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; border-bottom: 1px solid #AAAAAA;">Level 2</div> |
||
Line 112: | Line 114: | ||
<code>#Three</code> |
<code>#Three</code> |
||
| |
| |
||
− | #One |
+ | # One |
− | #Two |
+ | # Two |
− | ##Two point one |
+ | ## Two point one |
− | #Three |
+ | # Three |
+ | |- |
||
+ | |Mixed list |
||
+ | | |
||
+ | <code>* bulleted item</code><br /> |
||
+ | <code>*# numbered item 1</code><br /> |
||
+ | <code>*#: indented item a</code><br /> |
||
+ | <code>*#: indented item b</code><br /> |
||
+ | <code>*# numbered item 2</code> |
||
+ | | |
||
+ | * bulleted item |
||
+ | *# numbered item 1 |
||
+ | *#: indented item a |
||
+ | *#: indented item b |
||
+ | *# numbered item 2 |
||
|- |
|- |
||
|Preformatted text '''with''' working links |
|Preformatted text '''with''' working links |
||
| |
| |
||
− | <tt> |
+ | <tt>" "[[Help:Color|Color]] Text</tt> (note space at start, remove quotation marks) |
| |
| |
||
− | [[Color]] Text |
+ | [[Help:Color|Color]] Text |
|- |
|- |
||
|Preformatted text that shows underlying wikitext |
|Preformatted text that shows underlying wikitext |
||
Line 141: | Line 157: | ||
|[[File:SeaOtter.png]] |
|[[File:SeaOtter.png]] |
||
|- |
|- |
||
+ | |Sized image<br/><small>(width change with aspect ratio maintained)</small> |
||
− | |Sized image |
||
|<code><nowiki>[[File:SeaOtter.png|100px]]</nowiki></code> |
|<code><nowiki>[[File:SeaOtter.png|100px]]</nowiki></code> |
||
|[[File:SeaOtter.png|100px]] |
|[[File:SeaOtter.png|100px]] |
||
Line 198: | Line 214: | ||
[[pt:Ajuda:Wikitexto]] |
[[pt:Ajuda:Wikitexto]] |
||
[[ru:Справка:Викитекст]] |
[[ru:Справка:Викитекст]] |
||
+ | [[tr:Yardım:Vikimetin]] |
||
[[uk:Довідка:Вікітекст]] |
[[uk:Довідка:Вікітекст]] |
||
− | [[zh:Help: |
+ | [[zh:Help:wiki標記式語言]] |
⚫ | |||
[[Category:Editing]] |
[[Category:Editing]] |
||
[[Category:Source editing]] |
[[Category:Source editing]] |
||
⚫ | |||
[[Category:Formatting]] |
[[Category:Formatting]] |
||
[[Category:Tools & shortcuts]] |
[[Category:Tools & shortcuts]] |
Revision as of 07:07, 29 March 2020
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 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
Description | You type | You get |
---|---|---|
Italicize 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]]
|
Help:Contents |
External link (to other websites) |
[https://www.example.org]
|
[1] |
Sign your posts on talk pages |
~~~~ (4 tildes)
|
Your username 12:41, 19 April 2024 (UTC) |
Insert the current date and time (UTC). Generally only used on talk pages. | ~~~~~ (5 tildes)
|
12:41, 19 April 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. (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 (note space at start, remove quotation marks) |
Color Text |
Preformatted text that shows underlying wikitext |
<pre>[[Color]] Text</pre> |
[[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.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
- 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