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 16:56] – admin | wiki:syntax [2023/02/28 09:40] (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 **__//'' | + | You can use < |
- | | + | |
- | Vous pouvez aussi utiliser | + | You can mark something as <del>deleted</del> as well. |
- | | + | |
- | 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. |
- | De plus, vous pouvez marquer un passage comme < | + | 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. | ||
- | **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 | + | 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. | + | |
- | Voici du texte avec des sauts de ligne\\ remarquez que les | + | ===== Links ===== |
- | 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. | + | DokuWiki supports multiple ways of creating links. |
- | ===== Liens ===== | + | ==== External |
- | DokuWiki propose plusieurs moyens pour créer des liens. | + | External links are recognized automagically: |
- | ==== Externes ==== | + | DokuWiki supports multiple ways of creating links. External links are recognized |
+ | automagically: | ||
+ | link text as well: [[http:// | ||
+ | addresses like this one: < | ||
- | Les liens externes sont reconnus « automatiquement » : http:// | + | ==== Internal ==== |
- | Les liens externes sont reconnus « automagiquement » : http://www.google.fr | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
- | 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> | + | [[doku> |
- | Les liens internes sont créés en utilisant les crochets. Vous pouvez soit | + | You can use [[some: |
- | 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. |
- | Vous pouvez utiliser des [[catégories]] (// | + | For details about namespaces see [[doku> |
- | Pour plus de détails sur les catégories (// | + | 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# |
- | Les liens vers une section spécifique sont également possibles. Ajoutez simplement le nom de la section après un caractère dièse (#) comme en HTML. Ce lien renvoie vers [[syntax#internes|cette section]]. | + | This links to [[syntax#internal|this Section]]. |
- | Ce lien renvoie vers [[syntax# | + | Notes: |
- | Notes : | + | |
- | + | * DokuWiki | |
- | | + | * When a section's heading is changed, its bookmark changes, too. So don't rely on section |
- | * DokuWiki | + | |
- | * Lorsque le titre d'une section est modifié, alors son lien change aussi. Donc ne comptez pas trop sur les liens de 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 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[' | ||
+ | </ | ||
- | Notes : | + | ==== Image Links ==== |
- | * Pour des raisons de sécurité, la navigation directe sur partages Windows ne fonctionne que dans //Microsoft Internet Explorer// par défaut (et seulement dans la « zone locale »). | + | 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: |
- | * Pour //Mozilla// et // | + | |
- | * Je viens de tester en passant la valeur à " | + | |
- | * Veuillez consulter [[dokubug> | + | |
+ | [[http:// | ||
- | ==== Liens images ==== | + | [[http:// |
- | 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 : | + | Please note: The image formatting is the only formatting syntax accepted in link names. |
- | | + | The whole [[# |
- | [[http:// | + | ===== Footnotes ===== |
- | NB : la mise en forme image est la seule syntaxe de mise en forme acceptée comme nom de lien. | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
- | Les syntaxes d' | + | You can add footnotes |
- | ===== Notes de pied de page ===== | + | ===== Sectioning |
- | Vous pouvez ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant des parenthèses doubles. | + | 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 ''< |
- | Vous pouvez ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant des parenthèses doubles. | + | ==== Headline Level 3 ==== |
+ | === Headline Level 4 === | ||
+ | == Headline Level 5 == | ||
+ | ==== Headline Level 3 ==== | ||
+ | === Headline Level 4 === | ||
+ | == Headline Level 5 == | ||
- | ===== Découpage en sections ===== | + | By using four or more dashes, you can make a horizontal line: |
- | + | ||
- | Vous pouvez utiliser jusqu' | + | |
- | ''< | + | |
- | + | ||
- | + | ||
- | + | ||
- | ==== Titre niveau 3 ==== | + | |
- | === Titre niveau 4 === | + | |
- | == Titre niveau 5 == | + | |
- | + | ||
- | ==== Titre niveau 3 ==== | + | |
- | === Titre niveau 4 === | + | |
- | == Titre niveau 5 == | + | |
- | + | ||
- | En utilisant quatre tirets ou plus, vous pouvez créer une ligne horizontale | + | |
---- | ---- | ||
+ | ===== Media Files ===== | ||
- | ===== Images et autres fichiers ===== | + | You can include external and internal |
- | + | ||
- | Vous pouvez inclure des [[doku>fr:images|images]] | + | |
- | Taille réelle | + | Real size: {{wiki: |
- | Redimensionnement à une largeur donnée | + | Resize to given width: {{wiki: |
- | Redimensionnement à une largeur et une hauteur données | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
- | Image externe redimensionnée | + | Resized external image: {{https://secure.php.net/ |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | En utilisant des espaces à gauche ou à droite, vous pouvez choisir l' | + | By using left or right whitespaces you can choose the alignment. |
{{ wiki: | {{ wiki: | ||
Ligne 165: | Ligne 157: | ||
{{ wiki: | {{ wiki: | ||
- | Bien sûr, vous pouvez aussi ajouter un titre (affiché comme une bulle d'aide par la plupart des navigateurs). | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
- | {{ wiki: | + | {{ wiki: |
- | {{ wiki: | + | {{ wiki: |
- | Si vous spécifiez un nom de fichier (externe ou interne) qui n'est pas une image ('' | + | For linking an image to another page see [[#Image Links]] above. |
- | Pour lier une image à une autre page, voir [[#Liens images]] ci-dessus. | + | ==== Supported Media Formats ==== |
- | ===== Listes ===== | + | DokuWiki can embed the following media formats directly. |
- | 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 '' | + | | Image | '' |
+ | | Video | '' | ||
+ | | Audio | '' | ||
+ | | Flash | '' | ||
- | * Ceci est une liste | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
- | * Le second élément | + | |
- | * Vous pouvez avoir plusieurs niveaux | + | |
- | * Un autre élément | + | |
- | | + | By adding ''? |
- | - Un autre élément | + | |
- | - Utilisez simplement l' | + | {{wiki: |
- | - Et voilà | + | |
+ | {{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 247: | ||
* ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
* ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
+ | * m( %% m( %% | ||
* :?: %% :?: %% | * :?: %% :?: %% | ||
* :!: %% :!: %% | * :!: %% :!: %% | ||
Ligne 227: | Ligne 254: | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
- | ===== Typographie ===== | + | ==== Text to HTML Conversions |
- | [[DokuWiki]] | + | Typography: |
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
Ligne 239: | Ligne 266: | ||
</ | </ | ||
- | 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. |
- | Vous pouvez inclure des blocs non analysés dans vos documents soit en les indentant avec au moins deux espaces (comme on peut le voir dans les exemples précédents) soit en utilisant les balises '' | + | ===== 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 ===== | ||
+ | |||
+ | 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 '' | ||
+ | |||
+ | 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> | + | ===== Embedding HTML and PHP ===== |
- | {{rss>http:// | + | You can embed raw HTML or PHP code into your documents by using the '' |
- | ===== Inclure du code HTML ou PHP ===== | + | HTML example: |
- | Vous pouvez inclure du code HTML ou PHP pur dans vos documents en utilisant les balises '' | ||
< | < | ||
< | < | ||
- | Ceci est du <font color="red" | + | This is some <span style="color:red;font-size:150%;">inline |
</ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </ | ||
</ | </ | ||
< | < | ||
- | Ceci est du <font color="red" | + | This is some <span style="color:red;font-size:150%;">inline |
</ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </ | ||
+ | |||
+ | PHP example: | ||
< | < | ||
<php> | <php> | ||
- | echo 'Un logo produit par PHP :'; | + | echo 'The PHP version: '; |
- | echo '<img src="' | + | echo phpversion(); |
+ | echo ' (generated inline HTML)'; | ||
</ | </ | ||
+ | <PHP> | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
</ | </ | ||
<php> | <php> | ||
- | echo 'Un logo produit par PHP :'; | + | echo 'The PHP version: '; |
- | echo '<img src="' | + | echo phpversion(); |
+ | echo ' (inline HTML)'; | ||
</ | </ | ||
+ | <PHP> | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
- | **NB** : L' | + | **Please Note**: HTML and PHP embedding is disabled by default in the configuration. |
- | ===== Extensions de syntaxe | + | ===== RSS/ATOM Feed Aggregation |
+ | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
- | La syntaxe de DokuWiki peut être étendue par des [[doku>fr:plugins|extensions]]. Comment utiliser les extensions installées est décrit dans leurs pages de description | + | ^ 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. If [[doku>config:htmlok|HTML]] is disabled all 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> | ||
+ | |||
+ | |||
+ | ===== Control Macros ===== | ||
+ | |||
+ | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
+ | |||
+ | ^ Macro ^ Description | | ||
+ | | %%~~NOTOC~~%% | ||
+ | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
+ | |||
+ | ===== Syntax Plugins ===== | ||
+ | |||
+ | DokuWiki' | ||
~~INFO: | ~~INFO: | ||
+ |
wiki/syntax.1227282981.txt.gz · Dernière modification : 2008/11/21 16:56 de admin