\BuildCards  

Purpose:

Assists in splitting a long list of content items across multiple cards within one card deck.  The module handles the setting up of inter-card linking, common titles etc.  It is called once per line of output to build a linked deck of cards

Parameters:

CardTitle                 Generic title for Card(s)

CardId                    Short, generic Card Id string (a serial number is appended)

PageTitles                A single string, or an array of two strings being the Title (and possibly subtitle) for the card(s)

LineIndex                Which line this one is (starting from 0)

LinesPerCard            How many to lines to fit in one card

TotalLines                How many lines there are altogether

TargetPage              Where hyperlinks go  (target page name)

TargetParams          Parameters for hyperlink

HyperCol                 Which column hyperlinks (Invalid if no hyperlinks)

ColumnHeaders        Array of column header text strings

ColumnData             Array of column data for current line

ColumnWidths          Array of target column widths (in characters - Invalid if not required) – Global default can be set with \WAPColWidth

FirstLink                  Array[2] – Label, URL for "Prev" softkey on first card

LastLink                  Array[2] – Label, URL for "Next" softkey on last card