WBS Schedule Pro HTML Template commands are comments within regular HTML files.

When saving as Web pages, WBS Schedule Pro uses the specified HTML Template to
dictate image tiling characteristics then generates a number of HTML files,
each of which is a copy of the template with certain special phrases replaced
with chart-specific information.
The format of these WBS Schedule Pro HTML commands are:
<!--WBSChart:action param1="a" param2="b"-->
Here, two parameters are being used for the "action" command.
IMPORTANT: commands must by encoded UTF-8. ASCII is OK, but extra Windows ANSI
characters need attention. Command and attribute names are case sensitive.
Attribute values MUST be enclosed in either single-quotes or double quotes.
Certain characters in parameter values need special care:
<
>
&
'
"

Replace
Replace
Replace
Replace
Replace

by
by
by
by
by

&lt;
&gt;
&amp;
&apos;
&quot;

(if value is enclosed in single quotes)
(if value is enclosed in double quotes)

Files are saved in the selected output folder:
BasenameXX.html
BasenameXX.png
BasenameLS.png
BasenameLT.png
BasenameBXX.png

HTML files
Chart tile images (one per HTML page)
Field Legend image for Summary Tasks
Field Legend image for Tasks
Border Legend images

The actual number of files saved depends on options selected and chart size.
Basename1.html, Basename2.html etc are used for tiled charts. Basename.html and
Basename.png are used for the thumbnail page or the only page (if the entire
chart fits on a single page).
(.png filenames assume you're saving in the default image format (PNG). If you
instead choose to save JPEG images, the filename will be ".jpg").
================================================================================
===========
Command Reference
chart
The chart image (typically, a tile of a larger image)
pagenumber
Chart page number
projectinfo
A field from the project summary info
viewinfo
Information about the current view
currentdate
The date the HTML + image files were created
fieldlegend
Insert a link to an image illustrating fields within boxes
borderlegend
Create a HTML table illustrating Border shapes and colors
backgroundcolor The background color of the chart
link
A link to another part of the chart
linktest
Returns one of two specified strings dependent on whether a rela
tive link is valid
chart

II/V.. Pages are numbered row first. II/V... 2nd Page. It also indicates where in the output HTML the <img> tag will get inserted.. 1/5. the thumbnail is "Overview". ii. Page i of v. II. .. then: if the chart fits in a single image. format 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1. Page i. the word "Page" is generated by the program.... ii/v.. 2/5. Page 2.. Charts on a single page have page number "" (ie blank) The summary or thumbnail page is given the page number 'Overview '. pagenumber inserts the chart page number.. Where indicated..... 2.. iii.. if format="6"... I.width the desired width (in pixels) of each chart image tile height the desired height (in pixels) of each chart image tile padding distance (in pixels) around the chart scale image scale 10% to "200%" (default "100%") imageformat png jpg Portable Network Graphics file format (default) JPEG file format imagecolor auto grayscale bw are white colors as specified in the chart (default) colors converted to grayscale approximation line art: lines and text are black.. 1st Page of 5. Page I of V... the second chart page is "2nd Page" etc. Page I. It specifies the size of each image tile. II of V. backgrounds Example: <!--WBSChart:chart width="1200" height="800" padding="10"--> The 'chart' command actually serves two purposes.. III. i of v.. For example. the first chart page is "1st Page".. therefore dictating how many pages will need to be saved.. i/v.... 1 of 5.. Page II. Page ii. Page 1 of 5.. 1st Page. the pagenumber is "" (empty string) otherwise.. Page 1.. 3. (default) i.

backgrounds borderlegend all yes no all borders borders only for those tasks used in the chart (default) labels first second none labels to the left of the images (default) labels to the right of the images no labels.projectinfo topic title author company manager subject keywords comments start "Title" field from Project Summary Info "Author" field from Project Summary Info "Company" field from Project Summary Info "Manager" field from Project Summary Info "Subject" field from Project Summary Info "Keywords" field from Project Summary Info "Comments" field from Project Summary Info "Project Start Date" field from Project Summary finish "Project Finish Date" field from Project Summary Info format Info format format topic="start" date format (see below) topic="finish" date format (see below) viewinfo topic name desc Name Description currentdate format date format (see below) fieldlegend item summary task scale summary task field legend task field legend image scale 10% to "200%" (default "100%") imageformat png jpg Portable Network Graphics file format (default) JPEG file format imagecolor auto grayscale bw are white colors as specified in the chart (default) colors converted to grayscale approximation line art: lines and text are black. image meaning must be determined via tooltips scale image scale 10% to "200%" (default "100%") imageformat png jpg Portable Network Graphics file format (default) JPEG file format .

imagecolor auto grayscale bw are white colors as specified in the chart (default) colors converted to grayscale approximation line art: lines and text are black. backgrounds backgroundcolor link page home up down left right HTML 'overview' page (default) one row up one row down one column left one column right linktest page home up down left right exist HTML 'overview' page (default) one row up one row down one column left one column right text string to return if page exists (default: empty str ing) notexist pty string) text string to return if page doesn't exist (default: em in the two strings. Date Formats WBS Schedule Pro can emit dates and times in a wide variety of formats: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 4/25/2014 4/25/14 4/25/14 8:00 April 25 2014 April 25 2014 8:00 AM Apr 25 Apr 25 8:00 AM Apr 25 14 April 14 Apr-25-14 Apr-25-14 8:00 AM Mon 4/25/14 Mon 4/25/14 8:00 AM Mon Apr 25 14 Mon 25 Apr Mon Apr-25-14 Mon Apr-25-14 8:00 AM Mon 4/25 Mon 25 Mon 8:00 AM Apr 14 4/14 4/25 25 8:00 AM April Apr .

ISO-8601 compatible formats: 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 YYYY-MM-DD HH:MM YYYY-MM-DDTHH:MM YYYY-MM-DD YYYY-MM YY-MM-DD YY-MM YYYYMMDD HHMM YYYYMMDDTHHMM YYYYMMDD YYYYMM YYMMDD YYMM YYYY-DDD HH:MM(day of year) YYYY-DDDTHH:MM (day of year) YYYY-DDD (day of year) YY-DDD HH:MM(day of year) YY-DDDTHH:MM (day of year) YY-DDD (day of year) YYYYDDD HHMM(day of year) YYYYDDDTHHMM (day of year) YYYYDDD (day of year) YYDDD HHMM(day of year) YYDDDTHHMM (day of year) YYDDD (day of year) HH:MM . and any day or month names depend on the system language.27 28 29 30 31 32 33 34 35 April 2014 Mon April 25 2014 April 14 2014 14 Q2 2014 Q2 14 1/W25 1/W25/14 8:00 AM The above formats tend to be dependent on the system s current day-month-year orde r.