Difference between revisions of "Template:Seocandidate"

From Ballotpedia
Jump to: navigation, search
m
Line 75: Line 75:
 
{{#ifeq: {{{Unopposed}}}|Y|[[Category:{{{Year}}} State executive unopposed]]}}
 
{{#ifeq: {{{Unopposed}}}|Y|[[Category:{{{Year}}} State executive unopposed]]}}
 
{{#ifeq: {{{Open}}}|Y|[[Category:{{{Year}}} State executive open seat]]}}
 
{{#ifeq: {{{Open}}}|Y|[[Category:{{{Year}}} State executive open seat]]}}
{{#ifeq: {{{New office}}}|Y|[[Category:{{{Year}}} incumbent running for a different elected office]]}}
+
{{#ifeq: {{{New office}}}|Y|[[Category:{{{Year}}} State executive incumbent running for a different elected office]]}}
 
</onlyinclude></includeonly><noinclude>[[Category:State executive officials election templates]]
 
</onlyinclude></includeonly><noinclude>[[Category:State executive officials election templates]]
 
[[Category:State executive templates]]
 
[[Category:State executive templates]]
 
</noinclude>
 
</noinclude>

Revision as of 08:20, 24 April 2014

Description
This is the format for categories of state executive election candidates.

The following is the basic text to paste:

{{Seocandidate|Year=|Status=|Office=|Primary=|General=|Unopposedprimary=|Unopposed=|Open=|New office=}}

Then, parameters are filled in and completed as the election goes along. An example of a basic challenger:

{{Seocandidate|Year=2012|Status=challenger|Office=Treasurer|Primary=Y}}

A treasurer candidate who lost a primary:

{{Seocandidate|Year=2012|Status=challenger|Office=Treasurer|Primary=L}}
{{Seocandidate|Year=2012|Status=|Office=|Potential=|Primary=|General=|Unopposed=|Open=|Unopposedprimary=}}

If you are using the template on a page with prior year category templates, the suggestion is to incorporate headings. Such as this format:

<!--YEAR categories-->
{{Seocandidate|Year=|Status=|Office=|Potential=|Primary=|General=|Unopposed=|Open=|Unopposedprimary=}}

Parameters and extra categories

  • Year= Year of the election
  • Status= incumbent or challenger
  • Potential=Y if a person is considering a run for office but has not formally declared yet
  • Office=
Gubernatorial
Lieutenant Governor
Attorney General
Secretary of State
Treasurer
Auditor
Controller
Superintendent of Schools
Insurance Commissioner
Natural Resources Commissioner
Agriculture Commissioner
Labor Commissioner
Public Services Commissioner
Railroad Commissioner
Lands Commissioner
  • Primary=
Y to indicate running in a primary.
L to indicate defeated in a primary
W to indicate winner in a primary
  • General=
Y to indicate running in a general election.
L to indicate defeated in a general election
W to indicate winner in a general election
  • Unopposedprimary=Y if facing no major party opposition in a primary election
  • Unopposed=Y if facing no major party opposition in a general election
  • Open=Y if incumbent is not running in general election
  • New office=Y if incumbent is running for a different office