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 [Le 07/12/2006, 01:32] 81.48.38.131wiki:syntax [Le 05/08/2026, 21:36] (Version actuelle) – créée - modification externe 127.0.0.1
Ligne 1: Ligne 1:
-====== Syntaxe de mise en page ======+====== Formatting Syntax ======
  
-[[wiki:DokuWiki]] supporte un language de balises simple, qui essaie de rendre les fichiers de données aussi lisibles que possible. Cette page contient toute la syntaxe possible que vous pourrez utiliser en éditant les pages. Regardez simplement le source de cette page en cliquant sur le bouton //Editer cette page// en haut ou en bas de cette page. Si vous souhaitez essayer quelque choserendez-vous dans le [[playground]]. Les balises les plus simples sont facilement accessibles depuis les +[[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.
-[[doku>wiki:quickbuttons|quickbuttons]], aussi.+
  
 +===== Basic Text Formatting =====
  
-===== Mise en forme de texte basique =====+DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts. Of course you can **__//''combine''//__** all these.
  
-DokuWiki supporte les textes en **gras**, //italique//, __souligné__ et ''à espace fixe''+  DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts
-Bien sûr, vous pouvez tous les **__//''combiner''//__**.+  Of course you can **__//''combine''//__** all these.
  
-  DokuWiki supporte les textes en **gras**, //italique//__souligné__ et ''à espace fixe''+Note that the formatting markers have to directly enclose the textso ''%%** bold **%%'' with spaces inside the markers will not be formatted.
-  Bien sûr, vous pouvez tous les **__//''combiner''//__**.+
  
-Vous pouvez aussi utiliser <sub>indice</sub> et <sup>exposant</sup>.+You can use <sub>subscript</sub> and <sup>superscript</sup>, too.
  
-  Vous pouvez aussi utiliser <sub>indice</sub> et <sup>exposant</sup>.+  You can use <sub>subscript</sub> and <sup>superscript</sup>, too.
  
-De plus, vous pouvez marquer du contenu comme <del>supprimé</del>.+You can mark something as <del>deleted</del> as well.
  
-  De plus, vous pouvez marquer du contenu comme <del>supprimé</del>.+  You can mark something as <del>deleted</del> as well.
  
-**Les paragraphes** sont créés depuis les lignes videsSi vous souhaitez **forcer un saut de ligne** sans paragraphevous pouvez utiliser deux antislashes suivis par un espace ou une fin de ligne.+**Paragraphs** are created from blank linesIf you want to **force a newline** without a paragraphyou can use two backslashes followed by a whitespace or the end of line.
  
-Voilà du texte avec des sauts de ligne\\ remarquez que les +This is some text with some linebreaks\\ Note that the 
-deux antislashes sont seulement reconnus en fin de ligne\\ +two backslashes are only recognized at the end of a line\\ 
-ou suivis par\\ un espace ; \\cela arrive sinon.+or followed by\\ a whitespace \\this happens without it.
  
-  Voilà du texte avec des sauts de ligne\\ remarquez que les +  This is some text with some linebreaks\\ Note that the 
-  deux antislashes sont seulement reconnus en fin de ligne\\ +  two backslashes are only recognized at the end of a line\\ 
-  ou suivis par\\ un espace ; \\cela arrive sinon.+  or followed by\\ a whitespace \\this happens without it.
  
-Vous devriez forcer des sauts de ligne uniquement si c'est réellement nécessaire.+You should use forced newlines only if really needed.
  
 +===== Links =====
  
-===== Liens =====+DokuWiki supports multiple ways of creating links.
  
-DokuWiki propose plusieurs moyens de créer des liens.+==== External ====
  
 +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.
  
-==== Externes ====+  DokuWiki supports multiple ways of creating links. External 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 recognized, too.
  
-Les liens externes sont reconnus automatiquement : http://www.google.fr ou simplement www.google.fr - Vous pouvez aussi donner des noms aux liens : [[http://www.google.fr|Ce lien pointe vers google]]. Les adresses email telles que celle-ci : <andi@splitbrain.org> sont également reconnues.+==== Internal ====
  
-  Les liens externes sont reconnus automatiquement : +Internal links are created by using square bracketsYou can either just give a [[pagename]] or use an additional [[pagename|link text]].
-  http://www.google.fr ou simplement www.google.fr - +
-  Vous pouvez aussi donner des noms aux liens: +
-  [[http://www.google.fr|Ce lien pointe vers google]]+
-  Les adresses email telles que celle-ci : +
-  <andi@splitbrain.org> sont également reconnues.+
  
-==== Internes ====+  Internal links are created by using square brackets. You can either just give 
 +  a [[pagename]] or use an additional [[pagename|link text]].
  
-Les liens internes sont créés en utilisant les crochets. Vous pouvez soit juste donner un [[doku>wiki:pagename]] ou utiliser un +[[doku>pagename|Wiki pagenames]] are converted to lowercase automaticallyspecial characters are not allowed.
-[[doku>wiki:pagename|titre]]. Les catégories (//pagenames//) wiki sont converties automatiquement en minusculesles caractères spéciaux ne sont pas autorisés.+
  
-  Les liens internes sont créés en utilisant les crochets. +You can use [[some:namespaces]] by using a colon in the pagename.
-  Vous pouvez soit juste donner un [[doku>wiki:pagename]] ou +
-  utiliser un [[doku>wiki:pagename|texte pour le titre]]. +
-  Les pages (//pagenames//) wiki sont converties +
-  automatiquement en minuscules, +
-  les caractères spéciaux ne sont pas autorisés.+
  
-Vous pouvez utiliser des [[wiki:namespaces|catégories]] (//namespaces//) en utilisant les //deux points// dans le nom de page //pagename//.+  You can use [[some:namespaces]] by using a colon in the pagename.
  
-  Vous pouvez utiliser des [[wiki:namespaces|catégories]] +For details about namespaces see [[doku>namespaces]].
-  (//namespaces//) en utilisant les //deux points// dans le +
-  nom de page //pagename//.+
  
-Pour plus de détails sur les catégories (//namespaces//)voir [[doku>wiki:namespaces]].+Linking to a specific section is possibletoo. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]].
  
-Les liens vers une section spécifique sont également possibles. Ajoutez simplement le nom de la section derrière un caractère dièse comme dans le HTML.+  This links to [[syntax#internal|this Section]].
  
-Ce lien renvoie vers [[syntax#internes|cette section]]. +Notes:
- +
-  Ce lien renvoie vers [[syntax#internes|cette section]]. +
- +
-Notes : +
- +
-  * Les liens vers des [[wiki:syntax|pages existantes]] sont montrés dans un style différent des pages [[wiki:inexistantes]]. +
-  * DokuWiki n'utilise pas la [[wp>CamelCase]] pour utiliser des liens par défaut, mais ce comportement peut être mis en place dans le fichier de [[doku>config]]. Astuce : si DokuWiki est un lien, alors c'est mis en place. +
-  * Lorsque le titre d'une section est modifié, alors le //bookmark// change aussi. Donc ne comptez pas trop sur les  liens de section.+
  
 +  * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones.
 +  * DokuWiki does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled.
 +  * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much.
  
 ==== Interwiki ==== ==== Interwiki ====
  
-DokuWiki propose les liens [[doku>wiki:interwiki|Interwiki]]. Ce sont des liens rapides vers d'autres Wikis. Par exemple ceci est un lien vers la définition des Wikis dans la Wikipedia version anglaise : [[wp>Wiki]] et celui-ci vers la version française de Wikipedia : [[wpfr>Wiki]]+DokuWiki supports [[doku>Interwiki]] linksThese are quick links to other Wikis. For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].
  
-  DokuWiki propose les liens [[doku>wiki:interwiki|Interwiki]]. +  DokuWiki supports [[doku>Interwiki]] linksThese are quick links to other Wikis. 
-  Ce sont des liens rapides vers d'autres Wikis. Par exemple  +  For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].
-  ceci est un lien vers la définition des Wikis dans la +
-  Wikipedia : [[wp>Wiki]] et celui-ci vers la version française de Wikipedia : [[wpfr>Wiki]]+
  
-==== Partages Windows ====+==== Windows Shares ====
  
-Les partages Windows tels que [[\\serveur\partage|ceci]] sont également reconnusVeuillez noter qu'ils n'ont un sens que dans un groupe +Windows shares like [[\\server\share|this]] are recognized, tooPlease note that these only make sense in a homogeneous user group like a corporate [[wp>Intranet]].
-d'utilisateurs homogène tels qu'un [[wp>Intranet]] d'entreprise.+
  
-  Les partages Windows tels que [[\\serveur\partage|ceci]]  +  Windows Shares like [[\\server\share|this]] are recognized, too.
-  sont également reconnus.+
  
-Notes :+Notes:
  
-  * Pour des raisons de sécurité, la navigation directe de partages Windows ne fonctionne que dans //Microsoft Internet Explorer// par défaut (et seulement dans la "local zone"). +  * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"). 
-  * Pour //Mozilla// et //Firefox//, elle peut être mise en place dans l'option de configuration [[http://www.mozilla.org/quality/networking/docs/netprefs.html#file|security.checkloaduri]] mais ceci n'est pas recommandé +  * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/lang/en/lang.php'' (more details at [[doku>localization#changing_some_localized_texts_and_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> 
-  Veuillez consulter [[bug>151]] pour plus d'informations+<?php 
 +/*
 + * Customization of the english language file 
 + * Copy only the strings that needs to be modified 
 + */ 
 +$lang['js']['nosmblinks'''; 
 +</code>
  
-==== Liens images ====+==== Image Links ====
  
-Vous pouvez aussi utiliser une image afin de créer un lien vers une autre page interne ou externe en combinant les syntaxes des liens et des images (voir ci-dessouscomme ceci :+You can also use an image to link to another internal or external page by combining the syntax for links and [[#images_and_other_files|images]] (see belowlike this:
  
-  [[http://www.php.net|{{wiki:dokuwiki-128.png}}]]+  [[http://php.net|{{wiki:dokuwiki-128.png}}]]
  
-[[http://www.php.net|{{wiki:dokuwiki-128.png}}]]+[[http://php.net|{{wiki:dokuwiki-128.png}}]]
  
-NB la mise en forme image est la seule syntaxe de mise en forme acceptée comme nom du lien.+Please noteThe image formatting is the only formatting syntax accepted in link names.
  
-===== Notes de pied de page =====+The whole [[#images_and_other_files|image]] and [[#links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki links).
  
-Vous pouvez ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant 2 doubles parenthèses.+===== Footnotes =====
  
-  Vous pouvez ajouter des notes de pied de page ((Ceci est +You can add footnotes ((This is a footnote)) by using double parentheses.
-  une note de pied de page)) en utilisant 2 doubles +
-  parenthèses.+
  
-===== Découpage en sections =====+  You can add footnotes ((This is a footnote)) by using double parentheses.
  
-Vous pouvez utiliser jusqu'à cinq différents niveaux de titres afin de structurer votre contenu. Si vous avez plus de trois titres, une table des matières est générée automatiquement -- ceci peut être désactivé en incluant la chaîne ''<nowiki>~~NOTOC~~</nowiki>'' dans le document.+===== Sectioning =====
  
-==== Titre niveau 3 ==== +You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''<nowiki>~~NOTOC~~</nowiki>'' in the document.
-=== Titre niveau 4 === +
-== Titre niveau 5 ==+
  
-  ==== Titre niveau 3 ==== +==== Headline Level 3 ==== 
-  === Titre niveau 4 === +=== Headline Level 4 === 
-  == Titre niveau 5 ==+== Headline Level 5 ==
  
-En utilisant quatre tirets ou plusvous pouvez créer une ligne horizontale :+  ==== Headline Level 3 ==== 
 +  === Headline Level 4 === 
 +  == Headline Level 5 == 
 + 
 +By using four or more dashesyou can make a horizontal line:
  
 ---- ----
  
-===== Images et autres fichiers =====+===== Media Files =====
  
-Vous pouvez inclure des [[doku>images]] externes et internes entre des accolades doublesVous pouvez spécifier leur taille en pixel après un ? (facultatif).+You can include external and internal [[doku>images|images, videos and audio files]] with curly bracketsOptionally you can specify the size of them.
  
-Taille réelle : +Real size                       {{wiki:dokuwiki-128.png}}
-{{wiki:dokuwiki-128.png}}+
  
-Redimension à une largeur donnée                 +Resize to given width           {{wiki:dokuwiki-128.png?50}}
-{{wiki:dokuwiki-128.png?50}}+
  
-Redimension à une largeur et une hauteur données : +Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:dokuwiki-128.png?200x50}}
-{{wiki:dokuwiki-128.png?200x50}}+
  
-Image externe redimensionnée                     +Resized external image          {{https://www.php.net/images/php.gif?200x50}}
-{{http://de3.php.net/images/php.gif?200x50}}+
  
-  Taille réelle                                    +  Real size                       {{wiki:dokuwiki-128.png}} 
-  {{wiki:dokuwiki-128.png}} +  Resize to given width           {{wiki:dokuwiki-128.png?50}} 
-  Redimension à une largeur donnée                 +  Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}} 
-  {{wiki:dokuwiki-128.png?50}} +  Resized external image          {{https://www.php.net/images/php.gif?200x50}}
-  Redimension à une largeur et une hauteur données : +
-  {{wiki:dokuwiki-128.png?200x50}} +
-  Image externe redimensionnée                     +
-  {{http://de3.php.net/images/php.gif?200x50}}+
  
  
-En utilisant des espaces à gauche ou à droite, vous pouvez choisir l'alignement+By using left or right whitespaces you can choose the alignment.
  
 {{ wiki:dokuwiki-128.png}} {{ wiki:dokuwiki-128.png}}
Ligne 178: Ligne 159:
   {{ wiki:dokuwiki-128.png }}   {{ wiki:dokuwiki-128.png }}
  
-Bien sûrvous pouvez aussi ajouter un titre (affiché comme une bulle d'info par la plupart des navigateurs).+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 |Ceci est le titre}}+{{wiki:dokuwiki-128.png?100&right}}
  
-  {{ wiki:dokuwiki-128.png |Ceci est le titre}}+  {{wiki:dokuwiki-128.png?100&right}}
  
-Si vous spécifiez un nom de fichier (externe ou interne) qui n'est pas une image (''gif,jpeg,png''), alors il sera affiché comme un lien et non comme une image.+Of course, you can add a title (displayed as a tooltip by most browsers), too.
  
-===== Listes =====+{{ wiki:dokuwiki-128.png |This is the caption}}
  
-DokuWiki supporte les listes ordonnées et non ordonnées. Pour créer un élément de liste, indentez votre texte par deux espaces et utilisez une ''*'' pour une liste non ordonnée ou un ''-'' pour une liste ordonnée.+  {{ wiki:dokuwiki-128.png |This is the caption}}
  
-  * Ceci est une liste +For linking an image to another page see [[#Image Links]] above.
-  * Le second élément +
-    * Vous pouvez avoir plusieurs niveaux +
-  * Un autre élément+
  
-  La même liste mais ordonnée +==== Supported Media Formats ==== 
-  - Un autre élément + 
-    - Utilisez simplement l'indentation pour des niveaux plus profonds +DokuWiki can embed the following media formats directly. 
-  - Et voilà+ 
 +| Image | ''gif'', ''jpg'', ''png'' 
 +| Video | ''webm'', ''ogv'', ''mp4''
 +| Audio | ''ogg'', ''mp3'', ''wav'' 
 +| Flash | ''swf''                    | 
 + 
 +If you specify a filename that is not a supported media format, then it will be displayed as a link instead. 
 + 
 +By adding ''?linkonly'' you provide a link to the media without displaying it inline 
 + 
 +  {{wiki:dokuwiki-128.png?linkonly}} 
 + 
 +{{wiki:dokuwiki-128.png?linkonly}} This is just a link to the image. 
 + 
 +==== Fallback Formats ==== 
 + 
 +Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. 
 + 
 +For example consider this embedded mp4 video: 
 + 
 +  {{video.mp4|A funny video}} 
 + 
 +When you upload a ''video.webm'' and ''video.ogv'' next to the referenced ''video.mp4'', DokuWiki will automatically add them as alternatives so that one of the three files is understood by your browser. 
 + 
 +Additionally DokuWiki supports a "poster" image which will be shown before the video has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would work. 
 + 
 +===== Lists ===== 
 + 
 +Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a ''*'' for unordered lists or a ''-'' for ordered ones. 
 + 
 +  * This is a list 
 +  * The second item 
 +    * You may have different levels 
 +  * Another item 
 + 
 +  The same list but ordered 
 +  - Another item 
 +    - Just use indention for deeper levels 
 +  - That's it
  
 <code> <code>
-  * Ceci est une liste +  * This is a list 
-  * Le second élément +  * The second item 
-    * Vous pouvez avoir plusieurs niveaux +    * You may have different levels 
-  * Un autre élément+  * Another item
  
-  - La même liste mais ordonnée +  - The same list but ordered 
-  - Un autre élément +  - Another item 
-    - Utilisez simplement l'indentation pour des niveaux plus profonds +    - Just use indention for deeper levels 
-  - Et voilà+  - That's it
 </code> </code>
  
-===== Emoticônes (Smileys) =====+Also take a look at the [[doku>faq:lists|FAQ on list items]]. 
 + 
 +===== Text Conversions ===== 
 + 
 +DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. 
 + 
 +The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, but can be configured to use other HTML as well. 
 + 
 +==== Text to Image Conversions ====
  
-DokuWiki transforme les [[wp>emoticon]]es généralement utilisés en leurs équivalents graphiquesPlus d'émoticônes (//smileys//) peuvent être placés dans le répertoire ''smiley'' et configurés dans le fichier ''conf/smileys.conf''. Voici une vue d'ensemble des émoticônes inclus dans DokuWiki.+DokuWiki converts commonly used [[wp>emoticon]]s to their graphical equivalentsThose [[doku>Smileys]] and other images can be configured and extendedHere is an overview of Smileys included in DokuWiki:
  
   * 8-) %%  8-)  %%   * 8-) %%  8-)  %%
Ligne 231: Ligne 255:
   * ;-) %%  ;-)  %%   * ;-) %%  ;-)  %%
   * ^_^ %%  ^_^  %%   * ^_^ %%  ^_^  %%
 +  * m(  %%  m(   %%
   * :?: %%  :?:  %%   * :?: %%  :?:  %%
   * :!: %%  :!:  %%   * :!: %%  :!:  %%
Ligne 237: Ligne 262:
   * DELETEME %% DELETEME %%   * DELETEME %% DELETEME %%
  
-===== Typographie =====+==== Text to HTML Conversions ====
  
-[[DokuWiki]] peut convertir de simples caractères de texte brut en leurs entités typographiques correctesVoici un exemple des caractères reconnus.+Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entitiesHere is an example of recognized characters.
  
 -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r)
Ligne 249: Ligne 274:
 </code> </code>
  
-NB : Ces conversions peuvent être interdites dans le fichier de configuration.+The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>entities|pattern file]].
  
-===== Citations =====+There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' and "double quotes". They can be turned off through a [[doku>config:typography|config option]].
  
-Parfois vous souhaitez marquer du texte afin de montrer que c'est une réponse ou un commentaire. Vous pouvez utiliser la syntaxe suivante :+===== Quoting =====
  
-  Je pense que nous devrions le faire +Some times you want to mark some text to show it's a reply or comment. You can use the following syntax:
-  > Non nous ne devrions pas +
-  >> Eh bien, je pense que si +
-  > Vraiment ? +
-  >> Oui ! +
-  >>> Alors faisons-le !+
  
-Je pense que nous devrions le faire +<code
-Non nous ne devrions pas +I think we should do it
->> Eh bien, je pense que si +
-> Vraiment ? +
->> Oui ! +
->>> Alors faisons-le !+
  
-===== Tableaux =====+> No we shouldn't
  
-DokuWiki propose une syntaxe simple pour créer des tableaux.+>> Well, I say we should
  
-^ Titre 1         ^ Titre 2           ^ Titre 3                             ^ +> Really?
-| Ligne 1 Col 1   | Ligne 1 Col 2     | Ligne 1 Col 3                       | +
-| Ligne 2 Col 1   | colonnes fusionnées (notez la double barre verticale)  || +
-| Ligne 3 Col 1   | Ligne 2 Col 2     | Ligne 2 Col 3                       |+
  
-Les lignes de tableau doivent commencer et terminer avec un //pipe// ''|'' pour des lignes normales ou avec un ''^'' pour les titres.+>> Yes!
  
-  ^ Titre 1         ^ Titre 2           ^ Titre 3                             ^ +>>> Then lets do it! 
-  | Ligne 1 Col 1   | Ligne 1 Col 2     | Ligne 1 Col 3                       | +</code>
-  | Ligne 2 Col 1   | colonnes fusionnées (notez la double barre verticale)  || +
-  | Ligne 3 Col 1   | Ligne 2 Col 2     | Ligne 2 Col 3                       |+
  
-Pour fusionner des cellules horizontalement (//colspan//), rendez simplement la cellule suivante complètement vide comme montré ci-dessus. Assurez-vous d'avoir toujours le même nombre de séparateurs de cellules !+I think we should do it
  
-Les titres de tableau verticaux sont également possibles.+> No we shouldn't
  
-|              ^ Titre 1                  ^ Titre 2          ^ +>> Well, I say we should
-^ Titre 3      | Ligne 1 Col 2            | Ligne 1 Col 3    | +
-^ Titre 4      | pas de fusion cette fois |                  | +
-^ Titre 5      | Ligne 2 Col 2            | Ligne 2 Col 3    |+
  
-Comme vous pouvez le constater, c'est le séparateur ('|' ou '^') précédant une cellule qui détermine son format :+> Really?
  
-  |              ^ Titre 1                  ^ Titre 2          ^ +>> Yes!
-  ^ Titre 3      | Ligne 1 Col 2            | Ligne 1 Col 3    | +
-  ^ Titre 4      | pas de fusion cette fois |                  | +
-  ^ Titre 5      | Ligne 2 Col 2            | Ligne 2 Col 3    |+
  
-Note : les fusions verticales (//rowspan//) ne sont pas possibles.+>>> Then lets do it!
  
-Vous pouvez également aligner le contenu du tableau. Ajoutez simplement au moins deux espaces blancs à l'extrémité opposée de votre texte : ajoutez deux espaces sur la gauche pour aligner à droite, deux espaces sur la droite pour aligner à gauche et deux espaces au moins à chaque extrémité pour centrer le texte.+===== Tables =====
  
-         Tableau avec alignement         ^^^ +DokuWiki supports a simple syntax to create tables. 
-|        droite|    centré   |gauche         + 
-|gauche              droite|    centré     |+Heading 1      Heading 2       Heading 3          
 +Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        | 
 +| Row 2 Col 1    some colspan (note the double pipe) |
 +Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        | 
 + 
 +Table rows have to start and end with a ''|'' for normal rows or a ''^'' for headers. 
 + 
 +  ^ Heading 1      ^ Heading 2       ^ Heading 3          ^ 
 +  Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        | 
 +  | Row 2 Col 1    | some colspan (note the double pipe) || 
 +  | Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        | 
 + 
 +To connect cells horizontally, just make the next cell completely empty as shown above. Be sure to have always the same amount of cell separators! 
 + 
 +Vertical tableheaders are possible, too. 
 + 
 +|              ^ Heading 1            ^ Heading 2          ^ 
 +^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        | 
 +^ Heading 4    | no colspan this time |                    | 
 +^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        | 
 + 
 +As you can see, it's the cell separator before a cell which decides about the formatting: 
 + 
 +  |              ^ Heading 1            ^ Heading 2          ^ 
 +  ^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        | 
 +  ^ Heading 4    | no colspan this time |                    | 
 +  ^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        | 
 + 
 +You can have rowspans (vertically connected cells) by adding ''%%:::%%'' into the cells below the one to which they should connect. 
 + 
 +^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ 
 +| Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | 
 +| Row 2 Col 1    | :::                        | Row 2 Col 3        | 
 +| Row 3 Col 1    | :::                        | Row 2 Col 3        | 
 + 
 +Apart from the rowspan syntax those cells should not contain anything else. 
 + 
 +  ^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ 
 +  | Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | 
 +  | Row 2 Col 1    | :::                        | Row 2 Col 3        | 
 +  | Row 3 Col 1    | :::                        | Row 2 Col 3        | 
 + 
 +You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. 
 + 
 +^           Table with alignment           ^^^ 
 +|         right|    center    |left          | 
 +|left          |         right|    center    |
 | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
  
-Voici à quoi ressemble le code source :+This is how it looks in the source:
  
-  ^          Tableau avec alignement         ^^^ +  ^           Table with alignment           ^^^ 
-  |        droite|    centré   |gauche         +  |         right|    center    |left          
-  |gauche              droite|    centré     |+  |left                  right|    center    |
   | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |   | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
  
-===== Blocs non analysés =====+Note: Vertical alignment is not supported.
  
-Vous pouvez inclure des blocs non analysés (//non parsed//) dans vos documents soit en les indentant avec au moins deux espaces (comme utilisé dans les examples précédant) ou en utilisant les tags ''code'' ou +===== No Formatting =====
-''file''.+
  
 +If you need to display text exactly like it is typed (without any formatting), enclose the area either with ''%%<nowiki>%%'' tags or even simpler, with double percent signs ''<nowiki>%%</nowiki>''.
 +
 +<nowiki>
 +This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.
 +</nowiki>
 +The same is true for %%//__this__ text// with a smiley ;-)%%.
 +
 +  <nowiki>
 +  This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it.
 +  </nowiki>
 +  The same is true for %%//__this__ text// with a smiley ;-)%%.
 +
 +===== Code Blocks =====
 +
 +You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags ''%%<code>%%'' or ''%%<file>%%''.
 +
 +  This is text is indented by two spaces.
  
 <code> <code>
-Ceci est du code préformaté, tous les espaces sont préservés comme       +This is preformatted code all spaces are preservedlike              <-this
-    <-ceci+
 </code> </code>
  
 <file> <file>
-Ceci est pratiquement la même chosemais vous pouvez l'utiliser pour montrer que vous avec cité un fichier.+This is pretty much the samebut you could use it to show that you quoted a file.
 </file> </file>
  
-Pour laisser l'analyseur ignorer complètement un bloc (//ie.// ne pas faire de mise en forme dedans), encadrez ce bloc soit avec des tags ''nowiki'' ou encore plus simple, avec des doubles caractères pourcent ''<nowiki>%%</nowiki>''.+Those blocks were created by this source:
  
-<nowiki> +    This is text is indented by two spaces.
-Voici du texte qui contient des adresses comme ceci : +
-http://www.spiltbrain.org et de la **mise en forme**, mais rien ne se passe. +
-</nowiki>+
  
-Consultez le source de cette page pour voir comment utiliser ces blocs.+  <code> 
 +  This is preformatted code all spaces are preserved: like              <-this 
 +  </code>
  
-===== Surlignement de syntaxe =====+  <file> 
 +  This is pretty much the same, but you could use it to show that you quoted a file. 
 +  </file>
  
-[[DokuWiki]] peut surligner du code sourcece qui facilite sa lectureIl utilise le Generic Syntax Highlighter +==== Syntax Highlighting ==== 
-[[http://qbnz.com/highlighter/|GeSHi]] -- donc n'importe quel langage reconnu par GeSHi est supportéLa syntaxe est la même que dans le bloc de code dans la section précédentmais cette fois le nom du langage utilisé est insérée dans le tag. Ex : ''%%<code java>%%''.+ 
 +[[wiki:DokuWiki]] can highlight sourcecodewhich makes it easier to readIt uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supportedThe syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag, e.g. ''<nowiki><code java></nowiki>'' or ''<nowiki><file java></nowiki>''.
  
 <code java> <code java>
 /** /**
- La classe HelloWorldApp implemente une application qui + The HelloWorldApp class implements an application that 
- affiche simplement "Hello World!" dans la sortie standard.+ simply displays "Hello World!" to the standard output.
  */  */
 class HelloWorldApp { class HelloWorldApp {
     public static void main(String[] args) {     public static void main(String[] args) {
-        System.out.println("Hello World!"); //Affiche la chaîne.+        System.out.println("Hello World!"); //Display the string.
     }     }
 } }
 </code> </code>
  
-Les identificateurs de langage suivants sont actuellement reconnus : //actionscriptadaapacheasmaspbashcaddclcadlisp, c, c_maccppcsharpcssdelphihtml4strictjavajavascriptlispluampasmnsisobjcoobasoracle8pascalperlphp-briefphppythonqbasicsmartysql, vb, vbnetvisualfoxproxml//+The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic//
  
-===== Inclure du code HTML ou PHP =====+There are additional [[doku>syntax_highlighting|advanced options]] available for syntax highlighting, such as highlighting lines or adding line numbers.
  
-Vous pouvez inclure du code HTML ou PHP pur dans vos documents en +==== Downloadable Code Blocks ====
-utilisant les tags ''html'' ou ''php'' comme ceci : +
-<code html4strict> +
-<html> +
-Ceci est du <font color="red" size="+1">HTML</font> +
-</html> +
-</code>+
  
-<html> +When you use the ''%%<code>%%'' or ''%%<file>%%'' syntax as above, you might want to make the shown code available for download as well. You can do this by specifying a file name after language code like this:
-Ceci est du <font color="red" size="+1">HTML</font> +
-</html>+
  
-<code php+<code> 
-<php> +<file php myexample.php> 
-echo 'Un logo généré par PHP:'; +<?php echo "hello world!"; ?
-echo '<img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="Logo PHP !" />'; +</file>
-</php>+
 </code> </code>
  
-<php> +<file php myexample.php> 
-echo 'Un logo généré par PHP:'+<?php echo "hello world!"; ?> 
-echo '<img src="' $_SERVER['PHP_SELF'] . '?=php_logo_guid('" alt="Logo PHP !" />'; +</file> 
-</php>+ 
 +If you don't want any highlighting but want a downloadable file, specify a dash (''-'') as the language code: ''%%<code - myfile.foo>%%''
 + 
 +===== RSS/ATOM Feed Aggregation ===== 
 +[[DokuWiki]] can integrate data from external XML feedsFor parsing the XML feeds, [[http://simplepie.org/|SimplePie]] is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters: 
 + 
 +^ Parameter  ^ Description ^ 
 +| any number | will be used as maximum number items to show, defaults to 8 | 
 +| reverse    | display the last items in the feed first | 
 +| author     | show item authors names | 
 +| date       | show item dates | 
 +| description| show the item description. All HTML tags will be stripped | 
 +| nosort     | do not sort the items in the feed | 
 +| //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h 12 hours). | 
 + 
 +The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered. 
 + 
 +By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the ''reverse'' parameter, or display the feed as is with ''nosort''. 
 + 
 +**Example:** 
 + 
 +  {{rss>http://slashdot.org/index.rss 5 author date 1h }} 
 + 
 +{{rss>http://slashdot.org/index.rss 5 author date 1h }} 
 + 
 + 
 +===== Control Macros ===== 
 + 
 +Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble:
  
-**NB** : L'inclusion de code HTML et PHP est impossible dans la +^ Macro           ^ Description | 
-configuration par défaut. Dans ce casle code est affiché au lieu d'être exécuté.+| %%~~NOTOC~~%%   | If this macro is found on the pageno table of contents will be created | 
 +| %%~~NOCACHE~~%% | DokuWiki caches all output by defaultSometimes this might not be wanted (eg. when the %%<php>%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call |
  
-===== Plugins de syntaxe =====+===== Syntax Plugins =====
  
-La syntaxe de DokuWiki peut être étendue par des [[doku>wiki:plugins|Plugins]]. La façon dont les //plugins// installés sont utilisés est décrite sur les pages de description appropriéesEn particulier, les //plugins// de syntaxe suivants sont disponibles sur cette installation de DokuWiki :+DokuWiki's syntax can be extended by [[doku>plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pagesThe following syntax plugins are available in this particular DokuWiki installation:
  
 ~~INFO:syntaxplugins~~ ~~INFO:syntaxplugins~~
  
-===== Traduction ===== 
-Cette page a été traduite par [[utilisateurs:djakoni]]. Vous pouvez trouver la version officielle [[doku>wiki:syntax|ici]]