Template:Policy: Difference between revisions

From XMethod Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 138: Line 138:
<div style="clear:both;"></div>
<div style="clear:both;"></div>


=== Usage ===
<templatedata>
<pre>
{
{{Policy
    "params": {
| type = policy / regulation / court case / statute / executive order
        "type": {
| full_name = Full official name
            "label": "Document Type",
| jurisdiction = federal / state / local / international
            "description": "The type of legal document",
| state = State name (if applicable)
            "type": "string",
| agency = Issuing agency
            "suggestedvalues": ["policy", "regulation", "court case", "statute", "executive order"],
| court = Court name (for court cases)
            "example": "regulation",
| date_enacted = Date enacted
            "required": true
| date_effective = Effective date
        },
| date_decided = Date decided (for court cases)
        "full_name": {
| date_repealed = Date repealed (if applicable)
            "label": "Full Name",
| status = active / in effect / repealed / overturned / amended / pending / superseded / expired
            "description": "The complete official name of the policy, regulation, or case",
| citation = Legal citation
            "type": "string",
| public_law = Public Law number
            "example": "Health Insurance Portability and Accountability Act",
| cfr = Code of Federal Regulations citation
            "suggested": true
| usc = U.S. Code citation
        },
| case_number = Case number
        "jurisdiction": {
| docket = Docket number
            "label": "Jurisdiction",
| related_to = Related laws or cases
            "description": "The level of government",
| amends = What this amends
            "type": "string",
| amended_by = What amended this
            "suggestedvalues": ["federal", "state", "local", "international"],
| website = Official website URL
            "example": "federal",
| image = Image filename
            "suggested": true
| image_caption = Image caption
        },
| header_color = Custom header color (hex)
        "state": {
}}
            "label": "State",
</pre>
            "description": "The state name (if state-level jurisdiction)",
 
            "type": "string",
=== Available Parameters ===
            "suggestedvalues": ["Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", "Connecticut", "Delaware", "Florida", "Georgia", "Hawaii", "Idaho", "Illinois", "Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana", "Maine", "Maryland", "Massachusetts", "Michigan", "Minnesota", "Mississippi", "Missouri", "Montana", "Nebraska", "Nevada", "New Hampshire", "New Jersey", "New Mexico", "New York", "North Carolina", "North Dakota", "Ohio", "Oklahoma", "Oregon", "Pennsylvania", "Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas", "Utah", "Vermont", "Virginia", "Washington", "West Virginia", "Wisconsin", "Wyoming"],
{| class="wikitable"
            "example": "California"
|-
        },
! Parameter !! Description !! Example
        "agency": {
|-
            "label": "Agency",
| type || Type of document || policy, regulation, court case, statute, executive order
            "description": "The issuing or enforcing government agency",
|-
            "type": "string",
| full_name || Official name || Health Insurance Portability and Accountability Act
            "example": "Department of Health and Human Services"
|-
        },
| jurisdiction || Level of government || federal, state, local, international
        "court": {
|-
            "label": "Court",
| state || State name || California, Texas, New York
            "description": "The court that decided the case (for court cases)",
|-
            "type": "string",
| agency || Issuing agency || Department of Health and Human Services
            "suggestedvalues": ["Supreme Court of the United States", "U.S. Court of Appeals", "U.S. District Court", "State Supreme Court", "State Court of Appeals"],
|-
            "example": "Supreme Court of the United States"
| court || Court name (for cases) || Supreme Court of the United States
        },
|-
        "date_enacted": {
| date_enacted || Date enacted/signed || August 21, 1996
            "label": "Date Enacted",
|-
            "description": "The date the law was enacted or signed",
| date_effective || Effective date || January 1, 2020
            "type": "date",
|-
            "example": "August 21, 1996"
| date_decided || Date decided (cases) || May 17, 1954
        },
|-
        "date_effective": {
| status || Current status || active, repealed, overturned, amended, pending
            "label": "Effective Date",
|-
            "description": "The date the law took effect",
| citation || Legal citation || Pub.L. 104–191
            "type": "date",
|-
            "example": "January 1, 2020"
| cfr || CFR reference || 45 CFR Parts 160, 162, 164
        },
|-
        "date_decided": {
| usc || U.S. Code reference || 42 U.S.C. §1320d
            "label": "Date Decided",
|-
            "description": "The date the court case was decided",
| website || Official URL || https://www.hhs.gov/hipaa
            "type": "date",
|}
            "example": "May 17, 1954"
        },
        "date_repealed": {
            "label": "Date Repealed",
            "description": "The date the law was repealed (if applicable)",
            "type": "date"
        },
        "status": {
            "label": "Status",
            "description": "The current status of the policy or case",
            "type": "string",
            "suggestedvalues": ["active", "in effect", "repealed", "overturned", "amended", "pending", "superseded", "expired"],
            "example": "active",
            "suggested": true
        },
        "citation": {
            "label": "Citation",
            "description": "The legal citation for the document",
            "type": "string",
            "example": "Pub.L. 104–191"
        },
        "public_law": {
            "label": "Public Law",
            "description": "The Public Law number",
            "type": "string",
            "example": "Pub.L. 104–191"
        },
        "cfr": {
            "label": "CFR",
            "description": "Code of Federal Regulations citation",
            "type": "string",
            "example": "45 CFR Parts 160, 162, 164"
        },
        "usc": {
            "label": "U.S. Code",
            "description": "United States Code citation",
            "type": "string",
            "example": "42 U.S.C. §1320d"
        },
        "case_number": {
            "label": "Case Number",
            "description": "The case number (for court cases)",
            "type": "string",
            "example": "No. 1"
        },
        "docket": {
            "label": "Docket",
            "description": "The docket number",
            "type": "string"
        },
        "related_to": {
            "label": "Related To",
            "description": "Related laws, regulations, or cases",
            "type": "string"
        },
        "amends": {
            "label": "Amends",
            "description": "What this document amends",
            "type": "string"
        },
        "amended_by": {
            "label": "Amended By",
            "description": "What has amended this document",
            "type": "string"
        },
        "website": {
            "label": "Website",
            "description": "Official website URL",
            "type": "url",
            "example": "https://www.hhs.gov/hipaa"
        },
        "image": {
            "label": "Image",
            "description": "Image filename (without File: prefix)",
            "type": "wiki-file-name"
        },
        "image_caption": {
            "label": "Image Caption",
            "description": "Caption for the image",
            "type": "string"
        },
        "header_color": {
            "label": "Header Color",
            "description": "Custom header background color (hex code)",
            "type": "string",
            "default": "#2c3e50",
            "example": "#2c3e50"
        }
    },
    "description": "Infobox template for policies, regulations, court cases, statutes, and executive orders. Displays key information including jurisdiction, dates, status, and legal citations.",
    "format": "block",
    "paramOrder": [
        "type",
        "full_name",
        "jurisdiction",
        "state",
        "agency",
        "court",
        "date_enacted",
        "date_effective",
        "date_decided",
        "date_repealed",
        "status",
        "citation",
        "public_law",
        "cfr",
        "usc",
        "case_number",
        "docket",
        "related_to",
        "amends",
        "amended_by",
        "website",
        "image",
        "image_caption",
        "header_color"
    ]
}
</templatedata>


[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 15:34, 30 January 2026

📜 Regulation
General Information
Full Name Health Insurance Portability and Accountability Act (HIPAA)
Jurisdiction 🇺🇸 Federal
Agency Department of Health and Human Services
Dates & Status
Date Enacted August 21, 1996
Effective Date April 14, 2003
Status ● Active
Citations & References
Citation Pub.L. 104–191
CFR 45 CFR Parts 160, 162, 164
U.S. Code 42 U.S.C. §1320d
Website Official Link

Policy/Regulation/Court Case Infobox

This template creates an infobox for policies, regulations, court cases, statutes, and executive orders.

Infobox template for policies, regulations, court cases, statutes, and executive orders. Displays key information including jurisdiction, dates, status, and legal citations.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Document Typetype

The type of legal document

Suggested values
policy regulation court case statute executive order
Example
regulation
Stringrequired
Full Namefull_name

The complete official name of the policy, regulation, or case

Example
Health Insurance Portability and Accountability Act
Stringsuggested
Jurisdictionjurisdiction

The level of government

Suggested values
federal state local international
Example
federal
Stringsuggested
Statestate

The state name (if state-level jurisdiction)

Suggested values
Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming
Example
California
Stringoptional
Agencyagency

The issuing or enforcing government agency

Example
Department of Health and Human Services
Stringoptional
Courtcourt

The court that decided the case (for court cases)

Suggested values
Supreme Court of the United States U.S. Court of Appeals U.S. District Court State Supreme Court State Court of Appeals
Example
Supreme Court of the United States
Stringoptional
Date Enacteddate_enacted

The date the law was enacted or signed

Example
August 21, 1996
Dateoptional
Effective Datedate_effective

The date the law took effect

Example
January 1, 2020
Dateoptional
Date Decideddate_decided

The date the court case was decided

Example
May 17, 1954
Dateoptional
Date Repealeddate_repealed

The date the law was repealed (if applicable)

Dateoptional
Statusstatus

The current status of the policy or case

Suggested values
active in effect repealed overturned amended pending superseded expired
Example
active
Stringsuggested
Citationcitation

The legal citation for the document

Example
Pub.L. 104–191
Stringoptional
Public Lawpublic_law

The Public Law number

Example
Pub.L. 104–191
Stringoptional
CFRcfr

Code of Federal Regulations citation

Example
45 CFR Parts 160, 162, 164
Stringoptional
U.S. Codeusc

United States Code citation

Example
42 U.S.C. §1320d
Stringoptional
Case Numbercase_number

The case number (for court cases)

Example
No. 1
Stringoptional
Docketdocket

The docket number

Stringoptional
Related Torelated_to

Related laws, regulations, or cases

Stringoptional
Amendsamends

What this document amends

Stringoptional
Amended Byamended_by

What has amended this document

Stringoptional
Websitewebsite

Official website URL

Example
https://www.hhs.gov/hipaa
URLoptional
Imageimage

Image filename (without File: prefix)

Fileoptional
Image Captionimage_caption

Caption for the image

Stringoptional
Header Colorheader_color

Custom header background color (hex code)

Default
#2c3e50
Example
#2c3e50
Stringoptional