Jump to content

Template:Department:Allbooks category?/doc

From Wikibooks, open books for an open world

This template takes one unnamed parameter, and looks for an allbooks category for a department with that name. Returns non-blank only if the allbooks category exists and is apparently properly set up.

Internals

[edit source]

This template pings the allbooks category, and checks for the correct response by {{Department:Allbooks category}}. The correct ping response cannot result if the allbooks category doesn't exist, and is wildly unlikely if the allbooks category isn't properly set up. This template does not use the #ifexist: magic word.