Template:IsCabinetSinglePage

From The Brighton Toy and Model Index
Jump to navigationJump to search

This template takes a display number and returns a "1" if the cabinet or display is listed within it as only containing a single item (e.g. the "Kamov helicopter" display).

The "Exhibit" box template uses this function to decide whether or not to auto-include a "category" link based on the display name. "Exhibit" adds a Category link automatically if the returned value is null or zero.

1