Template:USGSElect

From Usgovsimulation

(Difference between revisions)
 
(8 intermediate revisions not shown)
Line 1: Line 1:
{| border="1" cellpadding="4" cellspacing="0" style="background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;"
{| border="1" cellpadding="4" cellspacing="0" style="background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;"
|- style="background-color:#E9E9E9"
|- style="background-color:#E9E9E9"
-
! colspan="7"|Election Result for {{{area}}} {{race_type}} in {{{race_year}}}
+
! colspan="7"|Election Result for {{{area}}} {{{race_type}}}, {{{race_year}}}
|-
|-
| colspan="2" style="width: 170px"|'''Party'''
| colspan="2" style="width: 170px"|'''Party'''
Line 10: Line 10:
| colspan="1" style="width: 40px; background-color:#ff0000"|
| colspan="1" style="width: 40px; background-color:#ff0000"|
| colspan="1" style="width: 130px"|Republican
| colspan="1" style="width: 130px"|Republican
-
! style="width: 210px"|{{{candidate}}}
+
! style="width: 210px"|{{{candidateGOP}}}
-
! style="width: 40px"|{{{status}}}
+
! style="width: 40px"|{{{statusGOP}}}
-
! style="width: 40px"|{{{percentGOP}}}
+
! style="width: 40px"|{{{percentGOP}}}%
|-  
|-  
| colspan="1" style="width: 40px; background-color:#0000ff"|
| colspan="1" style="width: 40px; background-color:#0000ff"|
| colspan="1" style="width: 130px"|Democratic
| colspan="1" style="width: 130px"|Democratic
-
! style="width: 210px"|{{{candidate}}}
+
! style="width: 210px"|{{{candidateDEM}}}
-
! style="width: 40px"|{{{status}}}
+
! style="width: 40px"|{{{statusDEM}}}
-
! style="width: 40px"|{{{percentDEM}}}
+
! style="width: 40px"|{{{percentDEM}}}%
|}
|}
Line 25: Line 25:
Format for USGS Election Template (examples in parentheses)
Format for USGS Election Template (examples in parentheses)
-
{|{{USGSElect}}
+
{{USGSElect|area= (Senate would be FL-2, Governor would be California)  
-
|-
+
|race_type= (Senate or Governor)
-
! area= (Senate would be FL-2, Governor would be California)
+
|race_year=
-
! race_type= (Senate or Governor)
+
|candidateGOP=
-
! race_year=
+
|statusGOP= (Incumbent or Challenger)
-
! candidate=
+
|candidateDEM=
-
! status= (Incumbent or Challenger)
+
|statusDEM= (Incumbent or Challenger)
-
! percentGOP= % of votes (just a number)
+
|percentGOP= % of votes (just a number)
-
! percentDEM= % of votes (just a number)
+
|percentDEM= % of votes (just a number)
-
|-
+
}}</pre>
-
|}</pre>
+
[[Category:Templates]]
[[Category:Templates]]
-
</noinclude>
 
-
 
</noinclude>
</noinclude>

Current revision as of 19:24, 15 November 2008

Election Result for {{{area}}} {{{race_type}}}, {{{race_year}}}
Party Candidate Status %
Republican {{{candidateGOP}}} {{{statusGOP}}} {{{percentGOP}}}%
Democratic {{{candidateDEM}}} {{{statusDEM}}} {{{percentDEM}}}%


Format for USGS Election Template (examples in parentheses)

{{USGSElect|area= (Senate would be FL-2, Governor would be California) 
|race_type= (Senate or Governor)
|race_year=
|candidateGOP=
|statusGOP= (Incumbent or Challenger)
|candidateDEM=
|statusDEM= (Incumbent or Challenger)
|percentGOP= % of votes (just a number)
|percentDEM= % of votes (just a number)
}}
Personal tools
Navigation