Community Central
Community Central
(+ wikitext "infobox")
(→‎Text formatting: bringing over an entry from Help:Wikitext/more examples because it wasn't covered here; removing colspans from the table as they don't work well on mobile)
Line 12: Line 12:
 
== Text formatting ==
 
== Text formatting ==
 
{| class="article-table" style="width:100%; font-size:90%;"
 
{| class="article-table" style="width:100%; font-size:90%;"
  +
|+Inline wikitext: code you can use anywhere in the code
 
|-
 
|-
 
! style="width:25%;" | Description
 
! style="width:25%;" | Description
Line 51: Line 52:
 
{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
 
{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
 
|-
 
|-
  +
|Display wikitext code as typed
! colspan="3" | ''The following work only when used at the start of a line of code''
 
  +
|<code><nowiki><nowiki>[[This is not a link]]</nowiki></nowiki></code>
  +
|<nowiki>[[This is not a link]]</nowiki>
  +
|-
  +
|}
  +
{| class="article-table" style="width:100%; font-size:90%;"
  +
|+Code that works only at the start of a line
  +
|-
  +
! style="width:25%;" | Description
  +
! style="width:45%;" | You type
  +
! style="width:30%;" | You get
 
|-
 
|-
 
|Headings<br />
 
|Headings<br />

Revision as of 20:11, 25 September 2017

Template:Uni-vid

Template:HelpHeaderWikitext

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
~~~~ Your username 13:05,

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

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