Template:Shelf:Page/Merge ancestry/doc

This template reckons the ancestry of the current shelf by merging its parents and the stored ancestry of its parents, for Shelf:Page/Check ancestry2.

Usage
This template takes three wikilisp-formatted lists as unnamed parameters: first parent ancestry, second parent ancestry, and parents.

Internals
On entry, the lists are already known to be in sorted order.