Template:Source/pub/doc

This template handles the publisher field for source. Though this is called for every citation, the logic in handling this field is somewhat nontrivial, so factoring out the formatting to here leaves the parent template more purely concerned with sorting out the template fields.

Usage
Three parameters are supported:
 * &mdash; required &mdash; name of the publisher.
 * &mdash; required &mdash; target for the link; always provided by the parent template (which is responsible for sorting out the template interface).   requests the publisher be left unlinked (see source/pub/no).
 * &mdash; optional &mdash; if non-blank, suppresses categorization.

Internals
Don't be tripped up by the parameter names here. They do not correspond, quite, to the names of parameters passed to the parent template, source. Parameter  is often, but not always, the same as the same-named parameter to the parent template. Parameter  is sometimes the same as parent parameter , but that parent parameter is optional and (as of this writing) usually omitted, whereas the   parameter here is required.