Difference between revisions of "Template:Illinois legislator list"

From blackwiki
Jump to navigation Jump to search
imported>Visviva
imported>Visviva
(allow multiple counties, N/A)
Line 1: Line 1:
 
|-
 
|-
 
| {{#ifeq:{{{district}}}|N/A| {{n/a}} | style="text-align:center;" {{!}}{{{district|}}} }}
 
| {{#ifeq:{{{district}}}|N/A| {{n/a}} | style="text-align:center;" {{!}}{{{district|}}} }}
|{{#if:{{{county|}}} | [[{{{county}}} County, Illinois{{!}}{{{county}}}]] }}
+
| {{ifeq:{{{county|}}} | N/A | {{n/a}} | {{
 +
    #if:{{{county|}}} | [[{{{county}}} County, Illinois{{!}}{{{county}}}]]  
 +
    }} {{
 +
    #if:{{{county_2|}}} |, [[{{{county_2}}} County, Illinois{{!}}{{{county_2}}}]]
 +
    }}{{
 +
    #if:{{{county_3|}}} |, [[{{{county_3}}} County, Illinois{{!}}{{{county_3}}}]]
 +
    }}{{
 +
    #if:{{{county_4|}}} |, [[{{{county_4}}} County, Illinois{{!}}{{{county_4}}}]]
 +
    }}{{
 +
    #if:{{{county_5|}}} | [[{{{county_5}}} County, Illinois{{!}}{{{county_5}}}]]
 +
    }}
 +
}}
 
|{{#if:{{{image|}}} | [[File:{{{image|}}}{{!}}25px]]}} {{sortname|{{{first}}}|{{{last}}}}}
 
|{{#if:{{{image|}}} | [[File:{{{image|}}}{{!}}25px]]}} {{sortname|{{{first}}}|{{{last}}}}}
 
| {{Party shading/{{{party}}}}} | {{{party}}}
 
| {{Party shading/{{{party}}}}} | {{{party}}}
 
| style="text-align:center;" |{{{since|}}}{{{since_ref|}}}
 
| style="text-align:center;" |{{{since|}}}{{{since_ref|}}}
 
|{{{committees|}}}
 
|{{{committees|}}}

Revision as of 16:13, 28 January 2020

|- | style="text-align:center;" | | Template:Ifeq: | [[{{{first}}} {{{last}}}|{{{first}}} {{{last}}}]] | {{Party shading/{{{party}}}}} | {{{party}}} | style="text-align:center;" | |