Gebruikershulpmiddelen

Site-hulpmiddelen


wiki:syntax

Verschillen

Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.

Link naar deze vergelijking

Beide kanten vorige revisieVorige revisie
Volgende revisie
Vorige revisie
wiki:syntax [2007/08/09 13:12] Pieter van der Meulenwiki:syntax [2024/02/10 21:25] (huidige) – Externe bewerking 127.0.0.1
Regel 1: Regel 1:
-====== Opmaak syntax ======+====== Formatting Syntax ======
  
-[[wiki:DokuWiki]] maakt gebruikt van een eenvoudige opmaakzodat de datafiles zo leesbaar mogelijk zijnDeze pagina bevat al de mogelijke syntax die jullie nodig zouden kunnen hebben bij het aanpassen van pagina'sWerp een blik op de 'broncode' van deze pagina door op de knop //Pagina aanpassen// te klikken boven- of onderaan de paginaAls je wat wilt proberenmaak dan gebruik van de [[playground:playground|zandbak]]. De eenvoudige opmaak is gemakkelijke te bereiken via [[doku>wiki:quickbuttons|sneltoetsen]].+[[doku>DokuWiki]] supports some simple markup languagewhich tries to make the datafiles to be as readable as possibleThis page contains all possible syntax you may use when editing the pagesSimply have a look at the source of this page by pressing "Edit this page"If you want to try somethingjust use the [[playground:playground|playground]] pageThe simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.
  
-===== Basis tekstopmaak =====+===== Basic Text Formatting =====
  
-Dokuwiki ondersteunt **vette**, //cursieve//, __onderlijnde__ en ''monospaced'' tekstenNatuurlijk kan je deze allemaal **__//''combineren''//__**!+DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' textsOf course you can **__//''combine''//__** all these.
  
-<code> +  DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts
-Dokuwiki ondersteunt **vette**, //cursieve//, __onderlijnde__ en ''monospaced'' teksten+  Of course you can **__//''combine''//__** all these.
-Natuurlijk kan je deze allemaal **__//''combineren''//__**+
-</code>+
  
-Je kan ook <sub>subscript</sub> en <sup>superscript</sup> gebruiken.+You can use <sub>subscript</sub> and <sup>superscript</sup>, too.
  
-<code> +  You can use <sub>subscript</sub> and <sup>superscript</sup>, too.
-Je kan ook <sub>subscript</sub> en <sup>superscript</sup> gebruiken. +
-</code>+
  
-Je kan ook nog teksten markeren om te <del>verwijderen</del>.+You can mark something as <del>deleted</del> as well.
  
-<code> +  You can mark something as <del>deleted</del> as well.
-Je kan ook nog teksten markeren om te <del>verwijderen</del>. +
-</code>+
  
-**Paragrafen** worden gemaakt door een witregel tussen de tekst te plaatsenAls je een **nieuwe regel**wilt beginnen zonder paragraafdan kun je twee backslashes typen, gevolgd door een spatie of een regeleinde.+**Paragraphs** are created from blank linesIf you want to **force a newline** without a paragraphyou can use two backslashes followed by a whitespace or the end of line.
  
-Dit is tekst met enkele afgebroken regels\\ Merk op dat de +This is some text with some linebreaks\\ Note that the 
-twee backslashes enkel herkend worden op het einde van de regel\\ +two backslashes are only recognized at the end of a line\\ 
-of gevolgd door\\ een spatie \\dit gebeurt er zonder een (spatie).+or followed by\\ a whitespace \\this happens without it.
  
-<code> +  This is some text with some linebreaks\\ Note that the 
-Dit is tekst met enkele afgebroken regels\\ Merk op dat de +  two backslashes are only recognized at the end of a line\\ 
-twee backslashes enkel herkend worden op het einde van de regel\\ +  or followed by\\ a whitespace \\this happens without it.
-of gevolgd door\\ een spatie \\dit gebeurt er zonder een (spatie). +
-</code>+
  
-Het beste is als je nieuwe regels enkel gebruikt wanneer het echt nodig is.+You should use forced newlines only if really needed.
  
-===== Link =====+===== Links =====
  
-Dokuwiki ondersteunt meerdere manieren om links te leggen.+DokuWiki supports multiple ways of creating links.
  
 +==== External ====
  
-==== Externe ====+External links are recognized automagically: http://www.google.com or simply www.google.com - You can set the link text as well: [[http://www.google.com|This Link points to google]]. Email addresses like this one: <andi@splitbrain.org> are recognized, too.
  
-Externe links worden automatisch herkend: http://www.google.be of eenvoudiger www.google.be Je kan ook een naam bij een link zetten: [[http://www.google.be|Deze link wijst naar google]]. E-mailadressen zoals deze <huybkoen@gmail.comworden ook herkend.+  DokuWiki supports multiple ways of creating links. External links are recognized 
 +  automagically: http://www.google.com or simply www.google.com You can set 
 +  link text as well: [[http://www.google.com|This Link points to google]]. Email 
 +  addresses like this one: <andi@splitbrain.orgare recognized, too.
  
-<code> +==== Internal ====
-Externe links worden automatisch herkend: http://www.google.be of eenvoudiger www.google.be - Je kan ook een naam bij een link zetten: [[http://www.google.be|Deze link wijst naar google]]. E-mailadressen zoals deze <huybkoen@gmail.com> worden ook herkend. +
-</code>+
  
-==== Interne ====+Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]].
  
-Interne links worden gemaakt door vierkante haken te gebruikenJe kan kiezen om enkel de [[paginanaam]] weer te geven of de [[paginanaam|titel]]. Wiki-paginanamen worden automatisch omgezet in kleine letters en speciale tekens zijn niet toegestaan.+  Internal links are created by using square bracketsYou can either just give 
 +  a [[pagename]] or use an additional [[pagename|link text]].
  
-<code> +[[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed.
-Interne links worden gemaakt door vierkante haken te gebruiken. Je kan kiezen om enkel de [[paginanaam]] weer te geven of de [[paginanaam|titel]]. Wiki-paginanamen worden automatisch omgezet in kleine letters en speciale tekens zijn niet toegestaan. +
-</code>+
  
-Je kunt [[wiki:namespaces]] gebruiken door een dubbele punt te plaatsen in de paginanaam.+You can use [[some:namespaces]] by using a colon in the pagename.
  
-<code> +  You can use [[some:namespaces]] by using a colon in the pagename.
-Je kunt [[wiki:namespaces]] gebruiken door een dubbele punt te plaatsen in de paginanaam. +
-</code>+
  
-Voor meer gedetailleerde informatie over namespaces zie: [[doku>wiki:namespaces]].+For details about namespaces see [[doku>namespaces]].
  
-Het is ook mogelijk om naar een specifieke sectie te linkenVoeg gewoon de sectienaam toe achter een #-teken zoals in HTML. Dit verwijst naar [[syntax#internal|deze Sectie]].+Linking to a specific section is possible, tooJust add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]].
  
-<code> +  This links to [[syntax#internal|this Section]]. 
-Dit verwijst naar [[syntax#internal|deze Sectie]]. + 
-</code>+Notes:
  
-Opmerking: +  * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones
-  * Links naar [[wiki:syntax|bestaande pagina]] worden in een andere stijl weergegeven dan [[wiki:niet-bestaande pagina]]. +  * DokuWiki does not use [[wp>CamelCase]] to automatically create links by defaultbut this behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled
-  * Dokuwiki gebruikt standaard geen [[wp>CamelCase]] om automatische links te laggenmaar dit kan geactiveerd worden in de [[doku>config]]. Hint: Als DokuWiki een link isdan zijn CamelCase-links geactiveerd+  * When a section's heading is changedits bookmark changes, tooSo don't rely on section linking too much.
-  * Als een sectietitel veranderd wordtdan verandert zijn verwijzing ookVertrouw dus niet te veel op sectie-links.+
  
 ==== Interwiki ==== ==== Interwiki ====
  
-Dokuwiki ondersteunt [[doku>wiki:interwiki|Interwiki]] links. Dit zijn snelle links naar andere wiki'sBijvoorbeeld: dit is een link naar wikipedia's pagina over Wiki's: [[wp>Wiki]]+DokuWiki supports [[doku>Interwiki]] links. These are quick links to other WikisFor example this is link to Wikipedia'page about Wikis: [[wp>Wiki]].
  
-<code> +  DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis. 
-Dokuwiki ondersteunt [[doku>wiki:interwiki|Interwiki]] links. Dit zijn snelle links naar andere wiki'sBijvoorbeeld: dit is een link naar wikipedia's pagina over Wiki's: [[wp>Wiki]] +  For example this is link to Wikipedia'page about Wikis: [[wp>Wiki]].
-</code>+
  
-==== Gedeelde Windows-bestanden ====+==== Windows Shares ====
  
-Gedeelde Windows-bestanden zoals [[\\server\share|this]] worden ook herkendDenk er echter aan dat dit enkel nuttig is voor een homogene gebruikersgroep zoals een gezamelijk[[wp>Intranet]].+Windows shares like [[\\server\share|this]] are recognized, tooPlease note that these only make sense in a homogeneous user group like a corporate [[wp>Intranet]].
  
-<code> +  Windows Shares like [[\\server\share|this]] are recognized, too. 
-Gedeelde Windows-bestanden zoals [[\\server\share|this]] worden ook herkend.+ 
 +Notes: 
 + 
 +  * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"). 
 +  * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/lang/en/lang.php'' (more details at [[doku>localization#changing_some_localized_texts_and_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> 
 +<?php 
 +/** 
 + * Customization of the english language file 
 + * Copy only the strings that needs to be modified 
 + */ 
 +$lang['js']['nosmblinks'] = '';
 </code> </code>
  
-Opmerkingen: +==== Image Links ====
-  * Omwille van de veiligheid zijn gedeelde Windows-bestanden standaard enkel beschikbaar in Microsoft Internet Explorer (en dan nog enkel 'lokaal'). +
-  * Voor Mozilla en Firefox can het geactiveerd worden in de configuratie [[http://www.mozilla.org/quality/networking/docs/netprefs.html#file|security.checkloaduri]], maar dit wordt niet aangeraden! +
-  * Zie [[bug>151]] voor meer informatie+
  
-==== Linken naar afbeeldingen ====+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:
  
-Het is ook mogelijk afbeeldingen te gebruiken om links te leggen naar interne of externe pagina's door de syntax voor links en [[#Afbeeldingen_en_andere_bestanden|afbeeldingen]] te combineren (zie lager) zoals hier:+  [[http://php.net|{{wiki:dokuwiki-128.png}}]]
  
-<code> +[[http://php.net|{{wiki:dokuwiki-128.png}}]]
-[[http://www.php.net|{{wiki:dokuwiki-128.png}}]] +
-</code>+
  
-[[http://www.php.net|{{wiki:dokuwiki-128.png}}]]+Please noteThe image formatting is the only formatting syntax accepted in link names.
  
-Merk op: De afbeeldingsformaten zijn enkel formaten die toegestaan zijn in hyperlinks.+The whole [[#images_and_other_files|image]] and [[#links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki links).
  
-De volledige [[#Afbeeldingen_en_andere_bestanden|Afbeeldingen]] en [[#links|links]] syntax is ondersteund (waaronder ook afbeeldingsgrootte wijzigen, interne en externe afbeeldingen en URL's en interwiki links).+===== Footnotes =====
  
-===== Voetnoten =====+You can add footnotes ((This is a footnote)) by using double parentheses.
  
-Je kan voetnoten toevoegen ((Dit is een voetnoot)) door dubbele haken te gebruiken+  You can add footnotes ((This is a footnote)) by using double parentheses.
  
-<code> +===== Sectioning =====
-Je kan voetnoten toevoegen ((Dit is een voetnoot)) door dubbele haken te gebruiken +
-</code>+
  
-===== Secties =====+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 ''<nowiki>~~NOTOC~~</nowiki>'' in the document.
  
-Je kan secties op verschillende niveaus toepassen met 5 verschillende titels om je inhoud te sructureren. Als je meer dan 3 hoofdingen gebruikt, wordt er automatisch een inhoudstafel gegenereerd - dit kan afgezet worden door ''<nowikiW~~NOTOC~~</nowiki>'' in het document toe te voegen.+==== Headline Level 3 ==== 
 +=== Headline Level 4 === 
 +== Headline Level ==
  
-==== Hoofding 3 ==== +  ==== Headline Level 3 ==== 
-=== Hoofding 4 === +  === Headline Level 4 === 
-== Hoofding 5 ==+  == Headline Level 5 ==
  
-<code> +By using four or more dashes, you can make a horizontal line:
-==== Hoofding 3 ==== +
-=== Hoofding 4 === +
-== Hoofding 5 == +
-</code> +
- +
-Door vier of meer liggende streepjes te zetten maak je een horizontale lijn+
  
 ---- ----
  
-===== Afbeeldingen en andere bestanden =====+===== Media Files =====
  
-Je kan externe en interne [[doku>afbeeldingen]] invoegen door accolades te gebruikenAls optie kan je de afmetingen ervan bepalen.+You can include external and internal [[doku>images|images, videos and audio files]] with curly bracketsOptionally you can specify the size of them.
  
-Echte maat                             {{wiki:dokuwiki-128.png}}+Real size                       {{wiki:dokuwiki-128.png}}
  
-Herschaal naar nieuwe breedte          {{wiki:dokuwiki-128.png?50}}+Resize to given width           {{wiki:dokuwiki-128.png?50}}
  
-Herschaal naar nieuwe breedte en hoogte: {{wiki:dokuwiki-128.png?200x50}}+Resize to given width and height((when the aspect ratio of the given width and height doesn't match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:dokuwiki-128.png?200x50}}
  
-Herschaalde externe afbeelding         {{http://de3.php.net/images/php.gif?200x50}}+Resized external image          {{https://www.php.net/images/php.gif?200x50}}
  
-<code> +  Real size:                        {{wiki:dokuwiki-128.png}} 
-Echte maat                             {{wiki:dokuwiki-128.png}}+  Resize to given width           {{wiki:dokuwiki-128.png?50}} 
 +  Resize to given width and height: {{wiki:dokuwiki-128.png?200x50}} 
 +  Resized external image:           {{https://www.php.net/images/php.gif?200x50}}
  
-Herschaal naar nieuwe breedte:           {{wiki:dokuwiki-128.png?50}} 
  
-Herschaal naar nieuwe breedte en hoogte: {{wiki:dokuwiki-128.png?200x50}} +By using left or right whitespaces you can choose the alignment.
- +
-Herschaalde externe afbeelding:          {{http://de3.php.net/images/php.gif?200x50}} +
-</code> +
- +
-Door links o recht spaties te laten, kan je de uitlijning kiezen.+
  
 {{ wiki:dokuwiki-128.png}} {{ wiki:dokuwiki-128.png}}
Regel 169: Regel 153:
 {{ wiki:dokuwiki-128.png }} {{ wiki:dokuwiki-128.png }}
  
-<code> +  {{ wiki:dokuwiki-128.png}} 
-{{ wiki:dokuwiki-128.png}}+  {{wiki:dokuwiki-128.png }} 
 +  {{ wiki:dokuwiki-128.png }}
  
-{{wiki:dokuwiki-128.png }}+Of course, you can add a title (displayed as a tooltip by most browsers), too.
  
-{{ wiki:dokuwiki-128.png }} +{{ wiki:dokuwiki-128.png |This is the caption}}
-</code>+
  
-Natuurlijk kan je ook een titel toevoegen.((meestal als tooltip getoond))+  {{ wiki:dokuwiki-128.png |This is the caption}}
  
-{{ wiki:dokuwiki-128.png |This is the caption}}+For linking an image to another page see [[#Image Links]] above. 
 + 
 +==== Supported Media Formats ====
  
-<code> +DokuWiki can embed the following media formats directly. 
-{{ wiki:dokuwiki-128.png |This is the caption}} + 
-</code>+| Image | ''gif'', ''jpg'', ''png'' 
 +| Video | ''webm'', ''ogv'', ''mp4''
 +| Audio | ''ogg'', ''mp3'', ''wav'' 
 +| Flash | ''swf''                    | 
 + 
 +If you specify a filename that is not a supported media format, then it will be displayed as a link instead. 
 + 
 +By adding ''?linkonly'' you provide a link to the media without displaying it inline 
 + 
 +  {{wiki:dokuwiki-128.png?linkonly}} 
 + 
 +{{wiki:dokuwiki-128.png?linkonly}} This is just a link to the image. 
 + 
 +==== 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.
  
-als je een filenaam vastlegt (intern of extern) die geen afbeelding is (''gif, jpeg, png''), dan zal het bestand als link weergegeven worden.+For example consider this embedded mp4 video:
  
-Om een afbeelding naar een andere pagina te linken, zie [[Image Links]] vanboven.+  {{video.mp4|A funny video}}
  
 +When you upload a ''video.webm'' and ''video.ogv'' next to the referenced ''video.mp4'', DokuWiki will automatically add them as alternatives so that one of the three files is understood by your browser.
  
 +Additionally DokuWiki supports a "poster" image which will be shown before the video has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''video.jpg'' file would work.
  
-===== Lijsten =====+===== Lists =====
  
-Dokuwiki geordende en niet-geordende lijstenOm een lijstitem te makenlaat je je tekst twee spaties inspringen en gebruik een ''*'' voor een niet-geordende lijsten of een ''-'' voor een geordende.+Dokuwiki supports ordered and unordered listsTo create a list itemindent your text by two spaces and use a ''*'' for unordered lists or a ''-'' for ordered ones.
  
-  * Dit is een lijst +  * This is a list 
-  * Het tweede item +  * The second item 
-    * Je kan meerdere niveaus hebben +    * You may have different levels 
-  * Nog een item+  * Another item
  
-  - Dit is een lijst +  - The same list but ordered 
-  - Het tweede item +  - Another item 
-    - Je kan meerdere niveaus hebben +    - Just use indention for deeper levels 
-  - Nog een item+  - That's it
  
 <code> <code>
-  * Dit is een lijst +  * This is a list 
-  * Het tweede item +  * The second item 
-    * Je kan meerdere niveaus hebben +    * You may have different levels 
-  * Nog een item+  * Another item
  
-  - Dit is een lijst +  - The same list but ordered 
-  - Het tweede item +  - Another item 
-    - Je kan meerdere niveaus hebben +    - Just use indention for deeper levels 
-  - Nog een item+  - That's it
 </code> </code>
  
-===== Smileys =====+Also take a look at the [[doku>faq:lists|FAQ on list items]].
  
-DokuWiki zet veel gebruikte [[wp>emoticon]]s om naar de grafische equivalentMen kan meer smileys in de ''smiley'' map plaatsen en hen instelling in ''conf/smileys.conf''. Hier volgt een overzicht van de smileys die bij DokuWiki horen.+===== Text Conversions ===== 
 + 
 +DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. 
 + 
 +The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, but can be configured to use other HTML as well. 
 + 
 +==== Text to Image Conversions ==== 
 + 
 +DokuWiki converts commonly used [[wp>emoticon]]s to their graphical equivalentsThose [[doku>Smileys]] and other images can be configured and extendedHere is an overview of Smileys included in DokuWiki:
  
   * 8-) %%  8-)  %%   * 8-) %%  8-)  %%
Regel 236: Regel 247:
   * ;-) %%  ;-)  %%   * ;-) %%  ;-)  %%
   * ^_^ %%  ^_^  %%   * ^_^ %%  ^_^  %%
 +  * m(  %%  m(   %%
   * :?: %%  :?:  %%   * :?: %%  :?:  %%
   * :!: %%  :!:  %%   * :!: %%  :!:  %%
Regel 242: Regel 254:
   * DELETEME %% DELETEME %%   * DELETEME %% DELETEME %%
  
-===== Typografie =====+==== Text to HTML Conversions ====
  
-[[Dokuwiki]] can eenvoudige karakters omzetten naar hun typografische correcte vormHieronder volgt een lijst met herkende karakters.+Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entitiesHere is an example of recognized characters.
  
 -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r)
-"Hij zei: 'Ik wiki vaak op wikipedia'..."+"He thought 'It's a man's world'..."
  
 <code> <code>
 -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r)
-"Hij zei: 'Ik wiki vaak op wikipedia'..."+"He thought 'It's a man's world'..."
 </code> </code>
  
-Men kan deze kerkenning ook uitschakelen in de configuratie.+The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>entities|pattern file]].
  
-===== Citeren =====+There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' and "double quotes". They can be turned off through a [[doku>config:typography|config option]].
  
-Soms kan het zijn dat je tekst wil weergeven als antwoord of commentaarHiervoor kan je volgende syntax gebruiken:+===== Quoting ===== 
 + 
 +Some times you want to mark some text to show it's a reply or commentYou can use the following syntax:
  
 <code> <code>
Regel 286: Regel 300:
 >>> Then lets do it! >>> Then lets do it!
  
 +===== Tables =====
  
-===== Tabellen =====+DokuWiki supports a simple syntax to create tables.
  
-DokuWiki maakt van een eenvoudige syntax gebruik om tabellen te maken.+^ 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        |
  
-Hoofding 1     ^ Hoofding 2      ^ Hoofding 3                   ^ +Table rows have to start and end with a ''|'' for normal rows or a ''^'' for headers.
-| Rij 1 Col 1    | Rij 1 Col 2     | Rij 1 Col 3                    | +
-| Rij 2 Col 1    | colspan (Denk aan de dubbele verticalen streep) || +
-| Rij 3 Col 1    | Rij 2 Col 2     | Rij 2 Col 3                    |+
  
-Een tabel moet beginnen en eindigen met een ''|'' voor een normale rij en ||^|| voor een hoofding+  ^ 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        |
  
-<code> +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!
-^ Hoofding 1     ^ Hoofding 2      ^ Hoofding 3                   ^ +
-| Rij 1 Col 1    | Rij 1 Col 2     | Rij 1 Col 3                    | +
-| Rij 2 Col 1    | colspan (Denk aan de dubbele verticalen streep) || +
-| Rij 3 Col 1    | Rij 2 Col 2     | Rij 2 Col 3                    | +
-</code>+
  
-Om 2 cellen horizontaal samen te laten horenmaak je gewoon de volgende cel helemaal leeg (zie hoger)Zorg ervoor dat je steeds dezelfde hoeveelheid delers hebt!+Vertical tableheaders are possibletoo.
  
-Hoofding     Hoofding      ^ Hoofding 3                   +             ^ Heading            Heading          
-Rij 1 Col 1    Rij 1 Col 2     Rij 1 Col 3                    +Heading 3    Row 1 Col 2          Row 1 Col 3        
-Rij 2 Col 1    geen colspan                                   +Heading 4    no colspan this time                    
-Rij 3 Col 1    Rij 2 Col 2     Rij 2 Col 3                    |+Heading 5    Row 2 Col 2          Row 2 Col 3        |
  
-Zoals je kunt zienbepaalt de deler voor een cel of het een hoofding is of niet:+As you can seeit's the cell separator before a cell which decides about the formatting:
  
-<code> +               ^ Heading            Heading          
-Hoofding     Hoofding      ^ Hoofding 3                   +  Heading 3    Row 1 Col 2          Row 1 Col 3        
-Rij 1 Col 1    Rij 1 Col 2     Rij 1 Col 3                    +  Heading 4    no colspan this time                    
-Rij 2 Col 1    geen colspan                                   +  Heading 5    Row 2 Col 2          Row 2 Col 3        |
-Rij 3 Col 1    Rij 2 Col 2     Rij 2 Col 3                    | +
-</code>+
  
-OpmerkingHet verticaal samenvoegen van cellen is niet mogelijk.+You can have rowspans (vertically connected cells) by adding ''%%:::%%'' into the cells below the one to which they should connect.
  
-Je kan celinhouden ook uitlijnen. Laat minstens twee spaties voor of na de celinhoudvoeg twee spaties links toe om rechts uit te lijnen, rechts om links uit te lijnen en aan beide kanten om te centreren.+^ 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.
  
-          Tabbel met uitlijning          ^^^ +  Heading 1      Heading 2                  Heading 3          
-       rechts|    center    |links         +  Row 1 Col 1    this cell spans vertically | Row 1 Col 3        
-|links         |        rechts|    center    +  Row 2 Col 1    :::                        | Row 2 Col 3        | 
-xxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxx |+  Row 3 Col 1    :::                        Row 2 Col 3        |
  
-Zo ziet de code eruit:+You can align the table contents, too. Just add at least two whitespaces at the opposite end of your textAdd 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.
  
-<code> +^           Table with alignment           ^^^ 
-^           Tabbel met uitlijning          ^^^ +|         right|    center    |left          | 
-|         rechts|    center    |links          | +|left                  right|    center    |
-|links                  rechts|    center    |+
 | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
-</code> 
  
-===== Non-Wiki tekst =====+This is how it looks in the source: 
 + 
 +  ^           Table with alignment           ^^^ 
 +  |         right|    center    |left          | 
 +  |left          |         right|    center    | 
 +  | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |
  
-Je kan tekst aan een pagina toevoegen die niet door de wiki verwerkt wordt door twee of meer spaties voor de tekst te zetten of door de tags ''code'' of ''file'' te gebruiken.+Note: Vertical alignment is not supported. 
 + 
 +===== No Formatting ===== 
 + 
 +If you need to display text exactly like it is typed (without any formatting), enclose the area either with ''%%<nowiki>%%'' tags or even simpler, with double percent signs ''<nowiki>%%</nowiki>''
 + 
 +<nowiki> 
 +This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it. 
 +</nowiki> 
 +The same is true for %%//__this__ text// with a smiley ;-)%%. 
 + 
 +  <nowiki> 
 +  This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**, but nothing is done with it. 
 +  </nowiki> 
 +  The same is true for %%//__this__ text// with a smiley ;-)%%. 
 + 
 +===== 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 ''%%<code>%%'' or ''%%<file>%%''
 + 
 +  This is text is indented by two spaces.
  
 <code> <code>
-Dit is code waar al de spaties behouden wordenzoals              <dit+This is preformatted code all spaces are preservedlike              <-this
 </code> </code>
  
 <file> <file>
-Dit is ongeveer hetzelfdealleen kan je dit gebruiken om aan te tonen dat je een file citeert.+This is pretty much the samebut you could use it to show that you quoted a file.
 </file> </file>
  
-Om ervoor te zorgen dat een deel volledig genegeerd wordt bij het verwerken (bv. geen opmaak gebruiken), zet je de tekst tussen ''nowiki''-tags of eenvoudig door procenttekens te gebruiken (''<nowiki>%%</nowiki>'').+Those blocks were created by this source:
  
-<nowiki> +    This is text is indented by two spaces.
-Dit is tekst die een adres bevat zoals: http://wiki.kokohuyb.be en **opmaak**, maar er gebeurt niets mee. +
-</nowiki>+
  
-Bekijk de bron van deze pagina om te zien hoe je deze blokken kan gebruiken.+  <code> 
 +  This is preformatted code all spaces are preserved: like              <-this 
 +  </code>
  
 +  <file>
 +  This is pretty much the same, but you could use it to show that you quoted a file.
 +  </file>
  
-===== Herkennen syntax =====+==== Syntax Highlighting ====
  
-[[DokuWiki]] can broncode herkennenwaardoor deze gemakkelijker te lezen isHet gebruikt de [[http://qbnz.com/highlighter/|GeSHi]] ((Generic Syntax Highlighter)) -- zodat elke taal door GeSHi ondersteund wordtDe syntax is hetzelfde al in de code blokken in de vorige sectiesmet dit keer de naam van de gebruikte taal tussen de tagsBv. ''<nowiki><code java></nowiki>''.+[[wiki:DokuWiki]] can highlight sourcecodewhich makes it easier to readIt uses the [[http://qbnz.com/highlighter/|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supportedThe syntax uses the same code and file blocks described in the previous sectionbut this time the name of the language syntax to be highlighted is included inside the tag, e.g. ''<nowiki><code java></nowiki>'' or ''<nowiki><file java></nowiki>''.
  
 <code java> <code java>
-/** +/**
  * The HelloWorldApp class implements an application that  * The HelloWorldApp class implements an application that
  * simply displays "Hello World!" to the standard output.  * simply displays "Hello World!" to the standard output.
Regel 377: Regel 418:
 </code> </code>
  
-De volgende talen worden op dit moment herkend: //actionscript, actionscript-french, adaapacheapplescriptasmaspbashblitzbasiccaddclcadlisp, c, c_maccppcsharpcssdelphidiff, d, divdoseiffelfreebasicgmlhtml4strictiniinnojavajavascriptlispluamatlabmpasmmysqlnsisobjc, ocaml, ocaml-briefoobasoracle8pascalperlphp-briefphppythonqbasicschemesdlbasicsmartysql, ruby, vb, vbnetvhdlvisualfoxproxml//+The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots roff rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql sshconfig standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch wolfram xbasic xml xojo xorg_conf xpp yaml z80 zxbasic//
  
-===== Toevoegen HTML en PHP =====+There are additional [[doku>syntax_highlighting|advanced options]] available for syntax highlighting, such as highlighting lines or adding line numbers.
  
-Je kan pure HTML en PHP in je pagina's toevoegen door de ''html'' - of ''php'' - tags te gebruiken zoals hier:+==== Downloadable Code Blocks ==== 
 + 
 +When you use the ''%%<code>%%'' or ''%%<file>%%'' syntax as above, you might want to make the shown code available for download as well. You can do this by specifying a file name after language code like this:
  
 <code> <code>
-<html+<file php myexample.php
-This is some <font color="redsize="+1">HTML</font+<?php echo "hello world!"; ?
-</html>+</file>
 </code> </code>
  
-<html+<file php myexample.php
-This is some <font color="redsize="+1">HTML</font+<?php echo "hello world!"; ?
-</html>+</file>
  
-<code> +If you don't want any highlighting but want a downloadable file, specify a dash (''-''as the language code: ''%%<code - myfile.foo>%%''.
-<php> +
-echo 'A logo generated by PHP:'+
-echo '<img src=". $_SERVER['PHP_SELF'] . '?=' . php_logo_guid('" alt="PHP Logo !" />'+
-</php> +
-</code>+
  
-<php> +===== RSS/ATOM Feed Aggregation ===== 
-echo 'A logo generated by PHP:'; +[[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http://simplepie.org/|SimplePie]] is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters:
-echo '<img src="' . $_SERVER['PHP_SELF'] . '?=' . php_logo_guid() . '" alt="PHP Logo !" />'; +
-</php>+
  
-**Let op**: HTML en PHP toevoegen is standaard uitgeschakeld in de configuratieAls deze af staatwordt de code getoond in plaats van uitgevoerd.+^ Parameter  ^ Description ^ 
 +| any number | will be used as maximum number items to show, defaults to 8 | 
 +| reverse    | display the last items in the feed first | 
 +| author     | show item authors names | 
 +| date       | show item dates | 
 +| description| show the item description. All HTML tags will be stripped | 
 +| nosort     | do not sort the items in the feed | 
 +| //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | 
 + 
 +The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered. 
 + 
 +By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the ''reverse'' parameter, or display the feed as is with ''nosort''
 + 
 +**Example:** 
 + 
 +  {{rss>http://slashdot.org/index.rss 5 author date 1h }} 
 + 
 +{{rss>http://slashdot.org/index.rss 5 author date 1h }} 
 + 
 + 
 +===== Control Macros ===== 
 + 
 +Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: 
 + 
 +^ Macro           ^ Description | 
 +| %%~~NOTOC~~%%   | If this macro is found on the pageno table of contents will be created | 
 +| %%~~NOCACHE~~%% | DokuWiki caches all output by defaultSometimes this might not be wanted (eg. when the %%<php>%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call |
  
 ===== Syntax Plugins ===== ===== Syntax Plugins =====
  
-De syntax van DokuWiki kan uitgebreid worden door [[doku>wiki:plugins|Plugins]] toe te voegenHoe deze geïnstalleerd worden kan op de bijhorende pagina gelezen wordenDe volgende syntax plugins zijn in deze DokuWiki beschikbaar:+DokuWiki's syntax can be extended by [[doku>plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pagesThe following syntax plugins are available in this particular DokuWiki installation:
  
 ~~INFO:syntaxplugins~~ ~~INFO:syntaxplugins~~
 +
wiki/syntax.1186657979.txt.gz · Laatst gewijzigd: (Externe bewerking)