Template:CS1 config/doc

For consistency, this template sets certain parameters for all CS1 and CS2 templates on a page.[1] Module:Citation/CS1 generates widely used citation templates like {{cite book}}, {{cite journal}}, and {{cite web}}. This Module checks the article for {{CS1 config}}. When found, Module:Citation/CS1 extracts the settings parameters and their assigned values and applies those settings to all CS1 and CS2 templates in the article.[2] This provides stylistic consistency in the rendered output without editing every template in the article. For example, instead of adding |mode=cs1 to each {{Citation}} template on a page using mostly CS1 templates, {{CS1 config|mode=cs1}} can be added once to the article and will have the same effect.

  1. ^ Cite error: The named reference covered-templates was invoked but never defined (see the help page).
  2. ^ The CS1 config template produces no output of its own.