Template:Shelf:Ancestry/display/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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[edit source]

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[edit source]

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