Snippets
Snippets are pieces of PHP code that are written to do... something... and are inserted into any page using a CODE section. Generally the difference between a snippet and a module is that modules are installed and used as a page section whereas snippets are inserted into a code section.
The CODE page of the core sections shows an example of a random quote generator. Additional snippets that are available are listed below.
Snippets that are written to be installed as a "module" generally will use a simple function call and can then be incorporated directly into your template file as well.
Last Modified
The GetLastUpdate snippet found on the WB Forums allows you to enter a page id number. This means you can list the update information for a page other than the one you are currently viewing. If you do not pass a page id, it defaults to the current page.
Modify This Page
This snippet puts an "edit" icon in the upper right corner of the block it is is placed in. Best use is to place just before call to place the PAGE_TITLE and page_content in your template. This checks not only if you are logged in as an admin, but it will show up for anyone who has permission to edit that specific page.
No Spam
This example is here to show you how the image displays when placed in the middle of a paragraph. is my email address if you wish to contact me, or use the form in the Form example page under Core Modules. Text can be added to the code section using the php echo command. You can include html tags in here as well. This paragraph is enclosed in a P tag.
Random Image
This shows an image at random from the folder you specify. Make sure the images will fit your template though, as no resizing is done. This snippet can be placed inside a Code section or within your main template.
Random Quote
This Random Quote generator is based on some code I originally did in javascript to display a random quote in the footer of my site. As I learned php, I re-wrote it using it instead. It is a pretty basic script and called by putting random_quotes(); in a code block or into a template index file.