Difference between revisions of "Template:Criminal case law entry"
Jump to navigation
Jump to search
imported>Seraphim System (create) |
imported>Seraphim System (edit) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>|-{{#if:{{{common|}}}|style="background:# | + | <includeonly>|-{{#if:{{{common|}}}|style="background:#1d2e39"}}{{#if:{{{statute|}}}|style="background:#dddddd;"}}{{#if:{{{MPC|}}}|style="background:#f9e6ff;"}} |
| {{{1}}} | | {{{1}}} | ||
| {{{2}}} | | {{{2}}} | ||
Revision as of 22:25, 19 January 2018
Contents
Usage
{{Criminal case law start|voluntary manslaughter}}
{{Criminal case law entry | case name | year | citation | state | doctrine | court's decision }}
{{Criminal case law entry | case name | year | citation | state | doctrine | court's decision |common=y}}
{{Criminal case law entry | case name | year | citation | state | doctrine | court's decision |statute=y}}
{{Criminal case law entry | case name | year | citation | state | doctrine | court's decision |MPC=y}}
{{Criminal case law end}}
- Gives
| Case name | Year | Citation | State | Doctrine | Court's decision |
|---|---|---|---|---|---|
| People v. Berry | 1976 | 18 Cal.3d 509 | CA | heat of passion | Taunting or provocation over a prolonged period can be adequate provocation |
Syntax
{{Criminal case law start}}
Table title, legend, and column-headers. The title includes "on [area of law]" if passed as the first parameter:
{{Criminal case law start}}{{Criminal case law start|area of law}}
{{Criminal case law entry}}
A criminal law case, to be displayed as a row in the table. Some named parameters can be used to specify certain details that affect formatting:
{{Criminal case law entry | case name| year| citation| state| doctrine| court's decision}}{{Criminal case law entry | case name| year| citation| state| doctrine| court's decision|common=y}}- If
|common=is non-blank, the case deals with non-statutory or common law crimes, and the row is formatted differently.
- If
{{Criminal case law entry | case name| year| citation| state| doctrine| court's decision|statute=y}}- If
|statute=is non-blank, the case deals with statutory crimes that are not Model Penal Code, and the row is formatted differently.
- If
{{Criminal case law entry | case name| year| citation| state| doctrine| court's decision|MPC=y}}}}- If
|MPC=is non-blank, the case deals with crimes under the Model Penal Code and state penal codes based on the Model Penal Code, and the row is formatted differently.
- If
{{Criminal case law end}}
Closes the table.
See also
| The above documentation is transcluded from Template:Criminal case law start/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |