Template:Cite NJSA/doc

This template is intended for citing New Jersey Statutes. Right now it links to Rutgers University's Law School's copy of N.J.S.A. because the official New Jersey site does not allow hard linking.

Examples
Please see the test cases for more examples.

TODO

 * Error checking
 * Default values
 * Link to more official site than Rutgers
 * Deep link with subsection
 * Name citation so that duplicate references will share one reference
 * Use the Wikisource version if possible one day: https://en.wikisource.org/wiki/New_Jersey_Statutes_Annotated