This page explains how to change a page and how to write the Markdown this wiki uses. For the habits of this wiki (which code languages, notes, keys), see Help:Editing/Tips.
The editor
Click Edit at the top of a page, or edit next to a heading to change only that section. You need to be logged in.
- The editor shows the page roughly as it will look. Edit Markdown source switches to the plain text, and back.
- Insert image uploads a picture from your computer and puts it at the cursor.
- Preview shows the page as it will be published, before you save.
- Summary is a short note on what you changed. It shows in the history and the recent changes.
- Save publishes the change. The page is updated within a few seconds.
- Without JavaScript, the Edit link opens a plain text form with the same Preview and Save buttons.
If someone else saved the page while you were editing, you get an edit conflict. The wiki merges both changes when they touch different lines. Where you both changed the same lines, you choose which text to keep.
Raw HTML is not allowed: anything that looks like an HTML tag is shown as text. Everything is written with Markdown and the extensions below.
Text
| You write | You get |
|---|---|
*italic* or _italic_ |
italic |
**bold** |
bold |
~~struck out~~ |
|
`code` |
code |
:sup[2] and :sub[2] |
x2 and H2O |
:kbd[Ctrl+F9] |
Ctrl+F9 |
A backslash before a character: \* |
* |
An empty line starts a new paragraph. A backslash at the end of a line starts a new line inside the paragraph.
Headings
## Section
### Subsection
#### Smaller still
The page title is the first-level heading, so sections start at ##. A page with four or more headings
gets a table of contents. Each heading can be linked: [[Some page#Section]].
Lists
- An item
- Another item
- Indented by two spaces: a nested item
1. First
2. Second
- [ ] A task still to do
- [x] A task done
Term
: Its definition
Links
| You write | Links to |
|---|---|
[[Lazarus Tutorial]] |
the page Lazarus Tutorial |
[[Lazarus Tutorial|the tutorial]] |
the same page, shown as "the tutorial" |
[[Lazarus Tutorial#Your first program]] |
a section of that page |
[[Category:Tutorials]] |
a category page |
[[Wikipedia:Free Pascal]] |
the page of another site, from a fixed list of prefixes |
[Free Pascal](https://www.freepascal.org) |
an external page |
<https://www.freepascal.org> |
an external page, showing the address |
A link to a page that does not exist is red. Clicking it creates the page.
The text after | is shown as written, without Markdown. Inside a table cell, write \| instead of
|, because | separates the cells.
Pictures and files
Use Insert image in the editor, or write the file name after /_files/:


[The manual as PDF](/_files/Manual.pdf)
Every uploaded file has a page of its own, such as File:Tux.png, with its history and the pages that use it.
For a size, a position or a frame with a caption, use :img:
:img[Tux]{src="/_files/Tux.png" width=70 .floatright}
:img[The IDE after the first start]{src="/_files/Lazarus_IDE.png" width=180 .floatright.thumb}
width and height are in pixels. .floatleft, .floatright and .center place the picture.
.thumb draws a frame with the text between the brackets as caption.
A row of pictures with captions is a gallery:
:::gallery[Platforms]
-  Linux
-  Windows
:::
Source code
Put code between two lines of three backticks, and name the language after the first ones:
```pascal
program Hello;
begin
WriteLn('Hello, world');
end.
```
gives
program Hello;
begin
WriteLn('Hello, world');
end.
The tips page lists the languages that get colours.
Tables
| Type | Size | Range |
|---------|-----:|-----------------|
| Byte | 1 | 0..255 |
| Integer | 4 | -2^31..2^31-1 |
| Type | Size | Range |
|---|---|---|
| Byte | 1 | 0..255 |
| Integer | 4 | -2^31..2^31-1 |
A colon in the second line aligns a column: ---: to the right, :---: centred. Each cell holds one
line. For cells that span rows or columns, or hold lists or code, use a list table:
:::table[Caption]{.wikitable header=1}
- {tr}
- Name
- Value
- {tr}
- {colspan=2} One cell over both columns
:::
Notes, tips and warnings
:::note
Text worth knowing.
:::
:::warning
This can lose your data.
:::
Text worth knowing.
This can lose your data.
:::tip and :::important work the same way. GitHub's form is understood too:
> [!TIP]
> Press F9 to run.
Quotes and lines
> A quotation, or text set apart.
---
A line of three dashes on its own, with empty lines around it, draws a horizontal line.
Footnotes
Free Pascal runs on many platforms.[^1]
[^1]: See the list on freepascal.org.
The notes are collected at the foot of the page.
Diagrams and formulas
A code block with the language mermaid is drawn as a diagram:
```mermaid
flowchart LR
A[Edit] --> B{Compiles?}
B -->|yes| C[Run]
B -->|no| A
```
Formulas are written in LaTeX: :math[\sqrt{2}] in a line, or a code block with the language math
for a formula on its own line. They are shown as LaTeX source in code style.
Page settings
A block between two lines of --- at the very start of the page holds settings:
---
categories: [Tutorials, LCL]
title: An optional title shown instead of the page name
toc: false
---
categories: the categories of the page.title: the heading shown at the top of the page.toc:falsehides the table of contents,trueshows it even with fewer than four headings.::tocon its own line puts the table of contents at that place.
Layout
Raw HTML and inline styles are not allowed, so layout uses a fixed set of classes:
:::div{.floatright.box}
A framed box on the right.
:::
The :span[begin]{.key} keyword, and :span[FPC]{.abbr title="Free Pascal Compiler"}.
The classes are floatleft, floatright, clear, center, right, justify, box,
underline, strike, small, big, huge, bold, italic, mono, nowrap, noprint,
mark and abbr. The code colours are key, symbol, dir, cmt, int and str. Side by side
columns are two floats with a width: :::div{.floatleft.w50}, using w10 up to w100.
Colons
A colon directly followed by a letter can start a directive such as :kbd[...]. In running text,
write \: when a colon is followed by a letter: ratio a\:b. Inside code, and inside [[...]] links,
colons need no backslash.
Templates
A template is a page with text that other pages include: ::tpl[Name]{param=value} on its own line,
or :tpl[Name] inside a sentence. Help:Templates explains how to use and write them.
L'édition d'une page wiki est très facile. Il vous suffit de cliquer sur l'étiquette "Modifier" en haut (ou le lien d'édition à droite ou en bas) de la page wiki. Ceci vous mènera à une page avec une zone de texte contenant le texte éditable de cette page. Si vous voulez expérimenter, s'il vous plaît, faite le dans notre "bac à sable", pas ici. Vous pouvez ouvrir le bac à sable dans une fenêtre ou onglet séparé pour être en mesure de voir à la fois ce texte et vos tests dans le bac à sable.
Une fois que vous avez tapé votre texte, écrivez un petit résumé d'édition sur le petit champs en dessous de la boite d'édition. Vous pouvez employer la sténographie pour décrire vos changements, comme décrit dans la légende, et quand vous avez fini, appuyer sur aperçu pour voir à quoi vos changements ressembleront. Puis, appuyez sur "Sauvegarder". En fonction de votre système, presser sur "Entrée" tandis que la zone d'édition n'est pas active (quand il n'y a pas de curseur d'écriture) peut avoir le même effet que presser sur le bouton "Sauvegarder". Aussi, s'il vous plaît ne vandalisez pas l'information sur Project.
Vous pouvez aussi cliquer sur l'onglet "Discussion" (ou sur le lien "Discuss this page" ) pour voir la page de discussion correspondante , qui contient des commentaires sur la page venant d'autres utilisateurs de Wikipedia. Cliquez sur l'onglet "+" (ou sur "Edit this page") pour ajouter un commentaire.
Les balises(markup) du wiki
editDans la colonne de gauche du tableau ci-dessous, vous pouvez voir ce quels effets sont possibles. Dans la colonne de droite, vous pouvez voir comment ces effets ont été atteints. En d'autres termes, pour faire le texte ressembler à ce qu'il ressemble dans la colonne gauche, dactylographiez-le dans le format que vous voyez dans la colonne droite.
Vous pouvez vouloir maintenir cette page ouverte dans une fenêtre séparée du navigateur pour s'y référer. Si vous voulez essayer des choses sans danger de faire n'importe quel dommage, vous pouvez le faire dans le bac à sable.
Les sections, paragraphes, listes et lignes
edit| Ce à quoi ça ressemble | Ce que vous dactylographiez |
|---|---|
|
Commencez vos sections comme suit: Nouvelle section Sous section Sous sous section
|
|
|
Une simple retour à la ligne n'a généralement pas d'effet sur la mise en page. Elles peuvent être utilisées pour séparer les phrases dans un paragraphe. Quelques rédacteurs constatent que ceci facilite l'édition et améliore la fonction diff (utilisé en interne pour comparer différentes versions d'une page). Mais une ligne vide commence un nouveau paragraphe.
|
|
|
Vous pouvez couper des lignes
|
|
marque la fin d'un élément de la liste.
|
|
|
|
|
|
|
|
|
Une colonne marque(indents) une nouvelle ligne ou un paragraphe. Un saut de ligne manuel commence un nouveau paragraphe.
|
|
|
|
|
Texte centré.
|
|
|
Une ligne de division horizontale: cela est au-dessus d'elle et cela est au-dessous.
|
|
Links and URLs
edit| What it looks like | What you type |
|---|---|
|
London has public transport.
|
|
|
San Francisco also has public transportation.
|
|
|
San Francisco also has public transportation. Examples include buses, taxis and streetcars.
|
|
|
See the Wikipedia:Manual of Style.
|
|
|
Economics#See also is a link to a section within another page. #Links and URLs is a link to a section on the current page. #example is a link to an anchor that was created using an id attribute
|
|
|
Automatically hide stuff in parentheses: kingdom. Automatically hide namespace: Village Pump. Or both: Manual of Style But not: Manual of Style
|
|
|
The weather in London is a page that doesn't exist yet.
|
|
|
Wikipedia:How to edit a page is this page.
|
|
|
When adding a comment to a Talk page, you should sign it by adding three tildes to add your user name: or four to add user name plus date/time: Ben Brockert 00:18, Nov 19, 2004 (UTC) Five tildes gives the date/time alone: 00:18, Nov 19, 2004 (UTC)
|
|
|
|
|
|
| What links here and Related changes pages can be linked as: Special:Whatlinkshere/Wikipedia:How to edit a page and Special:Recentchangeslinked/Wikipedia:How to edit a page |
|
| A user's Contributions page can be linked as: Special:Contributions/UserName or Special:Contributions/192.0.2.0 |
|
|
|
|
|
|
Three ways to link to external (non-wiki) sources:
See MetaWikiPedia:Interwiki_map for the list of shortcuts.
|
|
|
Linking to other wikis:
Linking to another language's wiktionary:
|
|
|
ISBN 012345678X ISBN 0-123-45678-X
|
|
|
Date formats:
|
|
Some uploaded sounds are listed at Wikipedia:Sound. |
|
Images
edit| What it looks like | What you type |
|---|---|
|
A picture: or, with alternative text:
or, floating to the right side of the page and with a caption:
or, floating to the right side of the page without a caption:
|
|
| Clicking on an uploaded image displays a description page, which you can also link directly to: Image:Wiki.png |
|
|
To include links to images shown as links instead of drawn on the page, use a "media" link. |
|
Character formatting
edit| What it looks like | What you type |
|---|---|
|
Emphasize, strongly, very strongly.
|
|
|
Ordinary text should use wiki markup for emphasis, and should not use |
|
|
A typewriter font for
|
|
| You can use small text for captions. |
|
|
You can You can also mark
|
|
|
Diacritical marks: è é ê ë ì í À Á Â Ã Ä Å
|
|
| Punctuation:
¿ ¡ § ¶ † ‡ • – — ‹ › « » ‘ ’ “ ” |
|
| Commercial symbols:
™ © ® ¢ € ¥ £ ¤ |
|
|
Subscripts: x1 x2 x3 Superscripts: x1 x2 x3 or x¹ x² x³
ε0 = 8.85 × 10−12 C² / J m. |
|
| Greek characters:
α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω |
|
|
Math characters:
∫ ∑ ∏ √ − ± ∞
|
|
|
Spacing in simple math formulas: Obviously, x² ≥ 0 is true.
|
|
|
Complicated formulas:
|
|
|
Suppressing interpretation of markup: Link → (''to'') the [[Wikipedia FAQ]]
|
|
|
Commenting page source: not shown when viewing page
|
|
(see also: Chess symbols in Unicode)
Tables
editPlacement of the Table of Contents (TOC)
editAt the current status of the wiki markup language, having at least four headers on a page triggers the TOC to appear in front of the first header (or after introductory sections). Putting __TOC__ anywhere forces the TOC to appear at that point (instead of just before the first header). Putting __NOTOC__ anywhere forces the TOC to disappear. See also compact TOC for alphabet and year headings.
Keeping headings out of the Table of Contents
editIf you want some subheadings to not appear in the Table of Contents, then make the following replacements.
Replace == Header 2 == with <h2> Header 2 </h2>
Replace === Header 3 === with <h3> Header 3 </h3>
And so forth.
For example, notice that the following header has the same font as the other subheaders to this "Tables" section, but the following header does not appear in the Table of Contents for this page.
This header has the h4 font, but is NOT in the Table of Contents
editThis effect is obtained by the following line of code.
<h4> This header has the h4 font, but is NOT in the Table of Contents </h4>
Tables
editThere are two ways to build tables:
- in special Wiki-markup (see m:Help:Table)
- with the usual HTML elements: <table>, <tr>, <td> or <th>.
For the latter, and a discussion on when tables are appropriate, see Wikipedia:How to use tables.
Variables
edit(See also m:Help:Variable)
| Code | Effect |
|---|---|
| {{CURRENTMONTH}} | 11 |
| {{CURRENTMONTHNAME}} | November |
| {{CURRENTMONTHNAMEGEN}} | Template:CURRENTMONTHNAMEGEN |
| {{CURRENTDAY}} | 19 |
| {{CURRENTDAYNAME}} | Thursday |
| {{CURRENTYEAR}} | 2026 |
| {{CURRENTTIME}} | 21:58 |
| {{NUMBEROFARTICLES}} | 6,418 |
| {{PAGENAME}} | Editing/fr |
| {{NAMESPACE}} | Help |
| {{localurl:pagename}} | /Pagename |
| {{localurl:Wikipedia:Sandbox|action=edit}} | /_api/edit/form?title=Wikipedia:Sandbox |
| {{SERVER}} | https://wiki.freepascal.org |
| {{ns:1}} | Talk |
| {{ns:2}} | User |
| {{ns:3}} | User talk |
| {{ns:4}} | Project |
| {{ns:5}} | Project talk |
| {{ns:6}} | File |
| {{ns:7}} | File talk |
| {{ns:8}} | MediaWiki |
| {{ns:9}} | MediaWiki talk |
| {{ns:10}} | Template |
| {{ns:11}} | Template talk |
| {{ns:12}} | Help |
| {{ns:13}} | Help talk |
| {{ns:14}} | Category |
| {{ns:15}} | Category talk |
| {{SITENAME}} | FPC/Lazarus wiki |
NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages.
Templates
editThe MediaWiki software used by Wikipedia has limited support for template inclusion. This means standardized text chunks (such as boilerplate text) can be inserted into articles. For example, typing {{stub}} will appear as "This article is a stub. You can help Wikipedia by expanding it." when the page is saved. See Wikipedia:Template messages for the complete list. Other commonly used ones are: {{disambig}} for disambiguation pages, {{spoiler}} for spoiler warnings and {{sectstub}} like an article stub but for a section. The are many subject-specific stubs e.g.: {{Geo-stub}}, {{Hist-stub}} and {{Linux-stub}}. For a complete list of stubs see Wikipedia:Template messages/Stubs.
Hiding the edit links
editInsert __NOEDITSECTION__ into the document to suppress the edit links that appear next to every section header.
See also
edit- m:Help:Formula
- Mediawiki user's guide to editing
- Wikipedia:MediaWiki.
- HTML element.
- Wikipedia:Protection policy
Using Mozilla Firefox
editThere is an extension available for Firefox, which may help you to edit a wiki page. This extension can be used for all wikis based on MediaWiki (e.g. for the wikipedia). If you use version 1.5 of Firefox, you will need the developer version of the extension. Update: The extension doesn't support Firefox 2.0 (not yet).
If you have installed the extension a new toolbar will appear. This toolbar contains some icons to
- format the text (e.g. bold)
- insert a structure item (e.g. headlines)
- insert a link (internal or external)
- insert a picture
The toolbar can be helpful escpecially for newbies, because it's not necessary to know the (complete) wiki syntax.
If you want to change the settings for the toolbar, you have to go to the tools menu of Firefox. Then you must click on the settings button of the extension. On the view tab for example you can set, that the toolbar only appears, if the URL contains the word 'wiki'.
