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

From blackwiki
Jump to navigation Jump to search
imported>Visviva
m (Visviva moved page User:Visviva/Illinois legislator list/doc to Template:Illinois legislator list/doc: prep for articles to move live)
imported>Visviva
(liberate cat from bag)
 
Line 42: Line 42:
 
All parameters other than ''first'' and ''last'' may be freely left blank.
 
All parameters other than ''first'' and ''last'' may be freely left blank.
  
<nowiki><includeonly>
+
<includeonly>
 
[[Category:Table templates]]
 
[[Category:Table templates]]
 
</includeonly>
 
</includeonly>
</nowiki>
 

Latest revision as of 06:03, 31 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.