Template:Auto parents/doc

Usage
This template provides a sequences of parent links to a subpage, suitable for use in the header of the article, so that the intervening parent hierarchy doesn't need to be manually entered.

Thus, a title such as "Ackermann’s Repository of Arts/Series 1/Volume 1/February 1809/Chinese Imperial Edict" will produce the following link sequence:

The last subpage level is removed (this is assumed to be the article's own name) and then each higher level is separately linked. The number of levels is determined automatically.

Parameters

 * : The top level work's display name, if not the same as the page title. For example Nature (journal) would use.
 * : An override for the current page's name. Can be used for testing and documentation, should not be needed in normal usage. If not given, the current page name is used.
 * : Use if none of the page names should be links.
 * : Use if the page names should only be links if the pages exist.

Examples
Basic usage with no parameters:

With a display override for the top level work:

Explicitly setting the page to be Ackermann’s Repository of Arts/Series 1/Volume 1/February 1809/Chinese Imperial Edict:

Using :

Using :