Template:Assistant:Context/doc

Usage
Call this template on a page to produce a button that feeds information to templates on that page via the assistant (of which this template is a part). The information provided is cumulative; such a button may add a specified template to the list of templates to be informed, and may add some data to the list of information to be provided to templates upon their request.

Parameters: Additional templates to be informed may be specified via optional parameters,  ,.
 * &mdash; optional &mdash; an additional template to be informed.
 * &mdash; optional &mdash; the label on the button; if omitted, the label is.
 * unnamed parameters &mdash; optional &mdash; names of dialog parameters to be made available to any informed templates that request them (by passing them through the button and adding them to the whitelist). As of this writing, up to twenty six parameters may be specified (four fewer than supported by dialog/view).
 * &mdash; optional &mdash; name of the page to be viewed; defaults to current page.
 * &mdash; optional &mdash; name of a template to transform the page content before viewing, replacing any transform already in place; explicit blank means no transform.

Internals
The max number of informing parameters provided by this template is bounded by the capacity of dialog/view; as of this writing, dialog/view supports up to thirty dialog parameters, and this template uses up to four administrative dialog parameters, described at /doc. This template delegates construction of outgoing dialog parameter  to subtemplate /delta; re the number of templates-to-be-informed supported, see the subtemplate documentation.