Template:Shelf:Allbooks category/display

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

This template implements content generation for template {{Shelf:Allbooks category}}. On entry here, the current page is known to be a category with name prefix Shelf:.

Usage

Two parameters are expected.

  • shelf — the name of the shelf. This is the name of the allbooks category without the Shelf: prefix or /all books suffix.
  • parents — a wikilisp-formatted list of parents of the shelf. The parents may be shelves or departments.

Internals

This template generates most of the content directly, but delegates parent categorization through {{Shelf:Map}} to {{Shelf:Allbooks category/parent}}.