@title;noquote@

    dt_widget_calendar_navigation base_url view date pass_in_vars

Parameters:
  base_url (optional)
  view (defaults to `week`)
  date (optional)
  pass_in_vars (optional)

This procedure creates a mini calendar useful for navigating various calendar views. It takes a base url, which is the url to which this mini calendar will navigate. When defined, `pass_in_vars` can be url variables to be set in `base_url`. They should be in the format returned by `export_url_vars`. This procedure will set two variables in that url's environment: `view` and `date`.

Valid views are list, day, week, month, and year.

### Example

The following shows a sample navigation form for this page, which simply reads `view` and `date` as URL variables and uses them to initialize the display.

@calendar_widget@

Click on any view, date, or other navigational element to change the display of this page.