Template:ILCS/doc
This is a documentation subpage for Template:ILCS. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used to insert an inline link to the Illinois Compiled Statutes, the system used since 1992 for statute law in Illinois. All statute laws still in effect as of July 1992, or enacted later, are classified under this system.
If you have a reference to the pre-1992 Illinois Revised Statutes (Ill.Rev.Stat.) instead, see Illinois Revised Statutes to ILCS cross-reference to find the current citation.
Usage
The template creates a link to the Illinois General Assembly website, based on the contents of the first 3 parameters, which are taken as chapter, act, and section. If they exist, chapter and act (parameters 1 and 2) must be numeric and section (parameter 3) must match the exact punctuation (if any) used in the ILCS, section only.
Do not put subsection/paragraph numbers in the 3rd parameter. Use the 4th parameter for those and for et seq. or other such wording. The 4th parameter is simply appended to the citation and does not affect the link destination.
Optional named parameters
accessdate=
date- Adds "accessed on" language at the end, in case used in a citation. Use a date.
date=
date- Adds "as of" wording after the link. Note that, right now, this date is only informational; the web link does not change based on date, so using a date for a repealed law does not cause an old version of it to appear.
documents=
filename- (advanced) Overrides (or provides) a filename for an act in case the URL is too complicated to autogenerate. Hopefully shouldn't be needed. Specify without
.htm
on the end. Creates a link tohttp://www.ilga.gov/legislation/ilcs/documents/
filename.htm
instead of the default. This parameter may be removed at some point. - text=text
- Overrides the normal wording of the link itself. Does not override
accessdate
ordate
, which are placed after the link. - title=title
- Adds a title to the front of the link and automatically puts the ILCS citation in parentheses. No effect if
text
is also specified.
Examples
Format | Example | Output |
---|---|---|
{{ILCS|ch}} |
{{ILCS|55}} | 55 ILCS |
{{ILCS|ch|act}} |
The {{ILCS|720|235|title=Coin Slug Act}} | The Coin Slug Act (720 ILCS 235) |
{{ILCS|ch|act|sec}} |
{{ILCS|5|120|2.06}} | 5 ILCS 120/2.06 |
{{ILCS|ch|act|sec|extra}} |
{{ILCS|755|50|5-20|(b-1)}} | 755 ILCS 50/5-20(b-1) |
As a citation
- {{ILCS|70|1005|title=Mosquito Abatement District Act|date=2007-01-01|accessdate=November 5, 2024}}
- Mosquito Abatement District Act (70 ILCS 1005) as of 2007-01-01. Retrieved November 5, 2024.
TemplateData
TemplateData for ILCS
<templatedata> { "description": "Inserts an inline link to the Illinois Compiled Statutes, the numering system used since 1992 for statute law in Illinois. All statute laws still in effect as of July 1992, or enacted later, are classified under this system.", "paramOrder": [ "1", "2", "3", "4", "accessdate", "date", "title", "text" ], "params": { "1": { "label": "chapter", "description": "chapter number: before the \"ILCS\" in citations", "type": "number", "required": true }, "2": { "label": "act", "description": "act number: just after ILCS (and before the slash). Leave blank if you're citing a whole chapter.", "type": "string", "suggested": true }, "3": { "label": "section", "description": "section of the act: the number(s) just after the slash, but without the numbers in parentheses. Leave blank if you're citing an entire act instead of one section.", "type": "string", "suggested": true }, "4": { "label": "extra", "description": "subsection in parentheses, or et seq., or other wording that does not affect the link", "type": "string" }, "text": { "label": "text override", "description": "if given, replaces the text of the link (except for as-of date and access date, if given)", "type": "string" }, "title": { "label": "title", "description": "the title of the act: If provided, adds a title to the front of the link and automatically puts the ILCS citation in parentheses. (No effect if \"text override\" is also provided.)", "type": "string" }, "date": { "label": "as-of date", "description": "date that the cited law was true: adds \"as of\" wording directly after the link. the web link does not change based on date, so using a date for a repealed law does not cause an old version of it to appear.", "type": "date" }, "accessdate": { "label": "access date", "description": "date on which the citation was retrieved, if used as a source citation", "type": "date" } } } </templatedata>