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
[edit]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
[edit]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
[edit]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
[edit]- {{ILCS|70|1005|title=Mosquito Abatement District Act|date=2007-01-01|accessdate=4 August 2024}}
- Mosquito Abatement District Act (70 ILCS 1005) as of 2007-01-01. Retrieved 4 August 2024.
TemplateData
[edit]TemplateData for ILCS
Inserts an inline link to the [[Illinois Compiled Statutes]], the numbering 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
chapter | 1 | chapter number: before the "ILCS" in citations | Number | required |
act | 2 | act number: just after ILCS (and before the slash). Leave blank if you're citing a whole chapter. | String | suggested |
section | 3 | 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. | String | suggested |
extra | 4 | subsection in parentheses, or [[et seq.]], or other wording that does not affect the link | String | optional |
access date | accessdate | date on which the citation was retrieved, if used as a source citation | Date | optional |
as-of date | date | 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. | Date | optional |
title | title | 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.) | String | optional |
text override | text | if given, replaces the text of the link (except for as-of date and access date, if given) | String | optional |