Difference between revisions of "Template:Infobox election/row"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes (we must render all cells even when one cell is blank to avoid misalignment when some are blank but some are not (tested in sandbox)) |
imported>Frietjes (add col3 to suppress third column when there is no third party) |
||
| Line 10: | Line 10: | ||
! style="text-align:center" {{!}} {{#if:{{{party1|}}}| {{{header1|}}} }} | ! style="text-align:center" {{!}} {{#if:{{{party1|}}}| {{{header1|}}} }} | ||
! style="text-align:center" {{!}} {{#if:{{{party2|}}}| {{{header2|}}} }} | ! style="text-align:center" {{!}} {{#if:{{{party2|}}}| {{{header2|}}} }} | ||
| − | ! style="text-align:center" {{!}} {{#if:{{{party3|}}}| {{{header3|}}} }} | + | {{#if:{{{col3|}}}|! style="text-align:center" {{!}} {{#if:{{{party3|}}}| {{{header3|}}} }}}} |
}} | }} | ||
| #default = | | #default = | ||
| Line 19: | Line 19: | ||
{{!}} style="text-align:center;{{#if:{{{party1|}}}{{{color1|}}}||width:0;}}{{#if:{{{color1|}}}|border-bottom: 6px solid #{{{color1}}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party1|}}}|{{#ifexist:Template:{{{party1}}}/meta/color|border-bottom: 6px solid {{Template:{{{party1}}}/meta/color}} }}}}}}}}" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image1|}}}|suppressplaceholder=yes}} | {{!}} style="text-align:center;{{#if:{{{party1|}}}{{{color1|}}}||width:0;}}{{#if:{{{color1|}}}|border-bottom: 6px solid #{{{color1}}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party1|}}}|{{#ifexist:Template:{{{party1}}}/meta/color|border-bottom: 6px solid {{Template:{{{party1}}}/meta/color}} }}}}}}}}" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image1|}}}|suppressplaceholder=yes}} | ||
{{!}} style="text-align:center;{{#if:{{{party2|}}}{{{color2|}}}||width:0;}}{{#if:{{{color2|}}}|border-bottom: 6px solid #{{{color2}}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party2|}}}|{{#ifexist: Template:{{{party2}}}/meta/color|border-bottom: 6px solid {{Template:{{{party2}}}/meta/color}} }}}}}}}}"{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|suppressplaceholder=yes}} | {{!}} style="text-align:center;{{#if:{{{party2|}}}{{{color2|}}}||width:0;}}{{#if:{{{color2|}}}|border-bottom: 6px solid #{{{color2}}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party2|}}}|{{#ifexist: Template:{{{party2}}}/meta/color|border-bottom: 6px solid {{Template:{{{party2}}}/meta/color}} }}}}}}}}"{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|suppressplaceholder=yes}} | ||
| − | {{!}} style="text-align:center;{{#if:{{{party3|}}}{{{color3|}}}||width:0;}}{{#if:{{{color3|}}}|border-bottom: 6px solid #{{{color3}}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party3|}}}|{{#ifexist: Template:{{{party3}}}/meta/color|border-bottom: 6px solid {{Template:{{{party3}}}/meta/color}} }}}}}}}}"{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|suppressplaceholder=yes}} | + | {{#if:{{{col3|}}}|{{!}} style="text-align:center;{{#if:{{{party3|}}}{{{color3|}}}||width:0;}}{{#if:{{{color3|}}}|border-bottom: 6px solid #{{{color3}}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party3|}}}|{{#ifexist: Template:{{{party3}}}/meta/color|border-bottom: 6px solid {{Template:{{{party3}}}/meta/color}} }}}}}}}}"{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|suppressplaceholder=yes}}}} |
}} | }} | ||
|- | |- | ||
| Line 37: | Line 37: | ||
{{!}} style="{{#if:{{{candidate1|}}}|width:75px;}}text-align:center" {{!}} {{{candidate1|}}} | {{!}} style="{{#if:{{{candidate1|}}}|width:75px;}}text-align:center" {{!}} {{{candidate1|}}} | ||
{{!}} style="{{#if:{{{candidate2|}}}|width:75px;}}text-align:center" {{!}} {{{candidate2|}}} | {{!}} style="{{#if:{{{candidate2|}}}|width:75px;}}text-align:center" {{!}} {{{candidate2|}}} | ||
| − | {{!}} style="{{#if:{{{candidate3|}}}|width:75px;}}text-align:center" {{!}} {{{candidate3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{candidate3|}}}|width:75px;}}text-align:center" {{!}} {{{candidate3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 50: | Line 50: | ||
{{!}} style="{{#if:{{{leader1|}}}|width:75px;}}text-align:center" {{!}} {{{leader1|}}} | {{!}} style="{{#if:{{{leader1|}}}|width:75px;}}text-align:center" {{!}} {{{leader1|}}} | ||
{{!}} style="{{#if:{{{leader2|}}}|width:75px;}}text-align:center" {{!}} {{{leader2|}}} | {{!}} style="{{#if:{{{leader2|}}}|width:75px;}}text-align:center" {{!}} {{{leader2|}}} | ||
| − | {{!}} style="{{#if:{{{leader3|}}}|width:75px;}}text-align:center" {{!}} {{{leader3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leader3|}}}|width:75px;}}text-align:center" {{!}} {{{leader3|}}}}} |
}} | }} | ||
| #default = | | #default = | ||
| Line 59: | Line 59: | ||
{{!}} style="{{#if:{{{party1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party1|}}}}} | {{!}} style="{{#if:{{{party1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party1|}}}}} | ||
{{!}} style="{{#if:{{{party2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party2|}}}}} | {{!}} style="{{#if:{{{party2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party2|}}}}} | ||
| − | {{!}} style="{{#if:{{{party3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party3|}}}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{party3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party_name}}}|name={{{party3|}}}}}}} |
}} | }} | ||
|- | |- | ||
| Line 66: | Line 66: | ||
{{!}} style="{{#if:{{{alliance1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance1|}}}}} | {{!}} style="{{#if:{{{alliance1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance1|}}}}} | ||
{{!}} style="{{#if:{{{alliance2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance2|}}}}} | {{!}} style="{{#if:{{{alliance2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance2|}}}}} | ||
| − | {{!}} style="{{#if:{{{alliance3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance3|}}}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{alliance3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance_name}}}|name={{{alliance3|}}}}}}} |
}} | }} | ||
|-<!-- Home state --> | |-<!-- Home state --> | ||
| Line 76: | Line 76: | ||
{{!}} style="{{#if:{{{home_state1|}}}|width:75px;}}text-align:center" {{!}} {{{home_state1|}}} | {{!}} style="{{#if:{{{home_state1|}}}|width:75px;}}text-align:center" {{!}} {{{home_state1|}}} | ||
{{!}} style="{{#if:{{{home_state2|}}}|width:75px;}}text-align:center" {{!}} {{{home_state2|}}} | {{!}} style="{{#if:{{{home_state2|}}}|width:75px;}}text-align:center" {{!}} {{{home_state2|}}} | ||
| − | {{!}} style="{{#if:{{{home_state3|}}}|width:75px;}}text-align:center" {{!}} {{{home_state3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{home_state3|}}}|width:75px;}}text-align:center" {{!}} {{{home_state3|}}}}} |
| #default = | | #default = | ||
}} | }} | ||
| Line 88: | Line 88: | ||
{{!}} style="{{#if:{{{running_mate1|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate1|}}} | {{!}} style="{{#if:{{{running_mate1|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate1|}}} | ||
{{!}} style="{{#if:{{{running_mate2|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate2|}}} | {{!}} style="{{#if:{{{running_mate2|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate2|}}} | ||
| − | {{!}} style="{{#if:{{{running_mate3|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{running_mate3|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate3|}}}}} |
}} | }} | ||
| #default = | | #default = | ||
| Line 101: | Line 101: | ||
{{!}} style="{{#if:{{{electoral_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote1|}}} | {{!}} style="{{#if:{{{electoral_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote1|}}} | ||
{{!}} style="{{#if:{{{electoral_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote2|}}} | {{!}} style="{{#if:{{{electoral_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote2|}}} | ||
| − | {{!}} style="{{#if:{{{electoral_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{electoral_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 114: | Line 114: | ||
{{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count1|}}} | {{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count1|}}} | ||
{{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count2|}}} | {{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count2|}}} | ||
| − | {{!}} style="{{#if:{{{delegate_count3|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{delegate_count3|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count3|}}}}} |
}} | }} | ||
| #default = | | #default = | ||
| Line 127: | Line 127: | ||
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried1|}}} | {{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried1|}}} | ||
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried2|}}} | {{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried2|}}} | ||
| − | {{!}} style="{{#if:{{{states_carried3|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{states_carried3|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 142: | Line 142: | ||
{{!}} style="{{#if:{{{leader_since1|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since1|}}} | {{!}} style="{{#if:{{{leader_since1|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since1|}}} | ||
{{!}} style="{{#if:{{{leader_since2|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since2|}}} | {{!}} style="{{#if:{{{leader_since2|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since2|}}} | ||
| − | {{!}} style="{{#if:{{{leader_since3|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leader_since3|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since3|}}}}} |
}} | }} | ||
| #default = | | #default = | ||
| Line 156: | Line 156: | ||
{{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat1|}}} | {{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat1|}}} | ||
{{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat2|}}} | {{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat2|}}} | ||
| − | {{!}} style="{{#if:{{{leaders_seat3|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leaders_seat3|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat3|}}}}} |
}} | }} | ||
| #default = | | #default = | ||
| Line 170: | Line 170: | ||
{{!}} style="{{#if:{{{last_election1|}}}|width:75px;}}text-align:center" {{!}} {{{last_election1|}}} | {{!}} style="{{#if:{{{last_election1|}}}|width:75px;}}text-align:center" {{!}} {{{last_election1|}}} | ||
{{!}} style="{{#if:{{{last_election2|}}}|width:75px;}}text-align:center" {{!}} {{{last_election2|}}} | {{!}} style="{{#if:{{{last_election2|}}}|width:75px;}}text-align:center" {{!}} {{{last_election2|}}} | ||
| − | {{!}} style="{{#if:{{{last_election3|}}}|width:75px;}}text-align:center" {{!}} {{{last_election3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{last_election3|}}}|width:75px;}}text-align:center" {{!}} {{{last_election3|}}}}} |
}} | }} | ||
| #default = | | #default = | ||
| Line 184: | Line 184: | ||
{{!}} style="{{#if:{{{seats_before1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before1|}}} | {{!}} style="{{#if:{{{seats_before1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before1|}}} | ||
{{!}} style="{{#if:{{{seats_before2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before2|}}} | {{!}} style="{{#if:{{{seats_before2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before2|}}} | ||
| − | {{!}} style="{{#if:{{{seats_before3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_before3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before3|}}}}} |
}} | }} | ||
| #default = | | #default = | ||
| Line 199: | Line 199: | ||
{{!}} style="{{#if:{{{seats_needed1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed1|}}} | {{!}} style="{{#if:{{{seats_needed1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed1|}}} | ||
{{!}} style="{{#if:{{{seats_needed2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed2|}}} | {{!}} style="{{#if:{{{seats_needed2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed2|}}} | ||
| − | {{!}} style="{{#if:{{{seats_needed3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_needed3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 215: | Line 215: | ||
{{!}} style="{{#if:{{{seats1|}}}|width:75px;}}text-align:center" {{!}} {{{seats1|}}} | {{!}} style="{{#if:{{{seats1|}}}|width:75px;}}text-align:center" {{!}} {{{seats1|}}} | ||
{{!}} style="{{#if:{{{seats2|}}}|width:75px;}}text-align:center" {{!}} {{{seats2|}}} | {{!}} style="{{#if:{{{seats2|}}}|width:75px;}}text-align:center" {{!}} {{{seats2|}}} | ||
| − | {{!}} style="{{#if:{{{seats3|}}}|width:75px;}}text-align:center" {{!}} {{{seats3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats3|}}}|width:75px;}}text-align:center" {{!}} {{{seats3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 231: | Line 231: | ||
{{!}} style="{{#if:{{{seats_after1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after1|}}} | {{!}} style="{{#if:{{{seats_after1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after1|}}} | ||
{{!}} style="{{#if:{{{seats_after2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after2|}}} | {{!}} style="{{#if:{{{seats_after2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after2|}}} | ||
| − | {{!}} style="{{#if:{{{seats_after3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_after3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 247: | Line 247: | ||
{{!}} style="{{#if:{{{seat_change1|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change1|}}} | {{!}} style="{{#if:{{{seat_change1|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change1|}}} | ||
{{!}} style="{{#if:{{{seat_change2|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change2|}}} | {{!}} style="{{#if:{{{seat_change2|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change2|}}} | ||
| − | {{!}} style="{{#if:{{{seat_change3|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seat_change3|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 258: | Line 258: | ||
{{!}} style="{{#if:{{{popular_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote1|}}} | {{!}} style="{{#if:{{{popular_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote1|}}} | ||
{{!}} style="{{#if:{{{popular_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote2|}}} | {{!}} style="{{#if:{{{popular_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote2|}}} | ||
| − | {{!}} style="{{#if:{{{popular_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{popular_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 267: | Line 267: | ||
{{!}} style="{{#if:{{{percentage1|}}}|width:75px;}}text-align:center" {{!}} {{{percentage1|}}} | {{!}} style="{{#if:{{{percentage1|}}}|width:75px;}}text-align:center" {{!}} {{{percentage1|}}} | ||
{{!}} style="{{#if:{{{percentage2|}}}|width:75px;}}text-align:center" {{!}} {{{percentage2|}}} | {{!}} style="{{#if:{{{percentage2|}}}|width:75px;}}text-align:center" {{!}} {{{percentage2|}}} | ||
| − | {{!}} style="{{#if:{{{percentage3|}}}|width:75px;}}text-align:center" {{!}} {{{percentage3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{percentage3|}}}|width:75px;}}text-align:center" {{!}} {{{percentage3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 279: | Line 279: | ||
{{!}} style="{{#if:{{{counties_won1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won1|}}} | {{!}} style="{{#if:{{{counties_won1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won1|}}} | ||
{{!}} style="{{#if:{{{counties_won2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won2|}}} | {{!}} style="{{#if:{{{counties_won2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won2|}}} | ||
| − | {{!}} style="{{#if:{{{counties_won3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{counties_won3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 293: | Line 293: | ||
{{!}} style="{{#if:{{{counties_threshold1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold1|}}} | {{!}} style="{{#if:{{{counties_threshold1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold1|}}} | ||
{{!}} style="{{#if:{{{counties_threshold2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold2|}}} | {{!}} style="{{#if:{{{counties_threshold2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold2|}}} | ||
| − | {{!}} style="{{#if:{{{counties_threshold3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{counties_threshold3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 309: | Line 309: | ||
{{!}} style="width:75px;text-align:center" {{!}} {{{swing1}}} | {{!}} style="width:75px;text-align:center" {{!}} {{{swing1}}} | ||
{{!}} style="{{#if:{{{swing2|}}}|width:75px;}}text-align:center" {{!}} {{{swing2|}}} | {{!}} style="{{#if:{{{swing2|}}}|width:75px;}}text-align:center" {{!}} {{{swing2|}}} | ||
| − | {{!}} style="{{#if:{{{swing3|}}}|width:75px;}}text-align:center" {{!}} {{{swing3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{swing3|}}}|width:75px;}}text-align:center" {{!}} {{{swing3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 335: | Line 335: | ||
{{!}} style="{{#if:{{{poll1_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person1|}}} | {{!}} style="{{#if:{{{poll1_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person1|}}} | ||
{{!}} style="{{#if:{{{poll1_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person2|}}} | {{!}} style="{{#if:{{{poll1_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person2|}}} | ||
| − | {{!}} style="{{#if:{{{poll1_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll1_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person3|}}}}} |
}}}} | }}}} | ||
| #default = | | #default = | ||
| Line 348: | Line 348: | ||
{{!}} style="{{#if:{{{poll2_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person1|}}} | {{!}} style="{{#if:{{{poll2_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person1|}}} | ||
{{!}} style="{{#if:{{{poll2_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person2|}}} | {{!}} style="{{#if:{{{poll2_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person2|}}} | ||
| − | {{!}} style="{{#if:{{{poll2_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll2_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person3|}}}}} |
}}}} | }}}} | ||
| #default = | | #default = | ||
| Line 361: | Line 361: | ||
{{!}} style="{{#if:{{{poll3_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person1|}}} | {{!}} style="{{#if:{{{poll3_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person1|}}} | ||
{{!}} style="{{#if:{{{poll3_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person2|}}} | {{!}} style="{{#if:{{{poll3_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person2|}}} | ||
| − | {{!}} style="{{#if:{{{poll3_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll3_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person3|}}}}} |
}}}} | }}}} | ||
| #default = | | #default = | ||
| Line 374: | Line 374: | ||
{{!}} style="{{#if:{{{poll4_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person1|}}} | {{!}} style="{{#if:{{{poll4_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person1|}}} | ||
{{!}} style="{{#if:{{{poll4_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person2|}}} | {{!}} style="{{#if:{{{poll4_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person2|}}} | ||
| − | {{!}} style="{{#if:{{{poll4_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll4_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person3|}}}}} |
}}}} | }}}} | ||
| #default = | | #default = | ||
| Line 387: | Line 387: | ||
{{!}} style="{{#if:{{{poll5_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person1|}}} | {{!}} style="{{#if:{{{poll5_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person1|}}} | ||
{{!}} style="{{#if:{{{poll5_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person2|}}} | {{!}} style="{{#if:{{{poll5_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person2|}}} | ||
| − | {{!}} style="{{#if:{{{poll5_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll5_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person3|}}}}} |
}}}} | }}}} | ||
| #default = | | #default = | ||
| Line 415: | Line 415: | ||
{{!}} style="{{#if:{{{poll1_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party1|}}} | {{!}} style="{{#if:{{{poll1_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party1|}}} | ||
{{!}} style="{{#if:{{{poll1_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party2|}}} | {{!}} style="{{#if:{{{poll1_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party2|}}} | ||
| − | {{!}} style="{{#if:{{{poll1_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll1_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 431: | Line 431: | ||
{{!}} style="{{#if:{{{poll2_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party1|}}} | {{!}} style="{{#if:{{{poll2_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party1|}}} | ||
{{!}} style="{{#if:{{{poll2_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party2|}}} | {{!}} style="{{#if:{{{poll2_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party2|}}} | ||
| − | {{!}} style="{{#if:{{{poll2_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll2_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 447: | Line 447: | ||
{{!}} style="{{#if:{{{poll3_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party1|}}} | {{!}} style="{{#if:{{{poll3_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party1|}}} | ||
{{!}} style="{{#if:{{{poll3_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party2|}}} | {{!}} style="{{#if:{{{poll3_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party2|}}} | ||
| − | {{!}} style="{{#if:{{{poll3_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll3_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 463: | Line 463: | ||
{{!}} style="{{#if:{{{poll4_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party1|}}} | {{!}} style="{{#if:{{{poll4_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party1|}}} | ||
{{!}} style="{{#if:{{{poll4_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party2|}}} | {{!}} style="{{#if:{{{poll4_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party2|}}} | ||
| − | {{!}} style="{{#if:{{{poll4_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll4_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 479: | Line 479: | ||
{{!}} style="{{#if:{{{poll5_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party1|}}} | {{!}} style="{{#if:{{{poll5_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party1|}}} | ||
{{!}} style="{{#if:{{{poll5_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party2|}}} | {{!}} style="{{#if:{{{poll5_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party2|}}} | ||
| − | {{!}} style="{{#if:{{{poll5_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll5_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party3|}}}}} |
}} | }} | ||
}} | }} | ||
| Line 491: | Line 491: | ||
{{!}} style="{{#if:{{{1data1|}}}|width:75px;}}text-align:center" {{!}} {{{1data1|}}} | {{!}} style="{{#if:{{{1data1|}}}|width:75px;}}text-align:center" {{!}} {{{1data1|}}} | ||
{{!}} style="{{#if:{{{1data2|}}}|width:75px;}}text-align:center" {{!}} {{{1data2|}}} | {{!}} style="{{#if:{{{1data2|}}}|width:75px;}}text-align:center" {{!}} {{{1data2|}}} | ||
| − | {{!}} style="{{#if:{{{1data3|}}}|width:75px;}}text-align:center" {{!}} {{{1data3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{1data3|}}}|width:75px;}}text-align:center" {{!}} {{{1data3|}}}}} |
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 498: | Line 498: | ||
{{!}} style="{{#if:{{{2data1|}}}|width:75px;}}text-align:center" {{!}} {{{2data1|}}} | {{!}} style="{{#if:{{{2data1|}}}|width:75px;}}text-align:center" {{!}} {{{2data1|}}} | ||
{{!}} style="{{#if:{{{2data2|}}}|width:75px;}}text-align:center" {{!}} {{{2data2|}}} | {{!}} style="{{#if:{{{2data2|}}}|width:75px;}}text-align:center" {{!}} {{{2data2|}}} | ||
| − | {{!}} style="{{#if:{{{2data3|}}}|width:75px;}}text-align:center" {{!}} {{{2data3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{2data3|}}}|width:75px;}}text-align:center" {{!}} {{{2data3|}}}}} |
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 505: | Line 505: | ||
{{!}} style="{{#if:{{{3data1|}}}|width:75px;}}text-align:center" {{!}} {{{3data1|}}} | {{!}} style="{{#if:{{{3data1|}}}|width:75px;}}text-align:center" {{!}} {{{3data1|}}} | ||
{{!}} style="{{#if:{{{3data2|}}}|width:75px;}}text-align:center" {{!}} {{{3data2|}}} | {{!}} style="{{#if:{{{3data2|}}}|width:75px;}}text-align:center" {{!}} {{{3data2|}}} | ||
| − | {{!}} style="{{#if:{{{3data3|}}}|width:75px;}}text-align:center" {{!}} {{{3data3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{3data3|}}}|width:75px;}}text-align:center" {{!}} {{{3data3|}}}}} |
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 512: | Line 512: | ||
{{!}} style="{{#if:{{{4data1|}}}|width:75px;}}text-align:center" {{!}} {{{4data1|}}} | {{!}} style="{{#if:{{{4data1|}}}|width:75px;}}text-align:center" {{!}} {{{4data1|}}} | ||
{{!}} style="{{#if:{{{4data2|}}}|width:75px;}}text-align:center" {{!}} {{{4data2|}}} | {{!}} style="{{#if:{{{4data2|}}}|width:75px;}}text-align:center" {{!}} {{{4data2|}}} | ||
| − | {{!}} style="{{#if:{{{4data3|}}}|width:75px;}}text-align:center" {{!}} {{{4data3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{4data3|}}}|width:75px;}}text-align:center" {{!}} {{{4data3|}}}}} |
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 519: | Line 519: | ||
{{!}} style="{{#if:{{{5data1|}}}|width:75px;}}text-align:center" {{!}} {{{5data1|}}} | {{!}} style="{{#if:{{{5data1|}}}|width:75px;}}text-align:center" {{!}} {{{5data1|}}} | ||
{{!}} style="{{#if:{{{5data2|}}}|width:75px;}}text-align:center" {{!}} {{{5data2|}}} | {{!}} style="{{#if:{{{5data2|}}}|width:75px;}}text-align:center" {{!}} {{{5data2|}}} | ||
| − | {{!}} style="{{#if:{{{5data3|}}}|width:75px;}}text-align:center" {{!}} {{{5data3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{5data3|}}}|width:75px;}}text-align:center" {{!}} {{{5data3|}}}}} |
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 526: | Line 526: | ||
{{!}} style="{{#if:{{{6data1|}}}|width:75px;}}text-align:center" {{!}} {{{6data1|}}} | {{!}} style="{{#if:{{{6data1|}}}|width:75px;}}text-align:center" {{!}} {{{6data1|}}} | ||
{{!}} style="{{#if:{{{6data2|}}}|width:75px;}}text-align:center" {{!}} {{{6data2|}}} | {{!}} style="{{#if:{{{6data2|}}}|width:75px;}}text-align:center" {{!}} {{{6data2|}}} | ||
| − | {{!}} style="{{#if:{{{6data3|}}}|width:75px;}}text-align:center" {{!}} {{{6data3|}}} | + | {{#if:{{{col3|}}}|{{!}} style="{{#if:{{{6data3|}}}|width:75px;}}text-align:center" {{!}} {{{6data3|}}}}} |
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
{{documentation|content= | {{documentation|content= | ||
This is a subtemplate of [[template:infobox election]] used to generate the candidate block rows. It should not be used directly. | This is a subtemplate of [[template:infobox election]] used to generate the candidate block rows. It should not be used directly. | ||
}}</noinclude> | }}</noinclude> | ||
Revision as of 13:08, 3 May 2015
This is a subtemplate of template:infobox election used to generate the candidate block rows. It should not be used directly.
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |