الگو:ILCS/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

This template is used to insert an inline link to the Illinois Compiled Statutes, the numering system used since 1992 for statute law in ایلی‌نوی. 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, same as for {{accessdate}}.
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 to http://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 or date, 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[ویرایش]

Examples of {{ILCS}} template
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=۱۶ آوریل ۲۰۲۴}}
Mosquito Abatement District Act (70 ILCS 1005) as of 2007-01-01. بازیابی در ۱۶ آوریل ۲۰۲۴.