Template:Election resources

From Cvillepedia
Jump to navigation Jump to search
{{{electiontitle}}} resources
< All elections
{{{race1}}} {{{race1-district}}}
{{{race2}}} {{{race2-district}}}
{{{race1-candidates}}}

Candidate forums
{{Election/forum/{{{locality1}}}/{{{race1}}}/{{{race1-district}}}/{{{year}}}}}
{{{race2-candidates}}}

Candidate forums
{{Election/forum/{{{locality2}}}/{{{race2}}}/{{{race2-district}}}/{{{year}}}}}
{{{race3}}} {{{race3-district}}}
{{{race4}}} {{{race4-district}}}
{{{race3-candidates}}}

Candidate forums
{{Election/forum/{{{locality1}}}/{{{race3}}}/{{{race3-district}}}/{{{year}}}}}
{{{race4-candidates}}}

Candidate forums {{{race4-forums}}}
{{{race5}}} {{{race5-district}}}
{{{race6}}} {{{race6-district}}}
{{{race5-candidates}}}

Candidate forums
{{Election/forum/{{{locality1}}}/{{{race5}}}/{{{race5-district}}}/{{{year}}}}}
{{{race6-candidates}}}

Candidate forums {{{race6-forums}}}
{{{disclaimer}}}

Usage

Use on an election page to link to cvilletomorrow promotional stuff. They insist it goes at the top of the page.

Parameters


Logo-small25.jpg This list is a stub. You can help cvillepedia by expanding it.


General

Required parameters

  • electiontitle: Name of the election you are resourcing. Often suitable to use {{PAGENAME}} for the value.

Optional parameters

By locality

The template produces two columns, one each for Charlottesville and Albemarle. There are parameters that apply to each of these localities, in pairs, one for each column, with a 1 or a 2 suffix to indicate which column the value will appear in.

Required parameters

  • locality1 and locality2: The name, for now it's "Albemarle County" and "Charlottesville".

Optional parameters

  • race1-vpap and race2-vpap. A link to campaign finance information within the locality.

By race

Within each locality there can be several races. The parameters are the same with the exception of an integer suffix or infix, e.g., race1, race2, race3, &c. The odd-numbered races appear in the first column (locality) and the even numbered in the second. In the list below, the suffix is indicated by an N

Required parameters

  • raceN: the position for which the race is being contested, e.g., City Council or Clerk of Court.

Optional parameters

  • districtN: when the race is contested only within a district within the locality, the name of that district. E.g., the name of a magisterial district.

Examples

Used on page 2011 election.