NAME:
    cw_tplat
 PURPOSE: (one line)
    Create a photometry template widget.
 DESCRIPTION:
    This compound widget is invoked on a Top Level Base (from The Template
 Manager) and represents an individual template.
    Each template managed by The Template Manager has its own TLB and
 appears as a separate widget.
    The template structure for each template is stored in the user-value of
 its TLB.
 CATEGORY:
    Compound Widgets
 CALLING SEQUENCE:

 INPUTS:
    parent : ID of parent base.
 OPTIONAL INPUT PARAMETERS:

 KEYWORD PARAMETERS:
    UVALUE = Optional user-value.
    VALUE  = The 'value' of the widget. Defined to be the template structure.
             This value may be obtained, or set, by using the widget_control
             procedure with its appropriate keywords. The value structure is:
                {numobj:0, mode:0B, modified:0B, new:[1B], $
                 objnam:[''], x:[0.0], y:[0.0] }
 OUTPUTS:

 COMMON BLOCKS:

 SIDE EFFECTS:

 RESTRICTIONS:

 PROCEDURE:

 MODIFICATION HISTORY:
    Written by Doug Loucks, Lowell Observatory, June 24, 1994. Adapted from
 a previous section of code in the main template manager procedure.
    96/01/16 - MWB, fixed bug that crashed template manager after deleting
                 objects from template.