[ start | index | login or register ]
mainpage > snipsnap macros

snipsnap macros

Created by mschulz. Last edited by mschulz, 2 years and 149 days ago. Viewed 260 times. #32
[diff] [history] [edit] [rdf]
labels
attachments
ibmx401.jpg (26006)
>>SnipSnap Macro Tutorial

warning macro

Description

This macro prints a warning note to the user.

Parameter

ParameterDescription
title(optional) the title of the warning.
icon(optional) if "false", dont display the icon.

Example

Warning
Insert warning message here!

Syntax

{warning:title=Warning}
Insert warning message here!
{warning}


info macro

Description

This macro prints an informational note to the user.

Parameter

ParameterDescription
title(optional) the title of the information box.
icon(optional) if "false", dont display the icon.

Example

Useful Information
This macro is useful for including helpful information in your snipsnap pages

Syntax

{info:title=Useful Information}
This macro is useful for including helpful information in your snipsnap pages
{info}


note macro

Description

This macro prints a simple note to the user.

Parameter

ParameterDescription
title(optional) the title of the note.
icon(optional) if "false", dont display the icon.

Example

Be Careful
The body of the note here.. /space/snipsnap-portlet-1/warning.gif

Syntax

{note:title=Be Careful}
The body of the note here.. /space/snipsnap-portlet-1/warning.gif
{note}


tip macro

Description

This macro prints a helpful tip for the user.

Parameter

ParameterDescription
title(optional) the title of the tip.
icon(optional) if "false", dont display the icon.

Example

Handy Hint
Join the SnipSnap Mailing-List!

Syntax

{tip:title=Handy Hint}
Join the SnipSnap Mailing-List!
{tip}


color macro

Description

This macro get text with specific color.

Parameter

ParameterDescription
1(optional) color as name or in hexa decimal like (#cc0000 or red)

Example

This is a red sentinece.

Syntax

{color:#cc0000}This is a red sentinece.{color}


quote macro

Description

This macro display the text as citation.

Parameter

no parameter

Example

here is quoteable content to be quoted

Syntax

{quote}
here is quoteable
content to be quoted
{quote}


marker macro

Description

This macro marks text with specific color like a text marker.

Parameter

ParameterDescription
1(optional) color as name or in hexa decimal like (#cc0000 or red)

Example

This Text is marked like a text marker.

Syntax

This {marker:#faf108}Text is marked like a text{marker} marker.


big macro

Description

This macro represents text with larger letters.

Parameter

no parameter

Example

This is a little bigger text as the normal.

Syntax

This is a {big}little bigger text{big} as the normal.


popup macro

Description

This macro links to a page or URL, popping it up into a new window.

Parameter

ParameterDescription
1/hrefThe name of the page, or the URL.
width(optional) The width of the new window.
height(optional) The height of the new window.
scrollbars(optional) If false, the scrollbar will be hidden.
menubar(optional) If false, the menubar will be hidden.
location(optional) If false, the location bar will be hidden.
statusbar(optional) If false, the status bar will be hidden.
resizable(optional) If false, the window will not be resizable.
target(optional) The title of the target window. Use this to open multiple links in the same popup window.
tip(optional) The tip to display while the mouse is hovering over the link.
icon(optional) If false, the link will not have an 'open new window' icon.

Example

Das ist ein Link zu google.de im neuen Fenster. Und das ist ein Link zur Installation von SnipSnap Software im neuen Fenster.

Syntax

Das ist ein Link zu {popup:http://www.google.de|width=600}google.de{popup} im neuen Fenster.
Und das ist ein Link zur Installation von {popup:installation/Install SnipSnap Software|width=850|height=800}SnipSnap Software{popup} im neuen Fenster.

redirect macro

Description

This macro redirect to an url or a snip.

Parameter

ParameterDescription
hrefsnip page or url
timeout(optional) timeout in seconds

Example

Got to start page.

Syntax

{redirect:href=mainpage|timeout=3}


thumbnail macro

Description

Display a thumbnails of an images that's attached to a page.

Parameter

ParameterDescription
1/imageSpecify the image that should be display as thumbnail.
width(optional) Specify the width in pixel of the thumbnail.
height(optional) Specify the height in pixel of the thumbnail.
border(optional) Display a border around the thumbnail (true|false).

Example

Syntax

{thumbnail:image=ibmx401.jpg|width=100|height=68|border=false}
no comments | post comment

Portlet konfigurieren!
Als Administrator anmelden um dieses Portlet zu bearbeiten.

Spielwiese
In der Spielwiese kannst Du deine ersten Schritte mit der SnipSnap Formatierung testen. Für Hinweise zur Formatierung schau Dir die Hilfe an.

SnipSnap Macros & Filter
Hier kann man SnipSnap Macros und SnipSnap Filter herunter laden.

Logged in Users: (0)
… and a Guest.


Kalendar

< September 2010 >
SunMonTueWedThuFriSat
1234
567891011
12131415161718
19202122232425
2627282930

Favorieten
>>codebase at tuxnet24
>>wiki at tomedia
>>perlunity
>>cvsaccess-1.01

Sleipnir - Rock für Randgruppen

snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt