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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Undid revision 710077409 by Frietjes (talk))
imported>Χ
(added college_voted param, displays "Projected electoral vote" when equal to no)
Line 102: Line 102:
 
{{#ifeq:{{{ongoing|}}}|yes||
 
{{#ifeq:{{{ongoing|}}}|yes||
 
{{#if:{{{electoral_vote1|}}}{{{electoral_vote2|}}}{{{electoral_vote3|}}}|
 
{{#if:{{{electoral_vote1|}}}{{{electoral_vote2|}}}{{{electoral_vote3|}}}|
! style="text-align:left" {{!}} Electoral vote
+
! style="text-align:left" {{!}} {{#ifeq:{{{college_voted|}}}|no|Projected e|E}}lectoral vote
 
{{!}} style="{{#if:{{{electoral_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote1|}}}
 
{{!}} style="{{#if:{{{electoral_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote1|}}}
 
{{!}} style="{{#if:{{{electoral_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote2|}}}
 
{{!}} style="{{#if:{{{electoral_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote2|}}}

Revision as of 15:43, 5 November 2016

Template documentation

This is a subtemplate of template:infobox election used to generate the candidate block rows. It should not be used directly.