Template:Criminal case law start/doc
Appearance
This is a documentation subpage for Template:Criminal case law start, Template:Criminal case law entry, and Template:Criminal case law end. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]{{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
[edit]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}}
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
Closes the table.
See also
[edit]