|
|
|||||||
15 TemplatesMany cards need linking back to the previous card. For example each card may have information about a specific subject within the deck, but all cards are accessed from the main card. To save on time in both writing the wml code, in download of each deck, a link can be created on each card using a template. The template is positioned between the opening <wml> tag and the first card. The template code is nested within <template> tags, and consists of a do command, written as a tag with a required type attribute describing what do performs, in this case prev for previous, and a label attribute which is displayed as a button at the bottom of each card in the deck. Keep the label to 6 characters or less, or it may not display. The label is activated by pressing an associated key on the wap device. Note the type attribute requires an additional single tag.
The template command can be cancelled on an individual card basis using a noop (no operation) command, which is positioned after the opening card tag but above the first paragraph tag in the card.
|
1 Preparation Type in WAP |
||||||