Template:USGSElect

From Usgovsimulation

(Difference between revisions)
 
(15 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'''
! style="width: 210px"|Candidate
! style="width: 210px"|Candidate
! style="width: 40px"|Status
! style="width: 40px"|Status
Line 9: 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}}}%
|}
|}
<noinclude>
<noinclude>
-
{{Elect|Sample}}
+
<pre>
-
'''Format for USGS Election Template'''
+
Format for USGS Election Template (examples in parentheses)
-
|-style="background:#E9E9E9;"
+
-
! align="left"|area=
+
-
! race_type=
+
-
! race_year=
+
-
! candidate=
+
-
! status=
+
-
! percentGOP=
+
-
! percentDEM=
+
-
|-
+
-
|}</pre>
+
-
[[Category:Templates]]
+
-
</noinclude>
+
 +
{{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)
 +
}}</pre>
 +
[[Category:Templates]]
</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