Help:Editing/Source mode

Help page
< Help:Editing
Revision as of 11:01, 10 June 2023 by Côme (talk | contribs) (Creation of the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Source mode is one of the two editing methods with the Visual Editor. It allows for text-based page editing using a light markup language called wikitext. The Visual Editor might introduce small errors on your edit, so you can switch to source mode to verify changes. It is also used for more complex editing.

Switch to source mode

When viewing a page you can click the [[]] icon next to the pen icon to directly enter source mode editing. If you are already in the Visual Editor, click the pen icon dropdown menu on the top right and you'll be able to choose the source mode [[]].

Syntax

The wikitext syntax is pretty simple and you'll get used to it soon. The following cheatsheet is available at Help:Cheatsheet.

Wikitext syntax Cheatsheet
Description What you type What you get
Italic text ''italic'' italic
Bold text '''bold''' bold
Italic and bold '''''italic and bold''''' italic and bold
Internal link (within the wiki) [[Form3]]

[[Form3]]rd
[[Form3 | SLA printer]]
[[Help:Getting started]]

Form3

Form3rd
SLA printer
Help:Getting started

Link to a section (anchor link) [[Form3#Printing process]]

[[Form3#Printing process | Printing process in Form3]]

Form3#Printing process

Printing process in Form3

Red link (link to a page that doesn't exist. Often helps showing a desired page) [[Red link]] Red link
External link (to other websites) [http://www.example.org Text to display]

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

Text to display

[1] http://www.example.org

Section headings (A table of content is automatically created for articles with four headings) ==Level 2==

===Level 3===
====Level 4====
=====Level 5=====
======Level 6======

Level 2

Level 3

Level 4

Level 5
Level 6
Category (add this at the end of the page) [[Category:Archive]] Place the page in Category:Archive
Bulleted list * Item1

* Item2
** Item2.1
* Item3

  • Item1
  • Item2
    • Item2.1
  • Item3
Numbered list # Item1

# Item2
## Item2.1
# Item3

  1. Item1
  2. Item2
    1. Item2.1
  3. Item3
Text indent (Used on talk pages to answer and make conversations easy to follow)

no indent (normal)
:first indent
::second indent
:::third indent

no indent (normal)

first indent
second indent
third indent
Image [[File:filename.extension|options|caption]] Display the image

See also