Template:USGSElect

From Usgovsimulation

(Difference between revisions)
 
(9 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 24: Line 24:
<pre>
<pre>
Format for USGS Election Template (examples in parentheses)
Format for USGS Election Template (examples in parentheses)
-
|-
+
 
-
! area= (Senate would be FL-2, Governor would be California)
+
{{USGSElect|area= (Senate would be FL-2, Governor would be California)  
-
! race_type= (Senate or Governor)
+
|race_type= (Senate or Governor)
-
! race_year=
+
|race_year=
-
! candidate=
+
|candidateGOP=
-
! status= (Incumbent or Challenger)
+
|statusGOP= (Incumbent or Challenger)
-
! percentGOP= % of votes (just a number)
+
|candidateDEM=
-
! percentDEM= % of votes (just a number)
+
|statusDEM= (Incumbent or Challenger)
-
|-
+
|percentGOP= % of votes (just a number)
-
|}</pre>
+
|percentDEM= % of votes (just a number)
 +
}}</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