Difference between revisions of "Template:Infobox legislative election/row"

From blackwiki
Jump to navigation Jump to search
imported>Hebsen
(Undid revision 884050553 by Heb the best (talk) - belongs in the sandbox)
imported>Hebsen
(Added leader-image to rows)
Line 1: Line 1:
 
scope="row" style="background-color: transparent; {{#if:{{{colour|}}}|border-left: 4px solid {{{colour}}};|{{#ifexist:Template:{{{party}}}/meta/color|border-left: 4px solid {{{{{party}}}/meta/color}};}}}} font-weight: normal; text-align: left;" | {{Infobox election/shortname|name={{{party}}}}}
 
scope="row" style="background-color: transparent; {{#if:{{{colour|}}}|border-left: 4px solid {{{colour}}};|{{#ifexist:Template:{{{party}}}/meta/color|border-left: 4px solid {{{{{party}}}/meta/color}};}}}} font-weight: normal; text-align: left;" | {{Infobox election/shortname|name={{{party}}}}}
| {{{party_leader|}}}{{#ifeq:{{{ongoing|}}}|yes|| 
+
| style="padding: 0px; vertical-align: middle;" |{{#if:{{{leader_image|}}}|[[File:{{{leader_image}}}|60x60px]]}}
 +
|{{{party_leader|}}}{{#ifeq:{{{ongoing|}}}|yes|| 
 
{{!}} style="text-align: right;" {{!}} {{{percentage|}}}
 
{{!}} style="text-align: right;" {{!}} {{{percentage|}}}
 
  }}{{#ifeq:{{{first_election|}}}|yes|{{#ifeq:{{{ongoing|}}}|yes|| 
 
  }}{{#ifeq:{{{first_election|}}}|yes|{{#ifeq:{{{ongoing|}}}|yes|| 

Revision as of 07:07, 19 February 2019

scope="row" style="background-color: transparent; font-weight: normal; text-align: left;" | {{{party}}} | style="padding: 0px; vertical-align: middle;" | | | style="text-align: right;" | | style="text-align: right;" | |