This template is within the scope of WikiProject Politics, a collaborative effort to improve the coverage of politics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.PoliticsWikipedia:WikiProject PoliticsTemplate:WikiProject Politicspolitics articles
I've redesigned the template in the sandbox to make the listing more concise and similar to what is used on templates like {{Elections in Alabama sidebar}}, which I think is a more reasonable design.
Please insert |class={{{class|}}} after |sizedefault=frameless to allow upper templates to set a class for the image (particularly the newly-introduced "notpageimage" class, which removes the image from the list of page images). See below for the resulting template source.
Template:Politics sidebar title
<includeonly><divclass="adr">[[Politics of {{{link|{{{title}}}}}}|Politics of {{{title}}}]]</div></th></tr>{{#if:{{{image|}}}
|<tr><th>{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{size|}}}|sizedefault=frameless|class={{{class|}}}|alt={{{alt|}}}|border={{#switch:{{{border|}}}|y|yes|Y|Yes|YES=yes|#default=no}}}}</th></tr>
}}<tr><thstyle="border-bottom: #aaa {{#if:{{{separator-width|}}}|{{{separator-width}}}|1px}} solid"></includeonly><noinclude>{{documentation}}</noinclude>