Template:Shelf:Ancestry/display

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Template documentation[edit] [history] [purge]
create use count

This template implements content generation for template {{Shelf:Ancestry}}. On entry here, the current page is known to be the ancestry page of a shelf in the Wikibooks Stacks.

Usage

Two parameters are expected.

  • shelf — the name of the shelf. This is the name of the ancestry page without the Shelf: prefix or /ancestry suffix.
  • ancestors — an (ostensibly) wikilisp-formatted list of ancestors of the shelf. The parents may be shelves or departments.

Internals

This template generates most of the content directly, but delegates diagnostics to {{Shelf:Check page}}.