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 14/01/2009 à 16:45] – 82.248.95.117 | wiki:syntax [Le 15/08/2022 à 14:43] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== |
- | WikiSquare utilise un langage de balises | + | [[doku> |
- | ===== Mise en forme de texte basique | + | ===== Basic Text Formatting |
- | WikiSquare accepte les textes en **gras**, //italique//, __souligné__ et '' | + | DokuWiki supports |
- | Bien sûr, ils peuvent tous être **__//'' | + | |
- | | + | |
- | | + | |
- | On peut aussi utiliser | + | You can use <sub>subscript</ |
- | | + | |
- | WikiSquare permet\\ d' | + | You can mark something as < |
- | | + | |
- | WikiSquare permet la <color red> | + | **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. |
- | WikiSquare permet la <color red> | + | 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. | ||
+ | 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. | ||
- | < | + | You should use forced newlines only if really needed. |
- | < | + | ===== Links ===== |
- | ===== Liens ===== | + | DokuWiki supports multiple ways of creating links. |
- | WikiSquare propose plusieurs moyens pour créer des liens. | + | ==== External ==== |
+ | 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 " | + | ==== Internal ==== |
- | Les liens externes sont reconnus " | + | 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 - On peut aussi donner des noms aux | + | |
- | liens : [[http:// | + | |
- | email telles que celle-ci : < | + | |
+ | Internal links are created by using square brackets. You can either just give | ||
+ | a [[pagename]] or use an additional [[pagename|link text]]. | ||
+ | [[doku> | ||
+ | You can use [[some: | ||
+ | You can use [[some: | ||
+ | For details about namespaces see [[doku> | ||
- | ==== Internes ==== | + | 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 internes sont créés en utilisant les crochets. Vous pouvez soit juste donner un [[doku> | + | This links to [[syntax# |
- | 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: | + | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. |
+ | * DokuWiki does not use [[wp> | ||
+ | * When a section' | ||
- | Vous pouvez utiliser des [[wiki: | + | ==== Interwiki ==== |
- | (// | + | |
- | nom de page // | + | |
- | <note important> | + | DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia' |
- | Pour plus de facilité, toutes les pages internes au wiki sont au **singulier**, | + | |
- | </note> | + | |
- | < | + | DokuWiki supports |
- | Pour plus de détails sur les catégories (// | + | For example this is a link to Wikipedia' |
- | </note> | + | |
- | 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. | + | ==== Windows Shares ==== |
- | Ce lien renvoie vers [[syntax# | + | 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 vers des [[wiki: | + | |
- | * WikiSquare n' | + | |
- | * Lorsque le titre d'une section est modifié, alors le // | + | |
- | + | ||
- | + | ||
- | ==== Interwiki ==== | + | |
- | DokuWiki propose les liens [[doku> | + | Notes: |
- | | + | |
- | vers d'autres Wikis. Par exemple ceci est un lien vers la définition des Wikis dans la | + | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// |
- | Wikipedia | + | |
+ | LANG.nosmblinks = ''; | ||
- | ==== Liens images | + | ==== Image Links ==== |
- | On peut 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 : | + | You can also use an image to link to another internal or external |
[[http:// | [[http:// | ||
Ligne 100: | Ligne 96: | ||
[[http:// | [[http:// | ||
- | <note important> | + | Please |
- | La mise en forme image est la seule syntaxe de mise en forme acceptée comme nom du lien. | + | |
- | </ | + | |
- | ===== Notes de pied de page ===== | + | The whole [[# |
- | On peut ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant 2 doubles parenthèses. | + | ===== Footnotes ===== |
- | On peut ajouter des notes de pied de page ((Ceci est une note de pied de page)) en utilisant 2 doubles parenthèses. | + | You can add footnotes |
+ | You can add footnotes ((This is a footnote)) by using double parentheses. | ||
- | ===== Titres et sous-titres | + | ===== Sectioning |
- | On peut utiliser jusqu' | + | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, |
- | ''< | + | |
+ | ==== Headline Level 3 ==== | ||
+ | === Headline Level 4 === | ||
+ | == Headline Level 5 == | ||
- | ==== Titre niveau | + | |
- | === Titre niveau | + | === Headline Level 4 === |
- | == Titre niveau | + | == Headline Level 5 == |
- | ==== Titre niveau 3 ==== | + | By using four or more dashes, you can make a horizontal line: |
- | === Titre niveau 4 === | + | |
- | == Titre niveau 5 == | + | |
- | + | ||
- | En utilisant quatre tirets ou plus, on peut créer une ligne horizontale | + | |
---- | ---- | ||
+ | ===== Media Files ===== | ||
+ | You can include external and internal [[doku> | ||
+ | Real size: {{wiki: | ||
- | ===== Images et vidéos ===== | + | Resize to given width: {{wiki: |
- | + | ||
- | ==== Images ==== | + | |
- | + | ||
- | On peut inclure des [[doku> | + | |
- | + | ||
- | Taille réelle | + | |
- | + | ||
- | Redimension à une largeur donnée : {{wiki: | + | |
- | + | ||
- | Redimension à une hauteur donnée : | + | |
- | Redimension à une largeur et une hauteur données | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
- | Image externe redimensionnée | + | Resized external image: |
- | | + | |
- | | + | |
- | | + | |
- | Redimension à une largeur et une hauteur données | + | |
- | | + | |
- | 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 167: | Ligne 152: | ||
{{ wiki: | {{ wiki: | ||
- | Bien sûr, on peut aussi ajouter un titre (affiché comme une bulle d'info par la plupart des navigateurs). | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
- | {{ wiki: | + | {{ wiki: |
- | {{ wiki: | + | {{ wiki: |
- | Et grâce à de simples '' | + | For linking an image to another page see [[#Image Links]] above. |
- | [{{wiki: | + | ==== Supported Media Formats ==== |
- | <clear /> | + | DokuWiki can embed the following media formats directly. |
- | [{{wiki: | + | |
- | < | + | | Image | '' |
+ | | Video | '' | ||
+ | | Audio | '' | ||
+ | | Flash | '' | ||
- | ==== Vidéos ==== | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
- | Pour insérer des vidéos, voila la syntaxe : <video youtube> | + | ==== Fallback Formats ==== |
- | Pour insérer des vidéos, voila la syntaxe : <video youtube> | + | 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. |
- | Vous pouvez aussi mettre " | + | For example consider this embedded mp4 video: |
- | | + | |
- | < | + | When you upload a '' |
- | ===== Listes ===== | + | Additionally DokuWiki supports a " |
- | 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 '' | + | ===== Lists ===== |
- | | + | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' |
- | * Le second élément | + | |
- | * Vous pouvez avoir plusieurs niveaux | + | |
- | * Un autre élément | + | |
- | - La même liste mais ordonnée | + | |
- | - Un autre élément | + | * The second item |
- | - Utilisez simplement l' | + | * You may have different levels |
- | - Et voilà | + | * 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, | ||
- | ===== Smileys ===== | + | ==== Text to Image Conversions |
- | DokuWiki | + | DokuWiki |
- | < | ||
* 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
* 8-O %% 8-O %% | * 8-O %% 8-O %% | ||
Ligne 238: | Ligne 231: | ||
* :-D %% :-D %% | * :-D %% :-D %% | ||
* :-P %% :-P %% | * :-P %% :-P %% | ||
- | </ | ||
- | < | ||
* :-O %% :-O %% | * :-O %% :-O %% | ||
* :-X %% :-X %% | * :-X %% :-X %% | ||
Ligne 250: | Ligne 241: | ||
* FIXME %% FIXME %% | * FIXME %% FIXME %% | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
- | </ | ||
- | <clear /> | + | ==== Text to HTML Conversions ==== |
- | ===== Typographie ===== | + | Typography: |
- | + | ||
- | [[: | + | |
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
Ligne 266: | Ligne 254: | ||
</ | </ | ||
- | ===== Commentaires ===== | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> |
- | Il existe une syntaxe qui permet la mise en forme de votre commentaire. Celle-ci est toute simple | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' |
- | < | + | ===== Quoting ===== |
- | <com Votre pseudo (ou adresse ip)|jour d'aujourd' | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
- | ==== Avoir son propre avatar ==== | + | I think we should do it |
+ | |||
+ | > No we shouldn' | ||
+ | |||
+ | >> Well, I say we should | ||
+ | |||
+ | > Really? | ||
+ | |||
+ | >> Yes! | ||
+ | |||
+ | >>> | ||
- | Remarquez qu'une image s'est affichée dans le commentaire ci-dessus, celle-ci c'est l' | + | I think we should do it |
- | **Comment ajouter la votre ?** | + | > No we shouldn' |
- | Vous devez être [[http:// | + | >> Well, I say we should |
- | ===== Citations ===== | + | > Really? |
- | Parfois on souhaite marquer du texte afin de montrer que c'est une réponse ou un commentaire. On peut utiliser la syntaxe suivante : | + | >> Yes! |
- | Je pense que nous devrions le faire | + | >>> |
- | > Non nous ne devrions pas | + | ===== Tables ===== |
- | >> Eh bien, je pense que si | + | DokuWiki supports a simple syntax to create tables. |
- | > Vraiment ? | + | ^ 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 | | ||
- | >> Oui ! | + | Table rows have to start and end with a '' |
- | | + | |
+ | | 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 | | ||
- | Je pense que nous devrions le faire | + | To connect cells horizontally, |
- | > Non nous ne devrions pas | + | Vertical tableheaders are possible, too. |
- | >> Eh bien, je pense que si | + | | ^ 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 | | ||
- | > Vraiment ? | + | As you can see, it's the cell separator before a cell which decides about the formatting: |
- | >> Oui ! | + | | ^ 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. | ||
- | ===== Notes ===== | + | ^ 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 | | ||
- | Pour attirer l' | + | 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 |
- | This is my note ! Remember it !! | + | | right| |
- | </ | + | |left |
- | + | ||
- | <note important> | + | |
- | Warning ! You're about to lose your mind ;-) | + | |
- | </ | + | |
- | + | ||
- | <note tip> | + | |
- | The clues are in the images. | + | |
- | </ | + | |
- | + | ||
- | <note warning> | + | |
- | Beware of the dog when you open the door !! | + | |
- | </ | + | |
- | + | ||
- | <note astuce> | + | |
- | N' | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | This is my note ! Remember it !! | + | |
- | </ | + | |
- | + | ||
- | <note important> | + | |
- | Warning ! You're about to lose your mind ;-) | + | |
- | </ | + | |
- | + | ||
- | <note tip> | + | |
- | The clues are in the images. | + | |
- | </ | + | |
- | + | ||
- | <note warning> | + | |
- | Beware of the dog when you open the door !! | + | |
- | </ | + | |
- | + | ||
- | <note astuce> | + | |
- | N' | + | |
- | </ | + | |
- | + | ||
- | ===== Tableaux ===== | + | |
- | + | ||
- | DokuWiki propose une syntaxe simple pour créer des tableaux. | + | |
- | + | ||
- | ^ Titre 1 ^ Titre 2 | + | |
- | | 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// '' | + | |
- | + | ||
- | ^ 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 (// | + | |
- | + | ||
- | Les titres de tableau verticaux sont également possibles. | + | |
- | + | ||
- | | ^ Titre 1 ^ Titre 2 | + | |
- | ^ Titre 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 ' | + | |
- | + | ||
- | | ^ Titre 1 ^ Titre 2 ^ | + | |
- | ^ Titre 3 | + | |
- | ^ Titre 4 | pas de fusion cette fois | | | + | |
- | ^ Titre 5 | Ligne 2 Col 2 | Ligne 2 Col 3 | | + | |
- | + | ||
- | < | + | |
- | Les fusions verticales (// | + | |
- | </ | + | |
- | + | ||
- | On peut également aligner le contenu du tableau. Ajoutez simplement au moins deux espaces blancs à l' | + | |
- | + | ||
- | ^ Tableau avec alignement | + | |
- | | droite| | + | |
- | |gauche | + | |
| 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 | | ||
+ | Note: Vertical alignment is not supported. | ||
- | ==== Un tableau pour centrer plusieurs images ? ==== | + | ===== No Formatting ===== |
- | Mettons que vous vouliez rassembler plusieurs images | + | If you need to display text exactly like it is typed (without any formatting), enclose the area either with '' |
- | |{{:wiki:dokuwiki-128.png|}}|{{: | + | < |
+ | This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, | ||
+ | </ | ||
+ | The same is true for %%// | ||
- | | + | |
+ | This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, | ||
+ | </ | ||
+ | The same is true for %%// | ||
- | Maintenant vous vous dites : "berk ! les bords tu tableaux gâchent tout !". En fait, vous pouvez les effacer en faisant ça : | + | ===== Code Blocks ===== |
- | < | + | |
- | |{{: | + | |
- | </ | + | |
- | < | + | |
- | |{{: | + | |
- | </ | + | |
- | ===== Blocs non analysés ===== | + | 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 et File ==== | + | This is text is indented by two spaces. |
- | + | ||
- | On peut inclure des blocs non analysés (//non parsed//) dans ses 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 ''< | + | |
< | < | ||
- | 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. |
</ | </ | ||
+ | |||
+ | Those blocks were created by this source: | ||
+ | |||
+ | This is text is indented by two spaces. | ||
< | < | ||
- | | + | |
</ | </ | ||
< | < | ||
- | | + | |
</ | </ | ||
- | ==== Annuler le code wiki ==== | + | ==== Syntax Highlighting |
- | + | ||
- | Pour laisser l' | + | |
- | + | ||
- | < | + | |
- | Voici du texte qui contient des adresses comme ceci : http:// | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | Voici du texte qui contient des adresses comme ceci : http:// | + | |
- | </ | + | |
- | + | ||
- | %% | + | |
- | Voici du texte qui contient des adresses comme ceci : http:// | + | |
- | %% | + | |
- | + | ||
- | + | ||
- | ===== Coloration syntaxique ===== | + | |
- | [[wiki: | + | [[wiki: |
<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, |
+ | ==== Downloadable Code Blocks ==== | ||
+ | When you use the '' | ||
- | ===== Inclure du code HTML ===== | ||
- | |||
- | Vous pouvez inclure du code HTML ou PHP pur dans vos documents en utilisant les tags '' | ||
< | < | ||
- | <HTML> | + | <file php myexample.php> |
- | Ceci est du <span style="color:red;font-size=1.5em;"> | + | <?php echo "hello world!"; |
- | </HTML> | + | </file> |
</ | </ | ||
- | <HTML> | + | <file php myexample.php> |
- | Ceci est du <span style="color:red;font-size=1.5em;"> | + | <?php echo "hello world!"; |
- | </HTML> | + | </file> |
+ | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
+ | ===== Embedding HTML and PHP ===== | ||
- | ===== Inclure une autre page dans une page wiki ===== | + | You can embed raw HTML or PHP code into your documents by using the '' |
- | Cette fonction est utilisée, nottament pour les menus, voir [[:menu|ici]]. Grace à elle, une même page peut être intégrée dans plusieurs pages différentes. | + | HTML example: |
- | ==== Syntaxe ==== | + | < |
+ | < | ||
+ | This is some <span style=" | ||
+ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </ | ||
+ | </ | ||
- | Il suffit d' | + | < |
+ | This is some <span style=" | ||
+ | </ | ||
+ | < | ||
+ | <p style=" | ||
+ | </ | ||
+ | PHP example: | ||
- | {{page>[id]# | + | <code> |
- | | + | < |
+ | echo 'The PHP version: '; | ||
+ | echo phpversion(); | ||
+ | echo ' (generated inline HTML)'; | ||
+ | </ | ||
+ | < | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
+ | </code> | ||
+ | <php> | ||
+ | echo 'The PHP version: '; | ||
+ | echo phpversion(); | ||
+ | echo ' (inline HTML)'; | ||
+ | </ | ||
+ | <PHP> | ||
+ | echo '< | ||
+ | echo '< | ||
+ | echo '</ | ||
+ | </ | ||
- | | + | **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. |
- | * **Section | + | |
- | * **Flags :** Voir ci-dessous. (Optionnel) | + | |
- | Ce plugin offre deux syntaxes, '' | + | ===== RSS/ATOM Feed Aggregation ===== |
+ | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
- | * La principale différence entre les deux syntaxes est que la contrairement à la première, la deuxième essaye | + | ^ 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> | ||
+ | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
- | ==== Tags ==== | + | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: |
- | L' | + | **Example:** |
- | ^ @USER@ | + | |
- | ^ @NAME@ | + | |
- | ^ @GROUP@ | groupe de l' | + | |
- | ^ @YEAR@ | + | |
- | ^ @MONTH@ | mois : MM | | + | |
- | ^ @DAY@ | + | |
- | Exemples: | + | {{rss> |
- | {{page> | + | ===== Control Macros ===== |
- | {{page> | + | |
+ | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
- | ==== Flags ==== | + | ^ Macro ^ Description | |
+ | | %%~~NOTOC~~%% | ||
+ | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
- | Vous pouvez utiliser des flags pour changer les options '' | + | ===== Syntax Plugins ===== |
- | ^ Option ^ Default ^^ Alternative ^^ | + | DokuWiki's syntax can be extended by [[doku> |
- | | '' | + | |
- | | '' | + | |
- | Exemple: | + | ~~INFO:syntaxplugins~~ |
- | {{page> |
Qui sommes-nous ?
Aidez WikiSquare en le faisant connaître !
Sauf mention contraire, tous les textes sont disponibles sous les termes de la GNU Free Documentation License.
Les images sont sous le copyright de leurs auteurs.
Page générée en 0.044225215911865 seconde.