Difference between revisions of "Template:Illinois legislator list/doc"

From blackwiki
Jump to navigation Jump to search
imported>Visviva
(Created page with '== Usage == At the start of the list: <syntaxhighlight lang="HTML" style="overflow:auto;"> {{Illinois legislator list/start | title = }} </syntaxhighlight> For...')
 
imported>Visviva
(→‎Parameters: +title)
Line 28: Line 28:
  
 
=== Parameters ===  
 
=== Parameters ===  
 
+
*''title'' - appropriate title of legislators in the list, such as "Senator" or "Representative"
 
* '' district'' - number of the legislator's district
 
* '' district'' - number of the legislator's district
 
* ''county'' - county or counties that district covers some part of
 
* ''county'' - county or counties that district covers some part of

Revision as of 19:00, 30 January 2020

Usage

At the start of the list:

{{Illinois legislator list/start | title = }}

For each entry in the list:

{{Illinois legislator list
  | district    = 
  | county      = 
  | first       = 
  | last        = 
  | link        = 
  | party       = 
  | since       = 
  | since_ref   = 
  | committees  = 
}}

At the end of the list:

{{Illinois legislator list/end}}

Parameters

  • title - appropriate title of legislators in the list, such as "Senator" or "Representative"
  • district - number of the legislator's district
  • county - county or counties that district covers some part of
  • first - legislator's first and middle names
  • last - legislator's last name and any suffixes such as "Jr."
  • link - title (without markup) of article the legislator's name should link to, e.g. "Bill Brady (politician)".
  • party - name of legislator's party, or "Independent" if none
  • since - year of legislator's first election to this body
  • since_ref - citation supporting the year of first election, enclosed in <ref> tags
  • committees - comma-separated list of committees the legislator served on in this session
Notes

All parameters other than first and last may be freely left blank.

<includeonly> [[Category:Table templates]] </includeonly>