Difference between revisions of "Template:State Rep"

From IFRR
Jump to: navigation, search
(add links to Statistical Atlas and Ballotpedia)
Line 1: Line 1:
 
|-
 
|-
| {{{district}}}<small><br/>[https://statisticalatlas.com/state-lower-legislative-district/Colorado/District-{{{district}}}/Overview SA]<br/>[https://ballotpedia.org/Colorado_House_of_Representatives_District_{{{district}}} BP]</small> || {{{rep}}} || {{party|{{{party}}}}} || {{{contact}}} || 2018
+
| {{{district}}}<small><br/>[https://statisticalatlas.com/state-lower-legislative-district/Colorado/District-{{{district}}}/Overview SA]<br/>[https://ballotpedia.org/Colorado_House_of_Representatives_District_{{{district}}} BP]</small> || {{{rep}}} || {{party|{{{party}}}}} || {{{contact}}} || 2020
 +
| {{#ifeq: {{{2018margin}}} | UNOPPOSED | {{UNOPPOSED|{{{party}}}}} | {{#ifexpr: {{{2018margin}}} > 10 | {{{2018margin}}}% ({{{2018total}}}%) | '''{{{2018margin}}}% ({{{2018total}}}%''') }} }} {{#if: {{{2018a|}}} | <br/>{{{2018a}}}}} {{#if: {{{2018b|}}} | <br/>{{{2018b}}}}} {{#if: {{{2018c|}}} | <br/>{{{2018c}}}}} {{#if: {{{2018d|}}} | <br/>{{{2018d}}}}} {{#if: {{{2018e|}}} | <br/>{{{2018e}}}}} {{#if: {{{2018note1|}}} | <hr/> <small><sup>1</sup> {{{2018note1}}} {{#if: {{{2018note2|}}} | <br/><sup>2</sup> {{{2018note2}}} {{#if: {{{2018note3|}}} | <br/><sup>3</sup> {{{2018note3}}} }} }} </small> }}
 
| {{#ifeq: {{{2016margin}}} | UNOPPOSED | {{UNOPPOSED|{{{party}}}}} | {{#ifexpr: {{{2016margin}}} > 10 | {{{2016margin}}}% ({{{2016total}}}%) | '''{{{2016margin}}}% ({{{2016total}}}%''') }} }} {{#if: {{{2016a|}}} | <br/>{{{2016a}}}}} {{#if: {{{2016b|}}} | <br/>{{{2016b}}}}} {{#if: {{{2016c|}}} | <br/>{{{2016c}}}}} {{#if: {{{2016d|}}} | <br/>{{{2016d}}}}} {{#if: {{{2016e|}}} | <br/>{{{2016e}}}}} {{#if: {{{2016note1|}}} | <hr/> <small><sup>1</sup> {{{2016note1}}} {{#if: {{{2016note2|}}} | <br/><sup>2</sup> {{{2016note2}}} {{#if: {{{2016note3|}}} | <br/><sup>3</sup> {{{2016note3}}} }} }} </small> }}
 
| {{#ifeq: {{{2016margin}}} | UNOPPOSED | {{UNOPPOSED|{{{party}}}}} | {{#ifexpr: {{{2016margin}}} > 10 | {{{2016margin}}}% ({{{2016total}}}%) | '''{{{2016margin}}}% ({{{2016total}}}%''') }} }} {{#if: {{{2016a|}}} | <br/>{{{2016a}}}}} {{#if: {{{2016b|}}} | <br/>{{{2016b}}}}} {{#if: {{{2016c|}}} | <br/>{{{2016c}}}}} {{#if: {{{2016d|}}} | <br/>{{{2016d}}}}} {{#if: {{{2016e|}}} | <br/>{{{2016e}}}}} {{#if: {{{2016note1|}}} | <hr/> <small><sup>1</sup> {{{2016note1}}} {{#if: {{{2016note2|}}} | <br/><sup>2</sup> {{{2016note2}}} {{#if: {{{2016note3|}}} | <br/><sup>3</sup> {{{2016note3}}} }} }} </small> }}
 
| {{#ifeq: {{{2014margin}}} | UNOPPOSED | {{UNOPPOSED|{{{party}}}}} | {{#ifexpr: {{{2014margin}}} > 10 | {{{2014margin}}}% ({{{2014total}}}%) | '''{{{2014margin}}}% ({{{2014total}}}%''') }} }} {{#if: {{{2014a|}}} | <br/>{{{2014a}}}}} {{#if: {{{2014b|}}} | <br/>{{{2014b}}}}} {{#if: {{{2014c|}}} | <br/>{{{2014c}}}}} {{#if: {{{2014d|}}} | <br/>{{{2014d}}}}} {{#if: {{{2014e|}}} | <br/>{{{2014e}}}}} {{#if: {{{2014note1|}}} | <hr/> <small><sup>1</sup> {{{2014note1}}} {{#if: {{{2014note2|}}} | <br/><sup>2</sup> {{{2014note2}}} {{#if: {{{2014note3|}}} | <br/><sup>3</sup> {{{2014note3}}} }} }} </small> }}
 
| {{#ifeq: {{{2014margin}}} | UNOPPOSED | {{UNOPPOSED|{{{party}}}}} | {{#ifexpr: {{{2014margin}}} > 10 | {{{2014margin}}}% ({{{2014total}}}%) | '''{{{2014margin}}}% ({{{2014total}}}%''') }} }} {{#if: {{{2014a|}}} | <br/>{{{2014a}}}}} {{#if: {{{2014b|}}} | <br/>{{{2014b}}}}} {{#if: {{{2014c|}}} | <br/>{{{2014c}}}}} {{#if: {{{2014d|}}} | <br/>{{{2014d}}}}} {{#if: {{{2014e|}}} | <br/>{{{2014e}}}}} {{#if: {{{2014note1|}}} | <hr/> <small><sup>1</sup> {{{2014note1}}} {{#if: {{{2014note2|}}} | <br/><sup>2</sup> {{{2014note2}}} {{#if: {{{2014note3|}}} | <br/><sup>3</sup> {{{2014note3}}} }} }} </small> }}

Revision as of 18:17, 21 December 2018

|- | {{{district}}}
SA
BP
|| {{{rep}}} || {{{party}}} || {{{contact}}} || 2020 | Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{". | Expression error: Unrecognized punctuation character "{".