Opsteltips

invoerformaat:
  • Filtered HTML:
    • BBCode Guide

      BBCode allows you to specify formatting rules for your text, even if you are not allowed to use HTML in your posts. BBCode originated from the forum software named PHPBB, and this site has a special implementation of it.

      In BBCode terms, you use "tags" to add formatting to your text. Every tag is enclosed in [ and ] brackets. If you want to mark some region in your text, you need to use an opening tag and a closing tag. Closing tags start with [/, as you will see in the examples below. If you mistype a tag or forget to close it, you will not get the desired formatting.

      Simple text formatting

      BBCode allows you to make some parts of your texts stand out from the context by adding [b]old, [i]talic, [u]nderlined and [s]trikeout formatting to them. The [color], [size] and [font] tags allow you to change the color, size and font of portions of the text you enclose with these tags. Both require a parameter (which colour, how big, what font) that is suffixed to the name of the tag by an equals sign (example below). You should not repeat the parameter in the closing tag!

      You can specify any recognized color name (red, blue, green, white, etc.) or a hexadecimal color value (#CDCDCD, #FFFFFF, etc.) as the parameter of a [color] tag. The [size] tag allows you to set the font size between 6 and 48, 6 being the smallest size. Note that using very large text is considered by many to be annoying, and it is seldom a good idea to try to attract more attention to your post in this way. The [font] tag can be set to any valid font face, such as Arial, Arial Black, Courier, Courier New, Helvetica, Impact, Times New Roman, Verdana, etc.

      usagedisplay
      I [b]need to do[/b] this by the weekend I need to do this by the weekend
      John said that [i]we should[/i] ask her John said that we should ask her
      I [u]would not like to[/u] offend you I would not like to offend you
      Let's correct this [s]mispelled[/s] misspelled word Let's correct this mispelled misspelled word
      Jane was at [color=blue]the coast[/color] Jane was at the coast
      Joe was in [color=#FF0000]the forest[/color] Joe was in the forest
      You said: [size=30]HEY![/size] You said: HEY!
      She said: [font=Courier]What?[/font] She said: What?

      Creating links

      You have multiple options to specify links to other destinations in your posts.

      URLs (Uniform Resource Locators) starting with "www" or "ftp" (eg. www.example.com) are automatically recognized and replaced with links. You can also use the [url] tag with a parameter to specify a link with meaningful text to click on. If you use the url tag without the parameter, the enclosed text is assumed to be a URL, and a link is created to that destination.

      Email addresses in posts are also automatically converted to email links. For compatibility with common BBCode implementations, an [email] tag is provided.

      usagedisplay
      For more examples, visit www.example.com For more examples, visit www.example.com
      For more examples, visit http://example.com For more examples, visit http://example.com
      If you have questions ask me at joe@example.com If you have questions ask me at joe@example.com
      If you have questions ask me at [email]joe@example.com[/email] If you have questions ask me at joe@example.com
      We use [url=http://example.com/]the example site[/url] in these examples We use the example site in these examples
      We use [url]http://example.com/[/url] in these examples We use http://example.com/ in these examples

      Displaying images

      The [img] tag allows you to display an image in your post. You need to specify a URL to the image, so it needs to be accessible somewhere on the internet. Beware of adding very large images to your text, or the page will load very slowly!

      If you enclose a URL in an [img] tag, then it will be replaced with code to display the image. For example A good screenshot: [img]http://example.com/screenshot.png[/img] will show you the screenshot (if it exists).

      You can also specify the desired display dimensions of the image by adding a dimension parameter to the [img] tag. A good screenshot: [img=640x480]http://example.com/screenshot.png[/img] will display the image in 640x480 (though the full image will be downloaded). Do not use this to show a thumbnail of an image!

      You are free to link an image to an external destination by enclosing the [img] tag with a [url] tag: See [url=http://example.com][img]http://example.com/screenshot.png[/img][/url].

      Ordered and unordered lists

      The simplest list type is the unordered list, which means that there is no numbering applied to the elements. You can make such a list by enclosing the list elements in [list] opening and closing tags. Specify the start of one element with the [*] list element marker, which has no closing tag pair.

      To create an ordered list, you should add a parameter to the [list] list tag specifying what type of ordered list you would like to see. The possible parameters are "i", "I", "1", "a", "A", "c", "d" and "s" which all correspond to the display of the first list element.

      usagedisplay
      I love
       [list]
        [*]Oranges
        [*]Apples
        [*]Bananas
       [/list]
      
      I love
      • Oranges
      • Apples
      • Bananas
      I love
       [list=I]
        [*]Oranges
        [*]Apples
        [*]Bananas
       [/list]
      
      I love
      1. Oranges
      2. Apples
      3. Bananas
      I love
       [list=1]
        [*]Oranges
        [*]Apples
        [*]Bananas
       [/list]
      
      I love
      1. Oranges
      2. Apples
      3. Bananas

      Fixed-width text and block formatting

      You can use the [code] tag to add an inline fixed-width formatted part or to add a block of (usually program) code. If there is any newline present between the opening and closing tags, then a block will be displayed.

      Similarly, the [php] tag can be used to post PHP code. PHP code will automatically be syntax highlighted for easier readability.

      usagedisplay
      Edit your [code]robots.txt[/code] file Edit your robots.txt file
      An HTML title example:
      [code]
      <head>
       <title>Page Title</title>
      </head>
      [/code]
      An HTML title example:
      <head>
       <title>Page Title</title>
      </head>
      Some PHP code:
      [php]
      <?php
      function hello()
      {
        echo "Hello World!";
      }
      ?>
      [/php]
      Some PHP code:
      <?php
      function hello()
      {
        echo
      "Hello World!";
      }
      ?>

      Text and block alignment

      You can also set the alignment of the text by using [left], [right] and [center] tags. The [float] tag can be used to place floating boxes in the text (especially handy for images). You can specify the direction of the floating with [float=left] and [float=right]. The [justify] tag can be used justify text on both sides of the page.

      Other supported tags

      It is possible to quote something that has already been posted, by just putting [quote][/quote] tags around it. To quote a specific person, use something like [quote=John]. Quote tags can be nested.

      The [sub] and [sup] tags can be used to add subscript and superscript text. For example, H[sub]2[/sub]O gives H2O, while X[sup]3[/sup] gives X3.

      The [acronym] tag allow you to identify text as an acronym and provide a description when users move their mouse over the tag. For example, [acronym=Structured Query Language]SQL[/acronym] produces SQL.

      The [abbr] tag allow you to identify text as an abbreviation and provide a description when users move their mouse over the tag. For example, [abbr=World Wide Web]WWW[/abbr] produces WWW.

      The [notag] tags prevent text inside the tags from being parsed. This allows you to give examples of BBcode and not have it converted to HTML. For example: [notag]These [b]tags[/b] are not rendered[/notag] will produce "These [b]tags[/b] are not rendered".

      The [hr] tag draws a horizontal line across the page. Handy for separating chunks of text.

      Using multiple formatting tags

      You can apply more than one formatting specification to a portion of some text. I was at [b][i]the coast[/i][/b] will be rendered as I was at the coast.

      Make sure that you take care of the proper order of the opening and closing tags. You should close the tags in the opposite order in which you opened them. Otherwise you might get very strange rendering results. Also check your post with the preview function before submitting it, in case there are formatting errors due to improper BBCode usage.

    • Toegelaten HTML-tags: <a><p><span><div><h1><h2><h3><h4><h5><h6><img><map><area><hr><br><br/><ul><ol><li><dl><dt><dd><table><tr><td><em><b><u><i><strong><font><del><ins><sub><sup><quote><blockquote><pre><address><code><cite><embed><object><strike><caption>

      Op deze site kan HTML worden gebruikt. Terwijl het leren van de volledige HTML-code overweldigend kan zijn, is het leren van een beperkte aantal basis HTML-'tags' veel eenvoudiger. Deze tabel geeft een aantal voorbeelden van iedere tag die op deze site kan worden gebruikt.

      Voor meer informatie zie de HTML-specificaties van W3C of gebruik uw favoriete zoekmachine om een site te te vinden die uitleg over HTML geeft.

      Tag BeschrijvingU typtU krijgt
      Ankers worden gebruikt om links te maken naar andere pagina's.<a href="http://www.martijn-lammerts.com/josephine">Josèphine Lammerts</a>Josèphine Lammerts
      Paragraaf-tags worden standaard automatisch toegevoegd. Gebruik dus deze tagom er extra toe te voegen.<p>Paragraph één.</p> <p>Paragraph twee.</p>

      Paragraph één.

      Paragraph twee.

      Er is geen hulp beschikbaar voor tag span.
      Er is geen hulp beschikbaar voor tag div.
      Kop<h1>Titel</h1>

      Titel

      Kop<h2>Ondertitel</h2>

      Ondertitel

      Kop<h3>Ondertitel drie</h3>

      Ondertitel drie

      Kop<h4>Ondertitel vier</h4>

      Ondertitel vier

      Kop<h5>Ondertitel vijf</h5>
      Ondertitel vijf
      Kop<h6>Ondertitel zes</h6>
      Ondertitel zes
      Er is geen hulp beschikbaar voor tag img.
      Er is geen hulp beschikbaar voor tag map.
      Er is geen hulp beschikbaar voor tag area.
      Er is geen hulp beschikbaar voor tag hr.
      Regeleinde-tags worden standaard al automatisch aan de tekst toegevoegd, dus gebruik deze tag alleen om extra regeleinden toe te voegen. Het gebruik van deze tag is anders dan andere XHTML-tags omdat het niet bestaat uit een open- en sluit tag-paar. Gebruik de extra "/" binnenin de tag om de XHTML 1.0 compatibiliteit te behoudenTekst met <br />regeleindeTekst met
      regeleinde
      Regeleinde-tags worden standaard al automatisch aan de tekst toegevoegd, dus gebruik deze tag alleen om extra regeleinden toe te voegen. Het gebruik van deze tag is anders dan andere XHTML-tags omdat het niet bestaat uit een open- en sluit tag-paar. Gebruik de extra "/" binnenin de tag om de XHTML 1.0 compatibiliteit te behoudenTekst met <br />regeleindeTekst met
      regeleinde
      Ongeordende lijst - gebruik <li> voor elke lijst-item<ul> <li>Eerste item</li> <li>Tweede item</li> </ul>
      • Eerste item
      • Tweede item
      Geordende lijst - gebruik <li> voor elk lijst-item<ol> <li>Eerste item</li> <li>Tweede item</li> </ol>
      1. Eerste item
      2. Tweede item
      Definitielijsten zijn zeer gelijkaardig aan andere HTML-lijsten. <dl> start de definitielijst, <dt> start de definitieterm en <dd> start de definitiebeschrijving.<dl> <dt>Eerste term</dt> <dd>Eerste definitie</dd> <dt>Tweede term</dt> <dd>Tweede definitie</dd> </dl>
      Eerste term
      Eerste definitie
      Tweede term
      Tweede definitie
      Tabel<table> <tr><th>Tabelkop</th></tr> <tr><td>Tabelcel</td></tr> </table>
      Tabelkop
      Tabelcel
      Benadrukt<em>Benadrukt</em>Benadrukt
      Vet<b>Vet</b>Vet
      Onderstreept<u>Onderstreept</u>Onderstreept
      Cursief<i>Cursief</i>Cursief
      Sterk<strong>Sterk</strong>Sterk
      Er is geen hulp beschikbaar voor tag font.
      Verwijderd<del>Verwijderd</del>Verwijderd
      Ingevoegd<ins>Ingevoegd</ins>Ingevoegd
      Subscript<sub>Sub</sub>scriptSubscript
      Superscript<sup>Super</sup>scriptSuperscript
      Er is geen hulp beschikbaar voor tag quote.
      blok aanhaling<blockquote>blok aanhaling</blockquote>
      blok aanhaling
      Voorgeformateerd<pre>Voorgeformateerd</pre>
      Voorgeformateerd
      Er is geen hulp beschikbaar voor tag address.
      Code-tekst, gebruikt om programmacode weer te geven<code>Code</code>Code
      Geciteerd<cite>Geciteerd</cite>Geciteerd
      Er is geen hulp beschikbaar voor tag embed.
      Er is geen hulp beschikbaar voor tag object.
      Er is geen hulp beschikbaar voor tag strike.
      Er is geen hulp beschikbaar voor tag caption.

      De meest gebruikelijke karakters kunnen direct ingegeven worden zonder problemen.

      Indien u wel problemen ondervindt, probeer dan eens HTML-karaters te gebruiken. Een standaard voorbeeld is &amp; voor een ampersand &-karakter. Voor een volledige lijst van karakters: zie HTML's entititeiten-pagina. Een aantal van de beschikbare karakters zijn:

      KarakterbeschrijvingU typtU krijgt
      Ampersand&amp;&
      Groter dan&gt;>
      Kleiner dan&lt;<
      Aanhalingsteken&quot;"
    • If you include a textual smiley in your post (see chart below), it will be replaced by a graphical smiley.
      Smileys
      SmileyAcronyms
      :):) :-) :smile:
      :(:( :-( :sad:
      :D:D :-D :lol:
      :P:P :-P :tongue:
      :O:O :-O :shocked:
      :?:? :-? :Confused:
      8)8) 8-) :cool:
      :iloveyou:iloveyou
      :heartlove:heartlove
      :):) :-) :smile:
      :(:( :-( :sad:
      :bigsmile::bigsmile:
      :crown::crown:
      S)S) S) :drunk:
      :|:| :-| :stare:
      :ghost::ghost:
      H)H) H:) H:-) :grade:
      0:)0:) 0) 0:-) :innocent:
      :D:D :-D :lol:
      :love::love:
      :mail::mail:
      :X:X :-X :oups:
      :party::party:
      :~:~ :-~ :puzzled:
      :quest::quest:
      :((:(( :-(( :cry:
      :*:* :-* :sexy:
      :O:O :-O :shock:
      :8):8) :8-) :shy:
      :Sp:Sp :-S) :sick:
      :star::star:
      :tired::tired:
      :p:p :-p :tongue:
      :wink::wink:
      :kisslove:kisslove
      :heartfireyou:heartfireyou
      :mylove:mylove
      :winyourlove:winyourlove
    • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.
  • Full HTML:
    • Regels en paragrafen worden automatisch herkend. De <br /> regeleinde-, <p> paragraaf- en </p> paragraafeinde-tags worden automatisch ingevoegd Indien paragrafen niet herkend worden, voeg dan gewoonweg een aantaal lege regels toe.
    • Adressen van webpagina's en e-mailadressen worden automatisch naar links omgezet.
    • Gebruikt aangepast PHP-code

      In sommige inhoudstypen, waaronder berichten en blokken, kan eigen PHP-code geplaatst worden. Wanneer dit door een betrouwbare gebruiker met PHP-ervaring wordt gedaan biedt dit krachtige en flexibele functionaiteit, maar het is ook een groot veiligheidsrisico wanneer het onjuist gebruikt wordt. Zelfs een kleine vergissing bij het plaatsen van PHP-code kan inbreuk doen op uw site.

      Als u onbekend bent met PHP, SQL of Drupal maak dan geen gebruik van eigen PHP-code in berichten. Experimenten met PHP kunnen uw database beschadigen, uw site onbruikbaar maken of de veiligheid sterk verminderen.

      Aantekeningen:

      • Controleer iedere regel op syntax en logische fouten voordat u deze opslaat.
      • Statements dienen met puntkomma's te worden afgesloten.
      • Globale variabelen die gebruikt worden in uw PHP-code behouden hun waarden nadat uw script is uitgevoerd.
      • register_globals is uitgeschakeld. Als u formulieren wil gebruiken, maak dan gebruik van de beschikbare functies in de Drupal Form API.
      • Gebruik print of return in uw code om inhoud naar het scherm te schrijven.
      • Ontwikkel en test uw PHP-code met behulp van test-scripts en voorbeeld database-gegevens voordat de code op een productiesite wordt toegepast.
      • Overweeg om uw PHP-code in een site-specifieke module of in het template.php-bestand op te nemen in plaats van deze direct in een pagina of een blok te plaatsen.
      • Met het PHP-filter kan PHP-code aan de website-inhoud worden toegevoegd. Let op: wanneer deze module is uitgeschakeld of verwijderd zal de toegevoegde PHP-code als tekst worden weergegeven en als PHP-code worden uitgevoerd.

      Een eenvoudig voorbeeld: Een 'welkomblok' maken dat bezoekers met een eenvoudige tekst begroet.

      • Voeg een nieuw blok genaamd 'Welkom', toe aan uw site. Stel het invoerformaat in op 'PHP code' (of elk ander formaat dat PHP invoer ondersteunt) en voeg dit toe aan de berichttekst van het blok:

        print t('Welkom! Dank voor uw bezoek.');
        
      • Om de naam van een geregistreerde gebruiker weer te geven gebruikt u:

        global $user;
        if ($user->uid) {
          print t('Welkom @name! Dank voor uw bezoek.', array('@name' => $user->name));
        }
        else {
          print t('Welkom! Dank voor uw bezoek.');
        }
        

      Drupal.org biedt enige voorbeeld-PHP-knipsels, of u kunt uw eigen maken met enige PHP ervaring en kennis van het Drupal systeem.

    • If you include a textual smiley in your post (see chart below), it will be replaced by a graphical smiley.
      Smileys
      SmileyAcronyms
      :):) :-) :smile:
      :(:( :-( :sad:
      :D:D :-D :lol:
      :P:P :-P :tongue:
      :O:O :-O :shocked:
      :?:? :-? :Confused:
      8)8) 8-) :cool:
      :iloveyou:iloveyou
      :heartlove:heartlove
      :):) :-) :smile:
      :(:( :-( :sad:
      :bigsmile::bigsmile:
      :crown::crown:
      S)S) S) :drunk:
      :|:| :-| :stare:
      :ghost::ghost:
      H)H) H:) H:-) :grade:
      0:)0:) 0) 0:-) :innocent:
      :D:D :-D :lol:
      :love::love:
      :mail::mail:
      :X:X :-X :oups:
      :party::party:
      :~:~ :-~ :puzzled:
      :quest::quest:
      :((:(( :-(( :cry:
      :*:* :-* :sexy:
      :O:O :-O :shock:
      :8):8) :8-) :shy:
      :Sp:Sp :-S) :sick:
      :star::star:
      :tired::tired:
      :p:p :-p :tongue:
      :wink::wink:
      :kisslove:kisslove
      :heartfireyou:heartfireyou
      :mylove:mylove
      :winyourlove:winyourlove
    • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.
    • Video Filter

      You may insert videos from popular video sites by using a simple tag [video:URL].

      Examples:

      • Single video:
        [video:http://www.youtube.com/watch?v=uN1qUeId]
      • Random video out of multiple:
        [video:http://www.youtube.com/watch?v=uN1qUeId1,http://www.youtube.com/watch?v=uN1qUeId2]
      • Override default autoplay setting: [video:http://www.youtube.com/watch?v=uN1qUeId autoplay:1]
      • Override default width and height:
        [video:http://www.youtube.com/watch?v=uN1qUeId width:X height:Y]
      • Align the video:
        [video:http://www.youtube.com/watch?v=uN1qUeId align:right]

      Supported sites: YouTube, Google Video, Tangle, DailyMotion, Eyespot, Revver, Vimeo, Flickr Slideshows, Flickr Video, Game Videos, Meta Cafe, Game Trailers, College Humor, MySpace, Capped, Blip.tv, Slideshare, Picasa Slideshows.

      Special instructions:

      Some codecs need special input. You'll find those instructions here.
      • Slideshare:
        You need to construct your own URL, using the "Wordpress Embed" code from Slideshare, extract the "id" and "doc" parts, and form the URL like this: slideshare.net/?id=1759622&doc=usingdrupal-090723103440-phpapp01.
      • Picasa Slideshows:
        You must use the URL of the RSS feed for the Picasa album:
        1. View the album in Picasa (you should see thumbnails, not a slideshow).
        2. Find the "RSS" link and click it.
        3. Copy the resulting URL from the browser address bar. Example:
          [video: http://picasaweb.google.com/data/feed/base/user/USER_NAME/albumid/5568104935784209834?alt=rss&kind=photo&hl=en_US]