Outils pour utilisateurs

Outils du site


wiki:syntax

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
wiki:syntax [2026/05/17 07:27] – [Internal] chswiki:syntax [2026/07/14 10:36] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
-====== Syntaxe de formatage ======+====== Formatting Syntax ======
  
-[[doku>DokuWiki]] prend en charge un langage de balisage simple, qui s'efforce de rendre les fichiers de données aussi lisibles que possible. Cette page contient toutes les syntaxes que vous pouvez utiliser lors de l'édition des pages. Jetez simplement un œil au code source de cette page en cliquant sur « Modifier cette page »Si vous voulez essayer quelque choseutilisez simplement la page [[playground:playground|bac à sable (playground)]]. Le balisage le plus simple est également facilement accessible via les [[doku>toolbar|boutons de la barre d'outils]].+[[doku>DokuWiki]] supports some simple markup languagewhich tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page"If you want to try somethingjust use the [[playground:playground|playground]] pageThe simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.
  
-===== Formatage de base du texte =====+===== Basic Text Formatting =====
  
-DokuWiki prend en charge le texte en gras, //italique//, souligné et en ''chasse fixe (monospacé)''Bien entendu, vous pouvez //''combiner''// tous ces formats.+DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' textsOf course you can **__//''combine''//__** all these.
  
-  DokuWiki prend en charge le texte en gras, //italique//, souligné et en ''chasse fixe (monospacé)''+  DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts
-  Bien entendu, vous pouvez //''combiner''// tout cela.+  Of course you can **__//''combine''//__** all these.
  
-Vous pouvez également utiliser des indices subscript et des exposants superscript.+Note that the formatting markers have to directly enclose the text, so ''%%** bold **%%'' with spaces inside the markers will not be formatted.
  
-  Vous pouvez également utiliser des <sub>indices</sub> et des <sub>exposants</sub>.+You can use <sub>subscript</sub> and <sup>superscript</sup>, too.
  
-Vous pouvez tout aussi bien marquer un élément comme <del>supprimé</del>.+  You can use <sub>subscript</suband <sup>superscript</sup>, too.
  
-  Vous pouvez tout aussi bien marquer un élément comme <del>supprimé</del>.+You can mark something as <del>deleted</del> as well.
  
-Les **paragraphes** sont créés par des lignes vides. Si vous souhaitez **forcer un retour à la ligne** sans créer de paragraphe, vous pouvez utiliser deux barres obliques inverses (antislashs) suivies d'un espace ou de la fin de la ligne.+  You can mark something as <del>deleted</del> as well.
  
-Ceci est un texte avec des retours à la ligne\\ Notez que les +**Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line.
-deux antislashs ne sont reconnus qu'en fin de ligne\\ +
-ou suivis par\\ un espace \\ceci se produit sans cela.+
  
-  Ceci est un texte avec des retours à la ligne\\ Notez que les +This is some text with some linebreaks\\ Note that the 
-  deux antislashs ne sont reconnus qu'en fin de ligne\\ +two backslashes are only recognized at the end of a line\\ 
-  ou suivis par\\ un espace \\ceci se produit sans cela.+or followed by\\ a whitespace \\this happens without it.
  
-Vous ne devriez utiliser les retours à la ligne forcés que si cela est vraiment nécessaire.+  This is some text with some linebreaks\\ Note that the 
 +  two backslashes are only recognized at the end of a line\\ 
 +  or followed by\\ a whitespace \\this happens without it.
  
-===== Liens =====+You should use forced newlines only if really needed.
  
-DokuWiki prend en charge plusieurs méthodes pour créer des liens. +===== Links =====
-==== Liens externes ====+
  
-Les liens externes sont reconnus automatiquement (par magie) : http://www.google.com ou simplement www.google.com - Vous pouvez également définir le texte du lien : [[http://www.google.com|Ce lien pointe vers Google]]. Les adresses e-mail comme celle-ci : andi@splitbrain.org sont également reconnues.+DokuWiki supports multiple ways of creating links.
  
-  DokuWiki prend en charge plusieurs méthodes pour créer des liens. Les liens externes sont reconnus +==== External ====
-  automatiquement : http://www.google.com ou simplement www.google.com - Vous pouvez également définir +
-  le texte du lien : [[http://www.google.com|Ce lien pointe vers Google]]. Les adresses +
-  e-mail comme celle-ci : andi@splitbrain.org sont également reconnues.+
  
-==== Liens internes ====+External links are recognized automagically: http://www.google.com or simply www.google.com - You can set the link text as well: [[http://www.google.com|This Link points to google]]. Email addresses like this one: <andi@splitbrain.org> are recognized, too.
  
-Les liens internes sont créés en utilisant des crochetsVous pouvez soit indiquer simplement un [[pagename]], soit utiliser en plus un [[pagename|texte de lien]].+  DokuWiki supports multiple ways of creating linksExternal links are recognized 
 +  automagically: http://www.google.com or simply www.google.com - You can set 
 +  link text as well: [[http://www.google.com|This Link points to google]]. Email 
 +  addresses like this one: <andi@splitbrain.org> are recognizedtoo. 
 + 
 +==== Internal ==== 
 + 
 +Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]].
  
   Internal links are created by using square brackets. You can either just give   Internal links are created by using square brackets. You can either just give
   a [[pagename]] or use an additional [[pagename|link text]].   a [[pagename]] or use an additional [[pagename|link text]].
  
-Les [[doku>pagename|noms de pages Wiki]] sont automatiquement convertis en minusculeset les caractères spéciaux ne sont pas autorisés.+[[doku>pagename|Wiki pagenames]] are converted to lowercase automaticallyspecial characters are not allowed.
  
-Vous pouvez utiliser des [[some:namespaces|espaces de noms]] en insérant deux-points dans le nom de la page.+You can use [[some:namespaces]] by using a colon in the pagename.
  
   You can use [[some:namespaces]] by using a colon in the pagename.   You can use [[some:namespaces]] by using a colon in the pagename.
  
-Pour plus de détails sur les espaces de noms, consultez [[doku>namespaces|les espaces de noms]].+For details about namespaces see [[doku>namespaces]].
  
-Créer un lien vers une section spécifique est également possible. Il suffit d'ajouter le nom de la section derrière un caractère dièse (#) comme en HTML. Ceci mène à [[syntax#internal|cette section]].+Linking to a specific section is possible, tooJust add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]].
  
   This links to [[syntax#internal|this Section]].   This links to [[syntax#internal|this Section]].
Ligne 63: Ligne 66:
 Notes: Notes:
  
-  * Les liens vers les [[syntax|pages existantes]] s'affichent dans un style différent des liens vers les pages [[nonexisting|non existantes]]. +  * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones
-  * DokuWiki n'utilise pas le [[wp>CamelCase]] pour créer des liens automatiquement par défautmais ce comportement peut être activé dans le fichier de [[doku>config]]. Astuce si DokuWiki est un lienalors c'est activé+  * DokuWiki does not use [[wp>CamelCase]] to automatically create links by defaultbut this behavior can be enabled in the [[doku>config]] fileHintIf DokuWiki is a linkthen it's enabled
-  * Lorsque le titre d'une section est modifiéson ancrage change aussiNe comptez donc pas trop sur les liens vers les sections.+  * When a section's heading is changedits bookmark changes, tooSo don't rely on section linking too much. 
 ==== Interwiki ==== ==== Interwiki ====
  
Ligne 154: Ligne 158:
   {{wiki:dokuwiki-128.png }}   {{wiki:dokuwiki-128.png }}
   {{ wiki:dokuwiki-128.png }}   {{ wiki:dokuwiki-128.png }}
 +
 +You can also set the alignment explicitly with a ''?left'', ''?right'' or ''?center'' parameter. This takes precedence over the whitespace alignment above and can be combined with a size.
 +
 +{{wiki:dokuwiki-128.png?100&right}}
 +
 +  {{wiki:dokuwiki-128.png?100&right}}
  
 Of course, you can add a title (displayed as a tooltip by most browsers), too. Of course, you can add a title (displayed as a tooltip by most browsers), too.
wiki/syntax.1779002861.txt.gz · Dernière modification : de chs