Template:Shelf:Page/display2/doc

This subtemplate provides the detailed layout of shelf page content for template Shelf:Page, after parameter preprocessing by Shelf:Page/display.

Usage
All the named parameters of Shelf:Page are expected to be provided, even if blank; at this writing, the parameters that significantly could be blank are  and. There are also five additional parameters; one generated by the call from Shelf:Page and four more by the call from Shelf:Page/display.
 * &mdash; the name of the shelf, without the  prefix.  (Generated by Shelf:Page.)
 * &mdash; how each completion-status list is to be displayed; either,  , or blank.  (Generated by Shelf:Page/display.)
 * &mdash; the name of the associated allbooks category if it exists, otherwise blank. No   prefix.  (Generated by Shelf:Page/display.)
 * &mdash; the name of the page associated with the first-listed parent; could be a shelf or a department. (Generated by Shelf:Page/display.)
 * &mdash; the name of the page associated with the second-listed parent; could be a shelf or a department. (Generated by Shelf:Page/display.)

Internals
Split mode separates the list of books on this shelf for a given completion status into the ones explicitly filed on this shelf, then the ones not explicitly filed here but filed in subshelves. Blank mode omit the ones only on subshelves.