Jump to content

Template:Infobox Offense: Difference between revisions

From Prisonpedia
Creating Infobox Offense template for federal offense pages
 
Updating Infobox Offense template with correct parameters
 
Line 5: Line 5:
<pre>
<pre>
{{Infobox Offense
{{Infobox Offense
|name = Offense Name
|name = Wire Fraud
|usc_title = 18
|statute = 18 U.S.C. § 1343
|usc_section = 1343
|code = Title 18, Chapter 63
|max_sentence = 20 years (30 years if financial institution)
|max_prison = 20 years (30 years for financial institutions)
|max_fine = $250,000
|max_fine = $250,000
|statute_of_limitations = 5 years (10 years for financial institutions)
|guidelines = USSG §2B1.1
|offense_level = Base level 7
|base_level = 7
|agencies = FBI, DOJ, SEC
|related = [[Mail Fraud]], [[Securities Fraud]]
}}
}}
</pre>
</pre>
Line 17: Line 19:
== Parameters ==
== Parameters ==
* '''name''' - Name of the offense
* '''name''' - Name of the offense
* '''usc_title''' - U.S. Code title number
* '''statute''' - U.S. Code citation (e.g., 18 U.S.C. § 1343)
* '''usc_section''' - U.S. Code section number
* '''code''' - Title and chapter reference
* '''max_sentence''' - Maximum prison sentence
* '''max_prison''' - Maximum prison sentence
* '''max_fine''' - Maximum fine
* '''max_fine''' - Maximum fine
* '''statute_of_limitations''' - Time limit for prosecution
* '''guidelines''' - Sentencing guidelines reference
* '''offense_level''' - Base offense level under sentencing guidelines
* '''base_level''' - Base offense level
* '''agencies''' - Enforcement agencies
* '''related''' - Related offenses (wiki links)


[[Category:Templates]]
[[Category:Templates]]
Line 30: Line 34:
|-
|-
! colspan="2" style="background-color: #ccccff; font-size: 120%; padding: 5px;" | '''{{{name|{{PAGENAME}}}}}'''
! colspan="2" style="background-color: #ccccff; font-size: 120%; padding: 5px;" | '''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{usc_title|}}}|{{!}}-
{{#if:{{{statute|}}}|{{!}}-
! style="width: 40%; text-align: right; padding-right: 10px;" {{!}} U.S. Code:
! style="width: 40%; text-align: right; padding-right: 10px;" {{!}} Statute:
{{!}} [https://www.law.cornell.edu/uscode/text/{{{usc_title}}}/{{{usc_section}}} {{{usc_title}}} U.S.C. § {{{usc_section}}}]
{{!}} {{{statute}}}
}}
}}
{{#if:{{{max_sentence|}}}|{{!}}-
{{#if:{{{code|}}}|{{!}}-
! style="text-align: right; padding-right: 10px;" {{!}} Max Sentence:
! style="text-align: right; padding-right: 10px;" {{!}} Code:
{{!}} {{{max_sentence}}}
{{!}} {{{code}}}
}}
{{#if:{{{max_prison|}}}|{{!}}-
! style="text-align: right; padding-right: 10px;" {{!}} Max Prison:
{{!}} {{{max_prison}}}
}}
}}
{{#if:{{{max_fine|}}}|{{!}}-
{{#if:{{{max_fine|}}}|{{!}}-
Line 42: Line 50:
{{!}} {{{max_fine}}}
{{!}} {{{max_fine}}}
}}
}}
{{#if:{{{statute_of_limitations|}}}|{{!}}-
{{#if:{{{guidelines|}}}|{{!}}-
! style="text-align: right; padding-right: 10px;" {{!}} Statute of Limitations:
! style="text-align: right; padding-right: 10px;" {{!}} Guidelines:
{{!}} {{{statute_of_limitations}}}
{{!}} {{{guidelines}}}
}}
{{#if:{{{base_level|}}}|{{!}}-
! style="text-align: right; padding-right: 10px;" {{!}} Base Level:
{{!}} {{{base_level}}}
}}
{{#if:{{{agencies|}}}|{{!}}-
! style="text-align: right; padding-right: 10px;" {{!}} Agencies:
{{!}} {{{agencies}}}
}}
}}
{{#if:{{{offense_level|}}}|{{!}}-
{{#if:{{{related|}}}|{{!}}-
! style="text-align: right; padding-right: 10px;" {{!}} Base Offense Level:
! style="text-align: right; padding-right: 10px;" {{!}} Related:
{{!}} {{{offense_level}}}
{{!}} {{{related}}}
}}
}}
|}
|}
</includeonly>
</includeonly>

Latest revision as of 16:49, 3 December 2025

This template creates an infobox for federal offense pages.

Usage

{{Infobox Offense
|name = Wire Fraud
|statute = 18 U.S.C. § 1343
|code = Title 18, Chapter 63
|max_prison = 20 years (30 years for financial institutions)
|max_fine = $250,000
|guidelines = USSG §2B1.1
|base_level = 7
|agencies = FBI, DOJ, SEC
|related = [[Mail Fraud]], [[Securities Fraud]]
}}

Parameters

  • name - Name of the offense
  • statute - U.S. Code citation (e.g., 18 U.S.C. § 1343)
  • code - Title and chapter reference
  • max_prison - Maximum prison sentence
  • max_fine - Maximum fine
  • guidelines - Sentencing guidelines reference
  • base_level - Base offense level
  • agencies - Enforcement agencies
  • related - Related offenses (wiki links)