Template:InfoboxElection

This template makes heavy usage of Template:ProgressBar and MediaWiki's template features to display results (or candidate lists) for different elections. It is, as of now, limited to 10 candidates or parties with different colors and results. For example, here is an infobox for the 2011 Canadian parliament election(data from Wikipedia):

In practice, this infobox would look like that: