Template:Cite compare/doc

is a debug and documentation tool that allows editors to compare the output created by the various versions of a (CS1) template. To invoke simply add CS1 template parameters to. For example, a simple comparison might look like this: which produces this output:

Usage
The default display is a comparison between sandbox and the current live CS1 template.

is controlled by four parameters:
 * template – selects which of the CS1 templates will be compared; for, web; for , journal; etc.; alias: mode (deprecated)
 * mode – deprecated alias of template; for, web; for , journal; etc.; deprecated because cs1|2 supports a parameter called mode
 * old – when set to, includes the citation as rendered by
 * comment – when set to a comment, displays the comment at the bottom of the comparison table
 * header – when set, displays additional header text
 * nosandbox – when set, removes the line for the sandbox

Compare old, live and sandbox
Adding yes will display a comparison of all three versions of a CS1 citation: the current live template, the sandbox template, and the old, pre-Lua-based versions. The non-Lua-based templates are at pages labeled old; for example, cite web/old is the reference version against which the initial Lua implementation to were compared.

Compare with comment
To add a comment regarding the comparison, set comment. If contains a vertical bar or pipe (|) use.