Template:Cite NJSA
Jump to navigation
Jump to search
N.J.S.A :-[1]
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.
{{New Jersey Statute | title = 18A | chapter = 7A | section = 33 | subsection = a <!-- OPTIONAL for more fine citation --> | ref = <!-- OPTIONAL extra information that will be appended to the generated reference --> | citeonly= <!-- OPTIONAL to *only* make the citation --> }}
Examples
Kind | Code | Returns | Note |
---|---|---|---|
No sub section; no extra reference text | {{Cite NJSA|title=2C|chapter=39|section=1}} |
N.J.S.A 2C:39-1[2] | |
Sub section; no extra reference text | {{Cite NJSA|title=2C|chapter=39|section=2|subsection=a}} |
N.J.S.A 2C:39-2(a)[3] | |
Sub section; extra reference text | {{Cite NJSA|title=2C|chapter=39|section=3|subsection=b|ref=This is an important note.}} |
N.J.S.A 2C:39-3(b)[4] | |
Cite Only | {{Cite NJSA|title=2C|chapter=39|section=3|subsection=b|citeonly=true}} |
[5] | To make citeonly true, it can be any value. Please make it in the affirmative. |
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
The above documentation is transcluded from Template:Cite NJSA/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
- ↑ New Jersey General Assembly. "N.J.S.A. :-". Statutes of New Jersey. New Jersey.
- ↑ New Jersey General Assembly. "N.J.S.A. 2C:39-1". Statutes of New Jersey. New Jersey.
- ↑ New Jersey General Assembly. "N.J.S.A. 2C:39-2(a)". Statutes of New Jersey. New Jersey.
- ↑ New Jersey General Assembly. "N.J.S.A. 2C:39-3(b)". Statutes of New Jersey. New Jersey. This is an important note.
- ↑ New Jersey General Assembly. "N.J.S.A. 2C:39-3(b)". Statutes of New Jersey. New Jersey.