Aide/Mise en forme

De Rich Annotator System
Révision datée du 2 février 2021 à 11:03 par Marton Horvath (discussion | contributions) (Page créée avec « Vous pouvez formater votre texte en utilisant des '''balises wiki''' ou le '''visual editor'''. ===Balises wiki=== Fichier:Edit-WM-fr.png|left|Balises… »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Vous pouvez formater votre texte en utilisant des balises wiki ou le visual editor.

Balises wiki

Balises Wiki

Les balises sont constituées de caractères normaux comme les astérisques, les apostrophes, ou le signe égal dont la signification change au sein du wiki en fonction de leur position. Par exemple, pour mettre un texte en italique, il suffit de l'inclure entre deux paires d'apostrophes comme ''ceci''.

Balises de formatage de texte

Formatage des caractères (en ligne) – s'applique n'importe où dans le texte

Description Saisie Résultat
Texte en italique ''italique'' italique
Texte en gras '''gras''' gras
Gras et italique '''''gras & italique''''' gras & italique
Balise d'échappement d'interprétation <nowiki>pas de ''balise'' [[wiki]]</nowiki> pas de ''balise'' [[wiki]]

Formatage de section

Seulement en début de ligne

Description Saisie Résultat
Titres de section de différents niveaux
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======
N’utilisez pas le niveau 1, c’est le niveau du titre de la page.
DN’insérez aucun texte sur la même ligne après les signes égal de fermeture.
Un article avec 4 titres de section ou plus crée automatiquement une table des matières.
Levels.png
Trait horizontal
Texte avant le trait
---
Texte après le trait
Texte avant le trait
Texte après le trait
Liste à puces
* Commencer chaque ligne
* avec un astérisque (*).
** Plus d’astérisques donnent des niveaux en plus
*** et encore plus d'astérisques, plus de niveaux.
* Le saut de ligne <br />ne change pas le niveau.
*** Mais le saut d'un niveau crée un espace vide.
Tout autre début de ligne met fin à la liste.

* Combiner une liste à puces
** avec une définition
::- définition
** crée un espace vide.

* Combiner une liste à puces
** avec une définition
*:- définition
** sans espace vide.

*liste à puces
:- définition
:* sous-liste qui ne crée pas
:* d’espaces vides après la définition
  • Commencer chaque ligne
  • avec un astérisque (*).
    • Plus d’astérisques donnent des niveaux en plus
      • et encore plus d'astérisques, plus de niveaux.
  • Le saut de ligne
    ne change pas le niveau.
      • Mais le saut d'un niveau crée un espace vide.

Tout autre début de ligne met fin à la liste.

  • Combiner une liste à puces
    • avec une définition
- définition
    • crée un espace vide.
  • Combiner une liste à puces
    • avec une définition
    - définition
    • sans espace vide.
  • liste à puces
- définition
  • sous-liste qui ne crée pas
  • d’espaces vides après la définition
Liste numérotée
# Commencer chaque ligne
# avec un dièse (#).
## Plus de dièses donnent des niveaux en plus
### et encore plus, plus de niveaux.
# Le saut de ligne <br />ne change pas le niveau.
### Mais le saut d'un niveau crée un espace vide.
# Une ligne vide

# met fin à la liste en cours et en débute une nouvelle.
Tout autre début de ligne met fin à la liste.
  1. Commencer chaque ligne
  2. avec un dièse (#).
    1. Plus de dièses donnent des niveaux en plus
      1. et encore plus, plus de niveaux.
  3. Le saut de ligne
    ne change pas le niveau.
      1. Mais le saut d'un niveau crée un espace vide.
  4. Une ligne vide
  1. met fin à la liste en cours et en débute une nouvelle.

Tout autre début de ligne met fin à la liste.

Liste de définitions
;item 1
: définition 1
;item 2
: définition 2-1
: définition 2-2
item 1
définition 1
item 2
définition 2-1
définition 2-2
Mélange de différents types de liste
# un
# deux
#* deux point un
#* deux point deux
# trois 
#; trois, item un
#: trois, définition une
# quatre
#: quatre, définition une 
#: cette façon de faire ressemble à une suite
#: et est d'ailleurs souvent utilisé
#: plutôt <br />que <br />
# cinq
## cinq, sous-niveau 1
### cinq, sous-niveau 1, sous-niveau 1
## cinq, sous-niveau 2
  1. un
  2. deux
    • deux point un
    • deux point deux
  3. trois
    trois, item un
    trois, définition une
  4. quatre
    quatre, définition une
    cette façon de faire ressemble à une suite
    et est d'ailleurs souvent utilisé
    plutôt
    que <br />
  5. cinq
    1. cinq, sous-niveau 1
      1. cinq, sous-niveau 1, sous-niveau 1
    2. cinq, sous-niveau 2

Les paragraphes

MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag <br />.

HTML tags

Some HTML tags are allowed in MediaWiki, for example <code>, <div>, and <span>. These apply anywhere you insert them.

Description You type You get
Inserted (Displays as underline in most browsers)
<ins>Inserted</ins>
or
<u>Underline</u>
Inserted
or
Underline
Deleted (Displays as strike-through in most browsers)
<s>Strike-through</s>
or
<del>Deleted</del>
Strike-through
or
Deleted
BlockquotesSee also Citations
Text before
<blockquote>Blockquote</blockquote>
Text after
Text before

Blockquote

Text after

Superscript 1<sup>er</sup> 1er

Inserting symbols

Symbols and other special characters not available on your keyboard can be inserted in a multitude of ways. Many Operating Systems and browsers allow you to insert special characters through a menu option or Operating System panel. Additionally, you can use the WikiEditor or VisualEditor to insert them into the edit screen.

As a last resort, you can use a special sequence of characters. Those sequences are called HTML entities. For example, the following sequence (entity) &rarr; when inserted will be shown as right arrow HTML symbol → and &mdash; when inserted will be shown as an em dash HTML symbol —. The entity &nbsp; will produce a non breakable space, used in French typography.

Description You type You get
Guillemets with non breakable spaces &laquo;&nbsp;Text&nbsp;&raquo; « Text »
Copyright symbol &copy; ©
Euro currency symbol &euro;

See the list of all HTML entities on the Wikipedia article List of HTML entities.

Other formatting

Beyond the text formatting markup shown hereinbefore, here are some other formatting references:


Visual Editor

VisualEditor

To edit a page using the visual editor, press on the "Edit" tab at the top of the page. It may take a few seconds for the page to open for editing, and longer if the page is very long.

The VisualEditor's toolbar

The visual editor's toolbar appears at the top of the screen when you begin editing. It includes some familiar icons:

  • Undo and Redo the changes you have made.
  • Headings pull-down menu: allows you to change how the paragraph is formatted. To change the style of a paragraph, put your cursor in the paragraph and select an item in this menu (you don't have to highlight any text). Section titles are formatted "Heading", and subsections are "Sub-heading 1", "Sub-heading 2", and so on. The normal format for text is "Paragraph".
  • Formatting: Pressing the "A" opens a menu. If you have not selected any text, then when you press the "A" to open the menu, and then select an item, that formatting will apply to the text that you start typing, from wherever your cursor is located.
  • Linking tool: The chain icon is the linking tool. Pressing on it (usually after selecting some text) opens the link dialog.
  • Cite menu: The "Cite" menu is used to add inline citations (also called "footnotes" or "references"). You have access to basic reference formatting and the ability to reuse citations by using this menu.
  • Lists and indentation: The first two items allow you to format text as either a "Bullet list" or a "Numbered list". The last two items allow you to decrease or increase the indentation level of list items.
  • Insert.
  • Special character insertion: The "Special character" (Ω) icon is next to the "Insert" menu.
  • The Edit notices button displays any notices for the page.
  • The Page options menu is to the left of the Publish changes button and the Switch editor menu. On this menu there is a button to open an Options dialog.
  • The switch to source editing button is next to the Publish changes button. It allows you to switch to the wikitext editor.
  • Publishing changes: When you are finished editing, press the blue "Publish changes" button in the toolbar. If you have made no changes, the button will be disabled (grayed out). To cancel all your editing changes, close your browser window, or press the "Read" tab above the edit toolbar.

For more details, visit the VisualEditor's User guide.


Retour au sommaire