Template:Erratum/doc

Required parameters
Erratum requires an identifier link to the errata: bibcode (for bibcodes), doi (for DOIs), pmc (for PMCIDs), and pmid (for PMIDs) are supported.

Failing that, is also supported for a generic web link.

Usage
This template is used to mark citations with errata/corrigenda. Using gives
 * Smith, J. (2008). "Foobar." Journal of Barfoo. 5:12.

If the errata does not affect the relevant material (e.g. a correction to author names and affiliated, a correction that affects a passage unrelated to the material supported by the citation), then use which gives
 * Smith, J. (2008). "Foobar." Journal of Barfoo. 5:12.

If the errata affects the relevant material, then update the article accordingly before marking the erratum as checked. The template works with citation templates too, for example gives

Do not use this template in the fields of citation templates such as and, as the HTML markup will be rendered in the metadata for that field.

Cleanup and tracking categories
Pages containing this template will be placed in the category Category:Articles citing publications with errata. Pages containing unchecked errata will instead be placed in Category:Articles unintentionally citing publications with errata. Ideally this last category should be empty.