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 06/04/2007, 15:43] – modification coquille édition précédante concernant le non listing d'une page via topic Bogoriswiki:syntax [Le 05/08/2026, 21:36] (Version actuelle) – créée - modification externe 127.0.0.1
Ligne 1: Ligne 1:
-{{tag>wiki}}+====== Formatting Syntax ======
  
-====== Syntaxe de mise en page ======+[[doku>DokuWiki]] supports some simple markup language, which 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 something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.
  
-[[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 chose, rendez-vous dans le [[playground]]. Les balises les plus simples sont facilement accessibles depuis les +===== Basic Text Formatting =====
-[[doku>wiki:quickbuttons|quickbuttons]], aussi.+
  
-===== 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.
  
-===== TAG =====+===== Links =====
  
 +DokuWiki supports multiple ways of creating links.
  
-==== TAG : syntaxe ====+==== 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.
  
-Pour utiliser des //tags// (mots-clés) dans les pages du wiki :+  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.
  
-  {{tag>(liste des tag)}}+==== Internal ====
  
-À la place de « (liste des tag) », écrivez tous les //tags// qui peuvent être utilisés pour la page, séparés par une espacePour avoir la liste des //tags// disponibles, reportez-vous à l'index  +Internal links are created by using square bracketsYou can either just give a [[pagename]] or use an additional [[pagename|link text]].
-[[http://doc.ubuntu-fr.org/accueil?idx=category|Category]].+
  
 +  Internal links are created by using square brackets. You can either just give
 +  a [[pagename]] or use an additional [[pagename|link text]].
  
 +[[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed.
  
-==== TOPIC ====+You can use [[some:namespaces]] by using a colon in the pagename.
  
-Pour lister les pages ayant un tag utilisez cette syntaxe :+  You can use [[some:namespaces]] by using a colon in the pagename.
  
-<code> +For details about namespaces see [[doku>namespaces]].
-{{topic>nom_du_tag}} +
-</code>+
  
-Si vous venez d'ajouter un tag à une page et qu'une page listant les pages contenant ce tag via "le wikicode topic" ne contient pas votre pagecela est peut-être du au fait que votre page ne contient pas de titre de niveau 1Veillez à bien structurer votre page de manière sémantique (c'est-à-dire avec des titres etc.).+Linking to a specific section is possibletooJust add the section name behind a hash character as known from HTMLThis links to [[syntax#internal|this Section]].
  
-===== Liens =====+  This links to [[syntax#internal|this Section]].
  
-DokuWiki propose plusieurs moyens de créer des liens.+Notes:
  
 +  * 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.
  
-==== Externes ====+==== Interwiki ====
  
-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.+DokuWiki supports [[doku>Interwiki]] linksThese are quick links to other WikisFor example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].
  
-  Les liens externes sont reconnus automatiquement : +  DokuWiki supports [[doku>Interwiki]] linksThese are quick links to other Wikis
-  http://www.google.fr ou simplement www.google.fr - +  For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].
-  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.+
  
 +==== Windows Shares ====
  
-==== Internes ====+Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp>Intranet]].
  
-Les liens internes sont créés en utilisant les crochets. Vous pouvez soit juste donner un [[doku>wiki:pagename]] ou utiliser un +  Windows Shares like [[\\server\share|this]] are recognizedtoo.
-[[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. +Notes:
-  Vous pouvez soit juste donner un [[doku>wiki:pagename]] ou +
-  utiliser un [[doku>wiki:pagename|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//.+  * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"). 
 +  * 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> 
 +<?php 
 +/** 
 + * Customization of the english language file 
 + * Copy only the strings that needs to be modified 
 + */ 
 +$lang['js']['nosmblinks'] = ''; 
 +</code>
  
-  Vous pouvez utiliser des [[wiki:namespaces|catégories]] +==== Image Links ====
-  (//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]].+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 below) like this:
  
-Les liens vers une section spécifique sont également possiblesAjoutez simplement le nom de la section derrière un caractère dièse comme dans le HTML.+  [[http://php.net|{{wiki:dokuwiki-128.png}}]]
  
-Ce lien renvoie vers [[syntax#internes|cette section]].+[[http://php.net|{{wiki:dokuwiki-128.png}}]]
  
-  Ce lien renvoie vers [[syntax#internes|cette section]].+Please note: The image formatting is the only formatting syntax accepted in link names.
  
-Notes :+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).
  
-  * Les liens vers des [[wiki:syntax|pages existantes]] sont montrés dans un style différent des pages [[wiki:inexistantes]]. +===== Footnotes =====
-  * 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.+
  
 +You can add footnotes ((This is a footnote)) by using double parentheses.
  
-==== Interwiki ====+  You can add footnotes ((This is a footnote)) by using double parentheses.
  
-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]]+===== Sectioning =====
  
-  DokuWiki propose les liens [[doku>wiki:interwiki|Interwiki]]. +You can use up to five different levels of headlines to structure your contentIf 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.
-  Ce sont des liens rapides vers d'autres Wikis. Par exemple  +
-  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 ====+==== Headline Level 3 ==== 
 +=== Headline Level 4 === 
 +== Headline Level 5 ==
  
-Les partages Windows tels que [[\\serveur\partage|ceci]] sont également reconnus. Veuillez noter qu'ils n'ont un sens que dans un groupe +  ==== Headline Level 3 ==== 
-d'utilisateurs homogène tels qu'un [[wp>Intranet]] d'entreprise.+  === Headline Level 4 === 
 +  == Headline Level 5 ==
  
-  Les partages Windows tels que [[\\serveur\partage|ceci]]  +By using four or more dashes, you can make a horizontal line:
-  sont également reconnus.+
  
-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"). +===== Media Files =====
-  * 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é +
-  * Veuillez consulter [[bug>151]] pour plus d'informations+
  
-==== Liens images ====+You can include external and internal [[doku>images|images, videos and audio files]] with curly brackets. Optionally you can specify the size of them.
  
-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-dessous) comme ceci :+Real size                       {{wiki:dokuwiki-128.png}}
  
-  [[http://www.php.net|{{wiki:dokuwiki-128.png}}]]+Resize to given width           {{wiki:dokuwiki-128.png?50}}
  
-[[http://www.php.net|{{wiki:dokuwiki-128.png}}]]+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}}
  
-NB : la mise en forme image est la seule syntaxe de mise en forme acceptée comme nom du lien.+Resized external image:           {{https://www.php.net/images/php.gif?200x50}}
  
-===== Notes de pied de page =====+  Real size:                        {{wiki:dokuwiki-128.png}} 
 +  Resize to given width:            {{wiki:dokuwiki-128.png?50}} 
 +  Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}} 
 +  Resized external image:           {{https://www.php.net/images/php.gif?200x50}}
  
-Vous pouvez ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant 2 doubles parenthèses. 
  
-  Vous pouvez ajouter des notes de pied de page ((Ceci est +By using left or right whitespaces you can choose the alignment.
-  une note de pied de page)) en utilisant 2 doubles +
-  parenthèses.+
  
-===== Découpage en sections =====+{{ wiki:dokuwiki-128.png}}
  
-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.+{{wiki:dokuwiki-128.png }}
  
-==== Titre niveau 3 ==== +{{ wiki:dokuwiki-128.png }}
-=== Titre niveau 4 === +
-== Titre niveau 5 ==+
  
-  ==== Titre niveau 3 ==== +  {{ wiki:dokuwiki-128.png}} 
-  === Titre niveau 4 === +  {{wiki:dokuwiki-128.png }} 
-  == Titre niveau 5 ==+  {{ wiki:dokuwiki-128.png }}
  
-En utilisant quatre tirets ou plusvous pouvez créer une ligne horizontale :+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}}
  
-===== Images et autres fichiers =====+  {{wiki:dokuwiki-128.png?100&right}}
  
-Vous pouvez inclure des [[doku>images]] externes et internes entre des accolades doubles. Vous pouvez spécifier leur taille en pixel après un ? (facultatif).+Of course, you can add a title (displayed as a tooltip by most browsers), too.
  
-Taille réelle : +{{ wiki:dokuwiki-128.png |This is the caption}}
-{{wiki:dokuwiki-128.png}}+
  
-Redimension à une largeur donnée :                 +  {{ wiki:dokuwiki-128.png |This is the caption}}
-{{wiki:dokuwiki-128.png?50}}+
  
-Redimension à une largeur et une hauteur données : +For linking an image to another page see [[#Image Links]] above.
-{{wiki:dokuwiki-128.png?200x50}}+
  
-Image externe redimensionnée :                     +==== Supported Media Formats ====
-{{http://de3.php.net/images/php.gif?200x50}}+
  
-  Taille réelle :                                    +DokuWiki can embed the following media formats directly.
-  {{wiki:dokuwiki-128.png}} +
-  Redimension à une largeur donnée :                 +
-  {{wiki:dokuwiki-128.png?50}} +
-  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}}+
  
 +| Image | ''gif'', ''jpg'', ''png''  |
 +| Video | ''webm'', ''ogv'', ''mp4'' |
 +| Audio | ''ogg'', ''mp3'', ''wav''  |
 +| Flash | ''swf''                    |
  
-En utilisant des espaces à gauche ou à droitevous pouvez choisir l'alignement+If you specify a filename that is not a supported media formatthen it will be displayed as a link instead.
  
-{{ wiki:dokuwiki-128.png}}+By adding ''?linkonly'' you provide a link to the media without displaying it inline
  
-{{wiki:dokuwiki-128.png }}+  {{wiki:dokuwiki-128.png?linkonly}}
  
-{{ wiki:dokuwiki-128.png }}+{{wiki:dokuwiki-128.png?linkonly}} This is just a link to the image.
  
-  {{ wiki:dokuwiki-128.png}} +==== Fallback Formats ====
-  {{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).+Unfortunately not all browsers understand all video and audio formats. To mitigate the problemyou can upload your file in different formats for maximum browser compatibility.
  
-{{ wiki:dokuwiki-128.png |Ceci est le titre}}+For example consider this embedded mp4 video:
  
-  {{ wiki:dokuwiki-128.png |Ceci est le titre}}+  {{video.mp4|A funny video}}
  
-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.+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.
  
-===== Listes =====+===== Lists =====
  
-DokuWiki supporte les listes ordonnées et non ordonnéesPour créer un élément de listeindentez votre texte par deux espaces et utilisez une ''*'' pour une liste non ordonnée ou un ''-'' pour une liste ordonnée.+Dokuwiki supports ordered and unordered listsTo create a list itemindent your text by two spaces and use a ''*'' for unordered lists or a ''-'' for ordered ones.
  
-  * 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>
-  * 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>
  
 +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.
  
-===== Emoticônes (Smileys) =====+==== Text to Image Conversions ====
  
-DokuWiki transforme les [[wp>emoticones]] 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 262: Ligne 255:
   * ;-) %%  ;-)  %%   * ;-) %%  ;-)  %%
   * ^_^ %%  ^_^  %%   * ^_^ %%  ^_^  %%
 +  * m(  %%  m(   %%
   * :?: %%  :?:  %%   * :?: %%  :?:  %%
   * :!: %%  :!:  %%   * :!: %%  :!:  %%
Ligne 268: 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 280: 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 |
  
 +Note: Vertical alignment is not supported.
 +
 +===== No Formatting =====
 +
 +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 ;-)%%.
  
-===== Blocs non analysés =====+===== Code Blocks =====
  
-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édantou en utilisant les tags ''code'' ou +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>%%''.
-''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 avez 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]]