Community Central
Community Central
(→‎Text formatting: distinction between the types of preformatted text)
(- wikitext infobox)
Line 1: Line 1:
 
{{Uni-vid|Wikia University - Introduction to Wikitext}}
 
{{Uni-vid|Wikia University - Introduction to Wikitext}}
{{HelpHeaderWikitext}}{{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 other many other visual changes.
+
{{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 other many other visual changes.
   
 
It's not necessary to know wikitext in order to edit a page: you can use the [[Help:VisualEditor|new 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.
 
It's not necessary to know wikitext in order to edit a page: you can use the [[Help:VisualEditor|new 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.

Revision as of 20:28, 25 September 2017

Template:Uni-vid

Wikitext is the main markup language used to format content on FANDOM. 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'.

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

Inline wikitext: code you can use anywhere in the code
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]]

Help:Contents
Displayed text
Redirect to another page #REDIRECT [[Help:Contents]] latest Help:Contents
External link
(to other websites)
[http://www.example.org]

[http://www.example.org displayed text]
http://www.example.org

[1]

displayed text
http://www.example.org

Sign your posts
on talk pages
~~~~ (4 tildes) Your username 03:56,

19 April 2024 (UTC)

Insert the current date and time (UTC). Generally only used on talk pages. ~~~~~ (5 tildes) 03:56, 19 April 2024 (UTC)
Display wikitext code as typed <nowiki>[[This is not a link]]</nowiki> [[This is not a link]]
Code that works only at the start of a line
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======

Level 2
Level 3
Level 4
Level 5
Level 6
Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

#One
#Two
##Two point one
#Three

  1. One
  2. Two
    1. Two point one
  3. Three
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]] SeaOtter
Sized image [[File:SeaOtter.png|100px]] SeaOtter
Thumbnail image [[File:SeaOtter.png|thumb|Caption text]]
SeaOtter

Caption text

Aligned image

[[File:SeaOtter.png|thumb|100px|left]] [[File:SeaOtter.png|thumb|100px|center]] [[File:SeaOtter.png|thumb|100px|right]]

SeaOtter
SeaOtter
SeaOtter
Linked image [[File:SeaOtter.png|link=Help:Contents]] SeaOtter
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

Further help and feedback