Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine 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 Bogoris | wiki:syntax [Le 05/08/2026, 21:36] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | {{tag> | + | ====== Formatting Syntax ====== |
| - | ====== Syntaxe de mise en page ====== | + | [[doku> |
| - | [[wiki: | + | ===== Basic Text Formatting ===== |
| - | [[doku> | + | |
| - | ===== Mise en forme de texte basique ===== | + | DokuWiki supports **bold**, //italic//, __underlined__ and '' |
| - | DokuWiki | + | |
| - | Bien sûr, vous pouvez tous les **__//'' | + | Of course you can **__//'' |
| - | DokuWiki supporte les textes en **gras**, // | + | Note that the formatting markers have to directly enclose the text, so '' |
| - | Bien sûr, vous pouvez tous les **__//'' | + | |
| - | Vous pouvez aussi utiliser | + | You can use <sub>subscript</ |
| - | | + | |
| - | De plus, vous pouvez marquer du contenu comme <del>supprimé</ | + | You can mark something as <del>deleted</ |
| - | | + | |
| - | **Les paragraphes** sont créés depuis les lignes vides. Si vous souhaitez | + | **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. |
| - | 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 |
| - | | + | |
| - | | + | |
| - | | + | |
| - | 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: | ||
| - | Pour utiliser des //tags// (mots-clés) dans les pages du wiki : | + | DokuWiki supports multiple ways of creating links. External links are recognized |
| + | automagically: | ||
| + | link text as well: [[http://www.google.com|This Link points to google]]. Email | ||
| + | addresses like this one: < | ||
| - | {{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 espace. Pour avoir la liste des //tags// disponibles, | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
| - | [[http:// | + | |
| + | Internal links are created by using square brackets. You can either just give | ||
| + | a [[pagename]] or use an additional [[pagename|link text]]. | ||
| + | [[doku> | ||
| - | ==== TOPIC ==== | + | You can use [[some: |
| - | Pour lister les pages ayant un tag utilisez cette syntaxe | + | You can use [[some:namespaces]] by using a colon in the pagename. |
| - | < | + | For details about namespaces see [[doku>namespaces]]. |
| - | {{topic> | + | |
| - | </code> | + | |
| - | Si vous venez d' | + | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax# |
| - | ===== Liens ===== | + | This links to [[syntax# |
| - | 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> | ||
| + | * When a section' | ||
| - | ==== 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:// | + | DokuWiki supports [[doku> |
| - | | + | |
| - | http://www.google.fr ou simplement www.google.fr - | + | |
| - | | + | |
| - | | + | |
| - | Les adresses email telles que celle-ci : | + | |
| - | < | + | |
| + | ==== 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> |
| - | Les liens internes sont créés en utilisant les crochets. Vous pouvez soit juste donner un [[doku> | + | Windows Shares like [[\\server\share|this]] are recognized, too. |
| - | [[doku> | + | |
| - | Les liens internes sont créés en utilisant les crochets. | + | Notes: |
| - | Vous pouvez soit juste donner un [[doku> | + | |
| - | utiliser un [[doku> | + | |
| - | Les pages (// | + | |
| - | 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:// | ||
| + | <?php | ||
| + | /** | ||
| + | * Customization of the english language file | ||
| + | * Copy only the strings that needs to be modified | ||
| + | */ | ||
| + | $lang[' | ||
| + | </code> | ||
| - | Vous pouvez utiliser des [[wiki: | + | ==== Image Links ==== |
| - | (// | + | |
| - | nom de page // | + | |
| - | Pour plus de détails sur les catégories (// | + | You can also use an image to link to another internal or external page by combining the syntax for links and [[# |
| - | 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. | + | [[http:// |
| - | Ce lien renvoie vers [[syntax# | + | [[http:// |
| - | Ce lien renvoie vers [[syntax# | + | Please note: The image formatting is the only formatting |
| - | Notes : | + | The whole [[# |
| - | * Les liens vers des [[wiki: | + | ===== Footnotes ===== |
| - | * DokuWiki n' | + | |
| - | * Lorsque le titre d'une section est modifié, alors le // | + | |
| + | 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> | + | ===== Sectioning ===== |
| - | DokuWiki propose les liens [[doku> | + | 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 |
| - | 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' | + | === 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 // | + | |
| - | * Veuillez consulter [[bug> | + | |
| - | ==== 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: |
| - | [[http:// | + | Resize to given width: {{wiki: |
| - | [[http:// | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
| - | NB : la mise en forme image est la seule syntaxe de mise en forme acceptée comme nom du lien. | + | Resized external |
| - | ===== Notes de pied de page ===== | + | Real size: {{wiki: |
| + | Resize to given width: | ||
| + | Resize to given width and height: {{wiki: | ||
| + | Resized external image: {{https:// | ||
| - | 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: |
| - | Vous pouvez utiliser jusqu' | + | {{wiki: |
| - | ==== Titre niveau 3 ==== | + | {{ wiki: |
| - | === Titre niveau 4 === | + | |
| - | == Titre niveau 5 == | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | En utilisant quatre tirets ou plus, vous pouvez créer une ligne horizontale : | + | You can also set the alignment explicitly with a ''? |
| - | ---- | + | {{wiki: |
| - | ===== Images et autres fichiers ===== | + | {{wiki: |
| - | Vous pouvez inclure des [[doku> | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
| - | Taille réelle : | + | {{ wiki: |
| - | {{wiki: | + | |
| - | Redimension à une largeur donnée : | + | |
| - | {{wiki: | + | |
| - | Redimension à une largeur et une hauteur données : | + | For linking an image to another page see [[#Image Links]] above. |
| - | {{wiki: | + | |
| - | Image externe redimensionnée : | + | ==== Supported Media Formats ==== |
| - | {{http:// | + | |
| - | Taille réelle : | + | DokuWiki can embed the following media formats directly. |
| - | {{wiki: | + | |
| - | Redimension à une largeur donnée : | + | |
| - | {{wiki: | + | |
| - | Redimension à une largeur et une hauteur données : | + | |
| - | {{wiki: | + | |
| - | Image externe redimensionnée : | + | |
| - | {{http:// | + | |
| + | | Image | '' | ||
| + | | Video | '' | ||
| + | | Audio | '' | ||
| + | | Flash | '' | ||
| - | En utilisant des espaces à gauche ou à droite, vous pouvez choisir l' | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
| - | {{ wiki: | + | By adding ''? |
| - | {{wiki: | + | |
| - | {{ wiki: | + | {{wiki: |
| - | {{ wiki: | + | ==== Fallback Formats ==== |
| - | {{wiki: | + | |
| - | {{ wiki: | + | |
| - | Bien sûr, vous 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 problem, you 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: | + | {{video.mp4|A funny video}} |
| - | Si vous spécifiez un nom de fichier (externe ou interne) qui n'est pas une image ('' | + | When you upload a '' |
| + | Additionally DokuWiki supports a " | ||
| - | ===== Listes | + | ===== Lists ===== |
| - | 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 '' | + | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' |
| - | * Ceci est une liste | + | * This is a list |
| - | * Le second | + | * The second |
| - | * 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' | + | - Just use indention for deeper levels |
| - | - Et voilà | + | - That's it |
| < | < | ||
| - | * Ceci est une liste | + | * This is a list |
| - | * Le second | + | * The second |
| - | * 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' | + | - Just use indention for deeper levels |
| - | - Et voilà | + | - That's it |
| </ | </ | ||
| + | Also take a look at the [[doku> | ||
| + | ===== 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, | ||
| - | ===== Emoticônes (Smileys) ===== | + | ==== Text to Image Conversions |
| - | DokuWiki | + | 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]] | + | Typography: |
| -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| Ligne 280: | Ligne 274: | ||
| </ | </ | ||
| - | 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> |
| - | ===== Citations ===== | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' |
| - | 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 ! | + | |
| - | >>> | + | |
| - | 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 ! | + | |
| - | >>> | + | |
| - | ===== Tableaux ===== | + | > No we shouldn' |
| - | 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// '' | + | >> Yes! |
| - | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ | + | >>> |
| - | | 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 | | + | |
| - | Pour fusionner des cellules horizontalement (// | + | I think we should do it |
| - | Les titres de tableau verticaux sont également possibles. | + | > No we shouldn' |
| - | | ^ 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 (' | + | > 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 (// | + | >>> |
| - | Vous pouvez également aligner le contenu du tableau. Ajoutez simplement au moins deux espaces blancs à l' | + | ===== Tables ===== |
| - | ^ | + | DokuWiki supports a simple syntax to create tables. |
| - | | | + | |
| - | |gauche | + | ^ Heading 1 |
| + | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
| + | | Row 2 Col 1 | ||
| + | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
| + | |||
| + | Table rows have to start and end with a '' | ||
| + | |||
| + | ^ Heading 1 ^ Heading 2 | ||
| + | | ||
| + | | 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, | ||
| + | |||
| + | 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 '' | ||
| + | |||
| + | ^ 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 | ||
| + | | | ||
| + | |left | | ||
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | Voici à quoi ressemble le code source : | + | This is how it looks in the source: |
| - | ^ | + | ^ Table with alignment |
| - | | | + | | right| |
| - | |gauche | + | |left |
| | 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), | ||
| + | |||
| + | < | ||
| + | This is some text which contains addresses like this: http:// | ||
| + | </ | ||
| + | The same is true for %%// | ||
| + | |||
| + | < | ||
| + | This is some text which contains addresses like this: http:// | ||
| + | </ | ||
| + | The same is true for %%// | ||
| - | ===== Blocs non analysés | + | ===== Code Blocks |
| - | Vous pouvez inclure des blocs non analysés (//non parsed//) dans vos documents | + | You can include code blocks into your documents |
| - | '' | + | |
| + | This is text is indented by two spaces. | ||
| < | < | ||
| - | Ceci est du code préformaté, | + | This is preformatted |
| - | | + | |
| </ | </ | ||
| < | < | ||
| - | Ceci est pratiquement la même chose, mais vous pouvez l' | + | This is pretty much the same, but you could use it to show that you quoted a file. |
| </ | </ | ||
| - | Pour laisser l' | + | Those blocks were created by this source: |
| - | < | + | 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. | + | |
| - | </ | + | |
| - | Consultez le source de cette page pour voir comment utiliser ces blocs. | + | < |
| + | This is preformatted code all spaces are preserved: like <-this | ||
| + | </ | ||
| - | ===== Surlignement de syntaxe ===== | + | < |
| + | This is pretty much the same, but you could use it to show that you quoted a file. | ||
| + | </ | ||
| - | [[DokuWiki]] | + | ==== Syntax Highlighting ==== |
| - | [[http:// | + | |
| + | [[wiki:DokuWiki]] | ||
| <code java> | <code java> | ||
| /** | /** | ||
| - | | + | |
| - | | + | |
| */ | */ | ||
| class HelloWorldApp { | class HelloWorldApp { | ||
| public static void main(String[] args) { | public static void main(String[] args) { | ||
| - | System.out.println(" | + | System.out.println(" |
| } | } | ||
| } | } | ||
| </ | </ | ||
| - | Les identificateurs de langage suivants sont actuellement reconnus | + | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 |
| - | ===== Inclure du code HTML ou PHP ===== | + | There are additional [[doku> |
| - | Vous pouvez inclure du code HTML ou PHP pur dans vos documents en | + | ==== Downloadable Code Blocks ==== |
| - | utilisant les tags '' | + | |
| - | <code html4strict> | + | |
| - | < | + | |
| - | Ceci est du <font color=" | + | |
| - | </ | + | |
| - | </ | + | |
| - | <html> | + | When you use the '' |
| - | Ceci est du <font color=" | + | |
| - | </html> | + | |
| - | < | + | < |
| - | < | + | <file php myexample.php> |
| - | echo 'Un logo généré par PHP:'; | + | <?php echo "hello world!"; ?> |
| - | echo '<img src="' | + | </file> |
| - | </php> | + | |
| </ | </ | ||
| - | < | + | <file php myexample.php> |
| - | echo 'Un logo généré par PHP:'; | + | <? |
| - | echo '<img src="' | + | </ |
| - | </php> | + | |
| + | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
| + | |||
| + | ===== RSS/ATOM Feed Aggregation ===== | ||
| + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
| + | |||
| + | ^ Parameter | ||
| + | | any number | will be used as maximum number items to show, defaults to 8 | | ||
| + | | reverse | ||
| + | | author | ||
| + | | date | show item dates | | ||
| + | | description| show the item description. All HTML tags will be stripped | | ||
| + | | nosort | ||
| + | | //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: | ||
| + | |||
| + | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | ||
| + | |||
| + | **Example: | ||
| + | |||
| + | {{rss> | ||
| + | |||
| + | {{rss>http:// | ||
| + | |||
| + | |||
| + | ===== Control Macros ===== | ||
| + | |||
| + | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
| - | **NB** : L' | + | ^ Macro ^ Description | |
| - | configuration par défaut. Dans ce cas, le code est affiché au lieu d' | + | | %%~~NOTOC~~%% |
| + | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
| - | ===== Plugins | + | ===== Syntax |
| - | La syntaxe de DokuWiki | + | DokuWiki's syntax can be extended by [[doku> |
| ~~INFO: | ~~INFO: | ||
| - | ===== Traduction ===== | ||
| - | Cette page a été traduite par [[utilisateurs: | ||
