Home: Support: Reference Guide: Variables & Macros: <dpMacro>

<dpMacro>

D E F I N I T I O N:

Macros are similar to variables, but rather than setting a value they define a series of instructions you can use within your template. If you end up doing the same thing more then once within your template, macros are usually a helpful shorthand.

<dpMacro macroName="value">

or

<dpMacro macroName>value</dpMacro>

Macro Usage:

<dpMacro macroName>


A T T R I B U T E S:

Not applicable.


E X A M P L E S:

<dpMacro myCapsuleStyle>
   <b><dpHeadline link="on"></b><br>
   <dpSummary><br>
   <dpAuthor><p>
</dpMacro>

<dpQuery section="music">
   <dpMacro myCapsuleStyle>
</dpQuery>

<dpQuery section="film">
   <dpMacro myCapsuleStyle>
</dpQuery>


Home: Support: Reference Guide: Variables & Macros: <dpMacro>
Questions? Comments?
Please write support@desert.net.