Access Keys:
Skip to content (Access Key - 0)

{listing} Macro

Visual macro for adding consistent labels for images, source code listings, and so on.

An example:

 {listing:caption=Image Caption Goes Here}
   !website:OpenRemote Images^Info_64x60.png!
 {listing}

Results in:

Image Caption Goes Here

Available parameters:

  • caption (mandatory)
  • margin (optional)

Custom Margin

Margin for the caption can be set by using the CSS margin properties (without the 'margin:' prefix).

 {listing:caption=Image Caption Goes Here|margin=-20px 0px 0px 0px;}
   !website:OpenRemote Images^Info_64x60.png!
 {listing}

Results in:

Image Caption Goes Here

Added by Administrator , last edit by Administrator on Sep 08, 2010 14:43

© 2008-2011 OpenRemote Inc. OpenRemote is a trademark of OpenRemote, Inc.
Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10.3, the Enterprise Wiki.
Free theme builder license