Help:Citation Style 2

Citation Style 2 (CS2) is a style applied to citations on Wikipedia. It is used by default in the general purpose citation template Citation, and available as an option in many other templates. The commonly-used citation templates have two style modes. These modes change how the citation is punctuated when it's rendered. CS2 primarily uses the comma as a separator, and it does not have a punctuation mark at the end of the citation. Citation Style 1 (CS1) uses the full stop as a separator and for terminal punctuation. For example:


 * CS2


 * CS1

When you use any template, please consider reviewing its documentation. You can find it at the template's page in the template namespace by searching for  plus the name of the template; for example, to find the documentation for , enter   in the Search box.

Style

 * With author


 * Without author

Citation Style 2 differs from Citation Style 1 in these specific style characteristics:
 * uses a comma to separate individual elements of a rendered citation (CS1 is a fullstop)
 * terminal punctuation is omitted from the rendered citation unless overridden by postscript (CS1 is a fullstop)

Apply CS2 to a single citation
By default, the Citation template uses CS2 formatting. To apply CS2 formatting to other citation templates, add  to the template's parameters. For example, cite web uses CS1 formatting, but  uses CS2 formatting.

Apply CS2 to all citations in an article
Add  to the article, preferably near the top of the page, to apply CS2 formatting to all citations on a page using Module:Citation/CS1.

Citation template
The general purpose Citation template uses CS2 by default. It determines the citation type by examining which parameters are used. As with other citation templates, it can be used either in a footnote (between  tags) or in a section that lists sources. For example:

Tools

 * User:Trappist the monk/HarvErrors is a script that may be enabled to display errors when using shortened footnotes. (See Help:Shortened footnotes for details on links and anchors.)
 * User:Nardog/RefRenamer will replace the names that the VisualEditor auto-generates for named references (":0") with names using the parameters from the citation template ("Smith-2015").
 * ProveIt is a gadget that offers a visual interface for editing and generating citation templates.
 * User:Mesidast/Tidy citations.js normalizes spacing in all citations on a given page.
 * User:Lingzhi2/reviewsourcecheck-sb.js is a script that will note which citations on a given page are inconsistent.