@nstWikiButton(PAGE_NAME, SHOW, ATTRS)

Add a button that links to a page at the NST Wiki.

The following parameters are recognized:

PAGE_NAME

The name of the NST Wiki page to be shown like: "Multi-Tap_Network_Packet_Capturing". If omitted, it defaults to the main page (Main_Page).

SHOW

The name of the NST Wiki page to be shown on the button (like: "Multi-Tap Network Packet Capturing"). If omitted PAGE_NAME is used with underscores replaced by spaces.

ATTRS

Any optional attributes to include in the <a> entity formed (like tooltips).

Used to construct a button to a single page within the NST Wiki.

Example of using the macro:

@nstWikiButton("Multi-Tap_Network_Packet_Capturing")
@nstWikiButton("Hard_Disk_Install_Setup_Tips#HD_Install","Hard Disk Installation")
@nstWikiButton("Hard_Disk_Install_Setup_Tips#HD_Install","Hard Disk Installation","
  @htmlAttr("style","font-size: 150%;")
  @toolTipAttr("My DOM Tooltip","300")")

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")

@nstWikiButton("Multi-Tap_Network_Packet_Capturing")
@nstWikiButton("Hard_Disk_Install_Setup_Tips#HD_Install","Hard Disk Installation")
@nstWikiButton("Hard_Disk_Install_Setup_Tips#HD_Install","Hard Disk Installation","
  @htmlAttr("style","font-size: 150%;")
  @toolTipAttr("My DOM Tooltip","300")")

EOF

This macro is defined as:

@nstWikiPage("@param(0)","@param(1)","@param(2)","wuiInputButton")