Help:Wikitext: Difference between revisions
community>MarkvA No edit summary |
community>MarkvA No edit summary |
||
Line 170: | Line 170: | ||
[[Category:Help]] |
[[Category:Help]] |
||
[[Category:Formatting|{{PAGENAME}}]] |
[[Category:Formatting|{{PAGENAME}}]] |
||
[[Category:Tools & shortcuts|{{PAGENAME}}]] |
Revision as of 21:38, 11 July 2016
Wikitext is the main markup language used to format content on Wikia. It can be used to add photos, tables, bold styles, links, and other 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'.
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://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:25, 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 |
|
|
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 |
Further wikitext 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
Video tutorials on the wikitext basics
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:Help:ウィキテキスト ko:도움말:위키 문법 nl:Help:Wikitekst pl:Pomoc:Wikitekst zh:help:wiki文本 pt:Ajuda:Wikitexto