User:RifeIdeas/Template 1

MY VISION PLEASE I welcome comments on the discussion page
My vision is to make one template versatile enough that allows us to have all of the election cycles collapsed except the last cycle which would be opened on a individuals page and then with one code line change it could be collapsed, therefore updating the next election cycle would be easier. Also with each vote tally in a separate collapsible box template, the header can contain the election data and district # and it would be easy to stack them for the year results page (all open of course). An ease of readability is necessary. I would also like to have the choice of color in the header box.

ELECTION RESULTS current work in progress
Template:Compact election box

race with breaks not stacked with 1 line race

OTHER examples
example from WikiProject Iowa/Government Election box inline begin no change

Election box begin with info title= and subtitle

div style


 * Swati A. Dandekar (D) (6,770 votes) (58%)
 * Karen Balderston (R) (5,000 votes)

table class allows for open or closed data I have ? on color codes in header and information area

collapible list allows for open or closed data I have ? on color codes in header and information area

2002 Iowa House District 36 General Election


 * Swati A. Dandekar (D) (6,770 votes) (58%)


 * Karen Balderston (R) (5,000 votes)

Just list template no data

...

Raw Data
2002 Iowa House District 36 General Election
 * Swati A. Dandekar (D) (6,770 votes) (58%)
 * Karen Balderston (R) (5,000 votes)

2004 Iowa House District 36 General Election
 * Swati A. Dandekar (D) (9,843 votes) (54%)
 * Cory Crowley (R) (8,220 votes)

2006 Iowa House District 36 General Election
 * Swati A. Dandekar (D) (6,987 votes) (53%)
 * Nick Wagner (R) (6,302 votes)

2008 Iowa Senate District 18 General Election
 * Swati A. Dandekar (D) (20,667 votes) (54%)
 * Joe Childers (R) (17,367 votes)

2012 Next Iowa Senate District 18 General Election