Template:Shelf:Page/Check ancestry/doc

This template checks the status of the ancestry page of a shelf in the for Shelf:Page/display2.

Usage
Parameters used, as of this writing, are
 * &mdash; the name of the shelf, without the  prefix.
 * &mdash; the name of a parent shelf or department, without the  or   prefix.
 * &mdash; optionally, the name of another parent shelf or department, without the  or   prefix.
 * &mdash; the pagename of, including the prefix.
 * &mdash; the pagename of, including the prefix.

Internals
This template gathers parameter values and delegates further processing to Shelf:Page/Check ancestry2.