Difference between revisions of "Template:Criminal case law start/doc"

From blackwiki
Jump to navigation Jump to search
imported>Seraphim System
(copied content from Template:Company-list table start/doc; see that page's history for attribution)
 
imported>Seraphim System
Line 38: Line 38:
 
*{{tl|Criminal case law start}}
 
*{{tl|Criminal case law start}}
 
*{{tl|Criminal case law entry}}
 
*{{tl|Criminal case law entry}}
*{{tl|Criminal case law table end}}
+
*{{tl|Criminal case law end}}
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 04:00, 20 January 2018

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
United States criminal case law on voluntary manlaughter
     Other      MPC
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

{{Company-list table start}}

Table title, legend, and column-headers. The title includes "on [area of law]" if passed as the first parameter:

{{Company-list table 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.
  • {{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.
  • {{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.

{{Criminal case law end}}

Closes the table.

See also