Inserts a "tip" paragraph.
The following parameters are recognized:
Paragraph of text
Title for tip (defaults to "TIP:" if omitted)).
Example of using the macro:
@tipPara("This is a tip paragraph.")
@tipPara("Another tip - with a custom label.","MY TIP:")
Assuming the com.ccg.macros.at.All
class is within your CLASSPATH and the
config/html.at macros file has been
generated (Hint: run make atmacros in the
wui directory), a developer should be able to
run the above example by copy/pasting from below:
[root@probe root]#java com.ccg.macros.at.All <<EOF@include("config/html.at",,"d")@tipPara("This is a tip paragraph.") @tipPara("Another tip - with a custom label.","MY TIP:")EOF
This macro is defined as:
<p>
<img @htmlAttr("src","@imageDirUrl()/tip_icon.png")
@htmlAttr("width","42")
@htmlAttr("height","22")
@htmlAttr("alt","TIP")
@htmlAttr("style","float: left; border-style: none; padding-right: 4px; padding-bottom: 4px; padding-top: 0px; padding-left: 0px; margin: 0px;") />
@comment("@htmlEntity("span","@fnb("@param(1)","TIP:")","@htmlAttr("style","font-weight: bold; color: black; background-color: yellow")")")@param(0)</p>
@verticalGap()