Template:Infobox Offense: Difference between revisions
Appearance
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 = | |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 | |max_fine = $250,000 | ||
| | |guidelines = USSG §2B1.1 | ||
| | |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 | ||
* ''' | * '''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 | * '''max_fine''' - Maximum fine | ||
* ''' | * '''guidelines''' - Sentencing guidelines reference | ||
* ''' | * '''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:{{{ | {{#if:{{{statute|}}}|{{!}}- | ||
! style="width: 40%; text-align: right; padding-right: 10px;" {{!}} | ! style="width: 40%; text-align: right; padding-right: 10px;" {{!}} Statute: | ||
{{!}} | {{!}} {{{statute}}} | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{code|}}}|{{!}}- | ||
! style="text-align: right; padding-right: 10px;" {{!}} Max | ! style="text-align: right; padding-right: 10px;" {{!}} Code: | ||
{{!}} {{{ | {{!}} {{{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:{{{ | {{#if:{{{guidelines|}}}|{{!}}- | ||
! style="text-align: right; padding-right: 10px;" {{!}} | ! style="text-align: right; padding-right: 10px;" {{!}} Guidelines: | ||
{{!}} {{{ | {{!}} {{{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:{{{ | {{#if:{{{related|}}}|{{!}}- | ||
! style="text-align: right; padding-right: 10px;" {{!}} | ! style="text-align: right; padding-right: 10px;" {{!}} Related: | ||
{{!}} {{{ | {{!}} {{{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)