wiki:syntax
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| wiki:syntax [2008/11/21 15:56] – admin | wiki:syntax [2026/07/20 22:29] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== | + | ====== |
| - | [[DokuWiki]] | + | [[doku>DokuWiki]] |
| - | ===== Mise en forme de texte basique | + | ===== Basic Text Formatting |
| - | DokuWiki | + | DokuWiki |
| - | DokuWiki | + | DokuWiki |
| + | Of course you can **__//'' | ||
| - | Bien sûr, vous pouvez tous les **__//'' | + | Note that the formatting markers have to directly enclose the text, so '' |
| - | Bien sûr, vous pouvez tous les **__//'' | + | You can use < |
| - | Vous pouvez aussi utiliser | + | You can use <sub>subscript</ |
| - | Vous pouvez aussi utiliser | + | You can mark something as <del>deleted</del> as well. |
| - | De plus, vous pouvez marquer un passage comme <del>supprimé</ | + | You can mark something as <del>deleted</ |
| - | De plus, vous pouvez marquer un passage comme < | + | **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. |
| - | **Les paragraphes** sont créés à partir des lignes vides. Si vous souhaitez **forcer un saut de ligne** sans paragraphe, vous pouvez utiliser deux contre-obliques suivies par un espace ou une fin de ligne. | + | This is some text with some linebreaks\\ Note that the |
| + | two backslashes are only recognized at the end of a line\\ | ||
| + | or followed by\\ a whitespace \\this happens without it. | ||
| - | Voici du texte avec des sauts de ligne\\ remarquez que les | + | This is some text with some linebreaks\\ Note that the |
| - | deux contre-obliques sont reconnues uniquement en fin de ligne\\ | + | two backslashes are only recognized at the end of a line\\ |
| - | ou suivies par\\ un espace ; \\ceci se produit sinon. | + | or followed by\\ a whitespace |
| - | Voici du texte avec des sauts de ligne\\ remarquez que les | + | You should use forced newlines only if really needed. |
| - | deux contre-obliques sont reconnues uniquement en fin de ligne\\ | + | |
| - | ou suivies par\\ un espace ; \\ceci se produit sinon. | + | |
| - | Vous ne devriez forcer des sauts de ligne que si c'est vraiment nécessaire. | + | ===== Links ===== |
| - | ===== Liens ===== | + | DokuWiki supports multiple ways of creating links. |
| - | DokuWiki propose plusieurs moyens pour créer des liens. | + | ==== External ==== |
| - | ==== Externes ==== | + | External links are recognized automagically: |
| - | Les liens externes sont reconnus « automatiquement » : http:// | + | DokuWiki supports multiple ways of creating links. External links are recognized |
| + | automagically: http:// | ||
| + | link text as well: [[http:// | ||
| + | addresses like this one: < | ||
| - | Les liens externes sont reconnus « automagiquement » : http:// | + | ==== Internal ==== |
| - | ou simplement www.google.fr - Vous pouvez aussi donner des noms aux | + | |
| - | liens : [[http:// | + | |
| - | de courriel comme celle-ci : < | + | |
| - | ==== 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>fr:pagename|nom de page]] soit utiliser un [[doku>fr:pagename|texte pour le titre]]. Les noms de pages (// | + | Internal links are created by using square brackets. You can either just give |
| + | a [[pagename]] | ||
| - | Les liens internes sont créés en utilisant les crochets. Vous pouvez soit | + | [[doku> |
| - | juste donner un [[nom de page]] soit utiliser un | + | |
| - | [[nom de page|texte pour le titre]]. Les noms de pages (// | + | |
| - | sont convertis automatiquement en minuscules ; les caractères spéciaux ne | + | |
| - | sont pas autorisés. | + | |
| - | Vous pouvez utiliser des [[doku>fr:namespace|catégories]] (// | + | You can use [[some:namespaces]] by using a colon in the pagename. |
| - | | + | |
| - | Pour plus de détails sur les catégories (//namespaces//), voir [[doku>fr: | + | For details about namespaces |
| - | Les liens vers une section | + | Linking to a specific |
| - | | + | |
| - | Notes : | + | Notes: |
| - | * Les liens vers des [[syntax|pages | + | * Links to [[syntax|existing |
| - | * DokuWiki | + | * DokuWiki |
| - | * Lorsque le titre d'une section est modifié, alors son lien change aussi. Donc ne comptez pas trop sur les liens de section. | + | * When a section's heading is changed, its bookmark changes, too. So don't rely on section |
| ==== Interwiki ==== | ==== Interwiki ==== | ||
| - | DokuWiki | + | DokuWiki |
| - | DokuWiki | + | DokuWiki |
| - | liens rapides vers d' | + | |
| - | | + | |
| + | ==== Windows Shares ==== | ||
| + | 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> | ||
| - | ==== Partages | + | |
| - | Les partages Windows tels que [[\\serveurnt4\partage|ceci]] sont également reconnus. Veuillez noter qu'ils n'ont un sens que dans un groupe d' | + | Notes: |
| - | | + | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer |
| - | + | * For Mozilla | |
| - | Notes : | + | <?php |
| - | + | /** | |
| - | | + | * Customization of the english language file |
| - | * Pour //Mozilla// et //Firefox//, elle peut être mise en place dans l' | + | * Copy only the strings that needs to be modified |
| - | * Je viens de tester en passant la valeur à " | + | */ |
| - | * Veuillez consulter | + | $lang[' |
| - | + | </code> | |
| - | + | ||
| - | ==== Liens images ==== | + | |
| - | + | ||
| - | 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 et autres fichiers|images]] (voir plus bas) comme ceci : | + | |
| - | + | ||
| - | [[http:// | + | |
| - | [[http:// | + | ==== Image Links ==== |
| - | NB : la mise en forme image est la seule syntaxe de mise en forme acceptée comme nom de lien. | + | You can also use an image to link to another internal or external page by combining the syntax for links and [[# |
| - | Les syntaxes d'[[#Images et autres fichiers|image]] complète et de [[#Liens]] sont possibles (incluant le redimensionnement d' | + | |
| - | ===== Notes de pied de page ===== | + | [[http:// |
| - | Vous pouvez ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant des parenthèses doubles. | + | Please |
| - | Vous pouvez ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant des parenthèses doubles. | + | The whole [[# |
| + | ===== Footnotes ===== | ||
| - | ===== Découpage en sections ===== | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
| - | Vous pouvez utiliser jusqu' | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
| - | ''< | + | |
| + | ===== Sectioning ===== | ||
| + | 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 ''< | ||
| - | ==== Titre niveau | + | ==== Headline Level 3 ==== |
| - | === Titre niveau | + | === Headline Level 4 === |
| - | == Titre niveau | + | == Headline Level 5 == |
| - | ==== Titre niveau | + | ==== Headline Level 3 ==== |
| - | === Titre niveau | + | === Headline Level 4 === |
| - | == Titre niveau | + | == Headline Level 5 == |
| - | En utilisant quatre tirets ou plus, vous pouvez créer une ligne horizontale | + | By using four or more dashes, you can make a horizontal line: |
| ---- | ---- | ||
| + | ===== Media Files ===== | ||
| - | ===== Images et autres fichiers ===== | + | You can include external and internal [[doku> |
| - | Vous pouvez inclure des [[doku> | + | Real size: |
| - | Taille réelle | + | Resize to given width: {{wiki: |
| - | Redimensionnement à une largeur donnée | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
| - | Redimensionnement à une largeur et une hauteur données | + | Resized external image: {{https://www.php.net/ |
| - | Image externe redimensionnée | + | Real size: {{wiki: |
| + | Resize to given width: | ||
| + | Resize to given width and height: {{wiki: | ||
| + | Resized external image: {{https://www.php.net/ | ||
| - | Taille réelle : {{wiki: | ||
| - | Redimensionnement à une largeur donnée : | ||
| - | Redimensionnement à une largeur et une hauteur données : {{wiki: | ||
| - | Image externe redimensionnée : | ||
| - | + | By using left or right whitespaces you can choose the alignment. | |
| - | En utilisant des espaces à gauche ou à droite, vous pouvez choisir l' | + | |
| {{ wiki: | {{ wiki: | ||
| Ligne 165: | Ligne 159: | ||
| {{ wiki: | {{ wiki: | ||
| - | Bien sûr, vous pouvez aussi ajouter un titre (affiché comme une bulle d'aide par la plupart des navigateurs). | + | You can also set the alignment explicitly with a ''? |
| - | {{ wiki: | + | {{wiki: |
| - | {{ wiki: | + | {{wiki: |
| - | Si vous spécifiez un nom de fichier | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
| - | Pour lier une image à une autre page, voir [[#Liens images]] ci-dessus. | + | {{ wiki: |
| - | ===== Listes ===== | + | {{ wiki: |
| - | DokuWiki accepte 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 '' | + | For linking an image to another page see [[#Image Links]] above. |
| - | * Ceci est une liste | + | ==== Supported Media Formats ==== |
| - | * Le second élément | + | |
| - | * Vous pouvez avoir plusieurs niveaux | + | |
| - | * Un autre élément | + | |
| - | | + | DokuWiki can embed the following media formats directly. |
| - | - Un autre élément | + | |
| - | - Utilisez simplement l' | + | | Image | '' |
| - | - Et voilà | + | | Video | '' |
| + | | Audio | '' | ||
| + | | Flash | '' | ||
| + | |||
| + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | ||
| + | |||
| + | By adding ''? | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | ==== 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: | ||
| + | |||
| + | | ||
| + | |||
| + | When you upload a '' | ||
| + | |||
| + | Additionally DokuWiki supports a " | ||
| + | |||
| + | ===== Lists ===== | ||
| + | |||
| + | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
| + | |||
| + | * This is a list | ||
| + | * The second item | ||
| + | | ||
| + | * Another item | ||
| + | |||
| + | | ||
| + | - Another item | ||
| + | - Just use indention for deeper levels | ||
| + | - 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 221: | Ligne 255: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Ligne 227: | Ligne 262: | ||
| * DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
| - | ===== Typographie ===== | + | ==== Text to HTML Conversions |
| - | [[DokuWiki]] | + | Typography: |
| -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| Ligne 239: | Ligne 274: | ||
| </ | </ | ||
| - | NB : Ces conversions peuvent être désactivées par une option dans le fichier de configuration ou un fichiers de motifs. | + | 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 | + | < |
| + | I think we should do it | ||
| - | > Non nous ne devrions pas | + | > No we shouldn' |
| - | >> | + | >> |
| - | > Vraiment | + | > Really? |
| - | >> | + | >> |
| - | >>> | + | >>> |
| + | </ | ||
| - | ===== Tableaux ===== | + | I think we should do it |
| - | DokuWiki propose une syntaxe simple pour créer des tableaux. | + | > No we shouldn' |
| - | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ | + | >> Well, I say we should |
| - | | 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 se terminer avec une //barre verticale// '' | + | > Really? |
| - | ^ Titre 1 ^ Titre 2 ^ Titre 3 ^ | + | >> Yes! |
| - | | 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, | + | >>> |
| - | Les titres de tableau verticaux sont également possibles. | + | ===== Tables ===== |
| - | | ^ Titre 1 ^ Titre 2 ^ | + | DokuWiki supports a simple syntax to create tables. |
| - | ^ 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 (' | + | ^ 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 '' |
| - | ^ 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 | | + | |
| - | NB : les fusions verticales ne sont pas possibles. | + | ^ 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 | | ||
| - | Vous pouvez également aligner les contenus du tableau. Ajoutez simplement au moins deux espaces à l' | + | 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. |
| - | | | + | |
| - | |gauche | + | | |
| + | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ||
| + | ^ Heading 4 | no colspan this time | | | ||
| + | ^ Heading 5 | ||
| + | |||
| + | 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 | ||
| + | ^ 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 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 | right| | ||
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | Voici à quoi ça ressemble dans le code source : | + | This is how it looks in the source: |
| - | ^ | + | ^ Table with alignment |
| - | | | + | | right| |
| - | |gauche | + | |left |
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | ===== Blocs non analysés | + | 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 %%// | ||
| + | |||
| + | ===== Code Blocks | ||
| - | Vous pouvez inclure des blocs non analysés 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 code source de cette page pour voir comment utiliser ces blocs. | + | <code> |
| + | This is preformatted code all spaces are preserved: like <-this | ||
| + | </ | ||
| - | ===== Coloration syntaxique ===== | + | < |
| + | This is pretty much the same, but you could use it to show that you quoted a file. | ||
| + | </ | ||
| - | [[DokuWiki]] | + | ==== Syntax Highlighting ==== |
| + | |||
| + | [[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 |
| + | There are additional [[doku> | ||
| + | ==== Downloadable Code Blocks ==== | ||
| + | When you use the '' | ||
| - | ===== Agrégation de fils RSS/ATOM ===== | + | < |
| - | [[DokuWiki]] peut agréger les données de fils XML externes. Pour l' | + | <file php myexample.php> |
| + | <?php echo "hello world!"; | ||
| + | </file> | ||
| + | </code> | ||
| - | ^ Paramètre | + | <file php myexample.php> |
| - | | tout nombre | sera utilisé comme le nombre maximum d' | + | <?php echo "hello world!"; |
| - | | reverse | + | </file> |
| - | | author | + | |
| - | | date | affiche les dates des éléments | | + | |
| - | | description | affiche les descriptions des éléments. Si [[doku>config# | + | |
| - | | // | + | |
| - | La durée de rafraîchissement est par défaut de 4 heures. Toute valeur inférieure à 10 minutes sera traitée comme 10 minutes. [[DokuWiki]] essaiera en général de fournir une version de la page à partir du cache, évidemment, | + | If you don't want any highlighting but want a downloadable file, specify |
| - | **Exemple | + | ===== RSS/ATOM Feed Aggregation ===== |
| + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
| - | {{rss> | + | ^ 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). | | ||
| - | {{rss> | + | 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: |
| - | ===== Inclure du code HTML ou PHP ===== | + | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' |
| - | Vous pouvez inclure du code HTML ou PHP pur dans vos documents en utilisant les balises '' | + | **Example:** |
| - | < | + | |
| - | < | + | |
| - | Ceci est du <font color=" | + | |
| - | </ | + | |
| - | </ | + | |
| - | <html> | + | {{rss>http://slashdot.org/ |
| - | Ceci est du <font color=" | + | |
| - | </html> | + | |
| - | <code> | + | {{rss>http://slashdot.org/index.rss 5 author date 1h }} |
| - | < | + | |
| - | echo 'Un logo produit par PHP :'; | + | |
| - | echo '< | + | |
| - | </php> | + | |
| - | </code> | + | |
| - | <php> | ||
| - | echo 'Un logo produit par PHP :'; | ||
| - | echo '< | ||
| - | </ | ||
| - | **NB** : L' | + | ===== Control Macros ===== |
| - | ===== Extensions de syntaxe ===== | + | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: |
| - | La syntaxe de DokuWiki | + | ^ Macro ^ Description | |
| + | | %%~~NOTOC~~%% | ||
| + | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
| + | |||
| + | ===== Syntax Plugins ===== | ||
| + | |||
| + | DokuWiki's syntax can be extended by [[doku> | ||
| ~~INFO: | ~~INFO: | ||
| + | |||
wiki/syntax.txt · Dernière modification : de 127.0.0.1
