Template:ASSTROOTLINK/doc

This template returns a link to the main page of the interactive assistant to which the page it's used on belongs, assuming certain naming conventions.

Usage
Simply place  on a page to get the output.

Optional parameters:
 * unnamed &mdash; page name to use instead of the name of the transcluding page. Alternatively, name of a global assistant, or parent and name of a local assistant (cf. ASST).
 * &mdash; anchor when linking to the main page for the assistant.
 * &mdash; used for page-creation link if the main page for the assistant does not exist.
 * &mdash; used for page-creation link if the main page for the assistant does not exist.
 * &mdash; label for the link instead of the name of the assistant (name being the field after ).

If  is non-blank, the   (as provided by ASST) is omitted.

If  or   is non-blank, and the target doesn't exist, the label has   pefixed to it.

This template can be substituted (via ) as well as transcluded.

Internals
Calls ASST with /t.