Wikidata:WikiProject Politics infoboxes

From Wikidata
Jump to: navigation, search

The aim of WikiProject Politics infoboxes is to:

  • define a set of properties that can be used both by the Infoboxes from diffrent languages
  • modify the Infoboxes to use wikidata properties
  • import the data from existing Infoboxes

Election / Wahlen / Élection / Elección / Eleição[edit]


When a cell for an infobox is in green that's mean that the Wikidata will be fetched.

General information about the election
Wikidata property Data type Qualifiers EN FR ES Creation level Description
- election_name nom_élection nombre_elección Page name
country (P17) Item - country pays país Created Country where the election take place
 ??? - flag_year variante variante For historical elections when an older flag design was in effect, enter the year the flag came into effect (not the election year). Default is to use the current flag.
flag image (P41) commons media file - flag_image Created For non-country elections, specify the full name of the flag, coat-of-arms, or seal image to display.
Item - endispute2 endisputa2 Indica los cargos a elegir para que aparezcan en la tabla en lugar del título. (es) / Liste de postes à remplir par élection. À utiliser pour les titres longs. Apparaît précédé de « Postes à élire: » (fr) – (Please translate this into English.)
instance of (P31) Item - type type tipo Created The type of election
- vote_type The type of votes recorded at popular_voten. Defaults to "Popular".
boolean - ongoing encours encurso Must be either yes or no, whether the election is yet to take place, or completed.
boolean - party_colour Only for display reason.
boolean - party_name Only for display reason.
follows (P155) Item - previous_election élection_précédente elección_anterior Created The page name of the previous election of this type.
point in time (P585) or start time (P580), end time (P582) Time - election_date date_élection fecha_elección Created Date of election
Item - elected_mps Wikilink to the MPs elected in this election.
followed by (P156) Item - next_election élection_suivante siguiente_elección Created The page name of the next election of this type
Number - votes_for_election The number of votes for election and the system of voting (eg. Electoral College).
Number - needed_votes The number of votes required to win.
number of members (P1342) Item - seats_for_election endispute endisputa The number of seats for election and the house or chamber the seats are for.
Number - majority_seats The number of seats required for a majority government.
 ??? - opinion_polls Pagename or section anchor of opinion polls.
Demographic and statistical information
Wikidata property Data type Qualifiers EN FR ES Creation level Description
population (P1082) Number - habitants habitantes Created Population
electorate (P1831) Number - enregistrés registrados Number of electors registered on the electoral system
ballots cast (P1868) Number - votants votantes Electors who participated from the election
Number - votants2 votantes2 Electors who participated on the runoff
Number - turnout participation participación Voter turnout for this election.
Number - participation_pré participación_ant Voter turnout for the last election of a kind
Number - participation2 participación2 Voter turnout for the runoff
total valid votes (P1697) Number - valables válidos Valid votes
Number - valables2 válidos2 Valid votes on the runoff
Number - blancs blancos Blank votes
Number - blancs2 blancos2 Blank votes on the runoff
Number - nuls nulos Null votes
Number - nuls2 nulos2 Null votes on the runoff
 ??? - campagne campaña Campaigning period
free text - débat debate Dates of most important debates
Information specific to each candidature
Wikidata property Data type Qualifiers EN FR ES Creation level Description
image (P18) Commons media file - image<X> image<X> imagen<X> Created Image of Nominee, head of Party list or Party Leader.
Strings that are not translated - colour<X>
color<X>
couleur<X> color<X> Enter a hex colour code (without the #) to override the border colour of image
candidate (P726) Item - nominee<X>
candidate<X>
candidat<X> candidato<X> Name of Nominee or Candidate
Item - leader<X> chef<X> líder<X> Name of head of Party list or Party Leader
Item - party<X> parti<X> partido<X> Political Party using Political party shortname templates.
Item - alliance<X> coalition<X> coalición<X> Political alliance in elections where coalition politics is common.
Item - parti<Y>_coalition<X> partido<Y>_coalición<X> Party of the alliance
Item - home_state<X> The state the Nominee or Candidate represents
Item - running_mate<X> colistier<X> The Nominee's Running mate.
Number - electoral_vote<X> vote_électoral<X> voto_electoral<X> The electoral votes obtained by the Nominee
Number - delegate_count<X> The aggregate number of delegates obtained by the candidate. Intended for use in pre-election processes such as selection of delegates to United States presidential nominating conventions. Intended to be used instead of electoral_vote1 for these cases.
Number? - states_carried<X> The states carried or won by the Nominee.
Time - leader_since1<X> The states carried or won by the Nominee.
Item - leaders_seat<X> The seat the Leader represents
Number - seats_before<X> sièges<X>_pré escaños<X>_ant The seat count before the election, labeled 'current seats' if the election is yet to take place.
Number - seats_needed<X> The seats required to gain an overall majority.
Number - seats<X> The seats won at the election.
number of seats in legislature (P1410) Number - seats_after<X> sièges<X> escaños<X> The seat count after the election
Number - seat_change<X> The change in the number of seats won at the election compared to the previous election.
Number - popular_vote<X> votes<X> votos<X> The number of votes obtained by the Nominee or Party.
votes received (P1111) Number - votes2v<X> votos2v<X> Número de votos obtenidos por el candidato, partido o fuerza política en la segunda vuelta o balotaje. (es) / Suffrages au second tour. (fr) – (Please translate this into English.)
Number - percentage<X> pourcentage<X> porcentaje<X> The percentage of the popular vote obtained by the Nominee or Party.
Number - swing<X> The swing or change in popular vote at the election compared to the previous election.
Information about poll
Wikidata property Data type Qualifiers EN FR ES Creation level Description
Time - poll<X>_date The date of an opinion poll
Number - poll<X>_nominee<Y> TThe percentage poll <X> gave to nominee <Y>.
Number - poll<X>_party<Y> TThe percentage poll <X> gave to party <Y>.
Auxiliary rows
Wikidata property Data type Qualifiers EN FR ES Creation level Description
free text - <X>blank Title of an <X> auxiliary row.
free text - <X>data<Y> Data <X> for nominee or party <Y>
map
Wikidata property Data type Qualifiers EN FR ES Creation level Description
Commons media file - map_image carte mapa Not done Page name for the election map file.
- map_alt Alt text for the election map.
- map A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.
Multilingual text (not available yet) - map_caption carte_sous-titre mapa_subtítulo Caption on image of the election map to be displayed.
 ??? - légende_carte1 leyenda_mapa1 Leyenda del mapa electoral (columna izquierda). (es) / Légende de la carte, à gauche si plusieurs colonnes (fr) – (Please translate this into English.)
 ??? - légende_carte2 leyenda_mapa2 Leyenda del mapa electoral (columna derecha). (es) / Légende de la carte, à droite si plusieurs colonnes (fr) – (Please translate this into English.)
Results of the election
Wikidata property Data type Qualifiers EN FR ES Creation level Description
office contested (P541) Item - title poste cargo Title of the leader before the election. (President, Speaker, Government, Prime Minister...)
Item - before_election prédécesseur predecesor The leader in power before the election, labeled incumbent if the election is yet to take place.
Item - before_party parti_prédécesseur partido_predecesor The party in power before the election.
Item - posttitle Title of the leader before the election. (President, Speaker, Government, Prime Minister...)
successful candidate (P991) Item - after_election successeur sucesor Created The leader in power as a result of the election.
Item - after_party parti_successeur partido_sucesor The party in power as a result of the election.
... ... - ... ... ... ... ...

Infobox Layout[edit]

Wikidata property Data type Qualifiers EN FR ES Creation level Description
-  ??? - fond - Couleur d'arrière-plan du tableau. (fr) – (Please translate this into English.)
-  ??? - fond2 - Couleur d'arrière-plan du titre et des sous-titres. (fr) – (Please translate this into English.)
- Number - ancho Determina el ancho de la plantilla, incluyendo las imágenes de candidatos, partidos o fuerzas políticas (es) / Largeur de l'infobox (fr) – (Please translate this into English.)
- Number - map_size taille carte mapa_tamaño - Size of image of the election map to be displayed.
Welcome to WikiProject Elections

Goal[edit]

The Goal of this project is to set a standard for how items about elections should look like, and to identify the best way of connecting them to other items. The main purpose is to deal with democratic public elections on national and local levels, but we hope that we also should be able to use the ideas here in other circumstances.

Showcase items[edit]

Individual constituencies[edit]

.

General election results[edit]

Related properties[edit]

Feel free to add useful properties here!

Property Comment
office contested (P541) title of office which election will determine the next holder of
instance of (P31) type of election
applies to jurisdiction (P1001) related administrative entity
eligible voters (P1867) number of eligible voters
electorate (P1831) registred voters, when applied
ballots cast (P1868) total number of ballot(s) cast, including invalid or blank ballots
point in time (P585) an alternative is from and to-dates, if the elections is held during longer periods
candidate (P726) If the election is open for any candidate to participate, it's not mandatory to add them, when they do not affect the result
votes received (P1111) Used together with P726 above as a qualifier
successful candidate (P991) person(s) elected after the election, maybe also political parties should be allowed here?
number of members (P1342) number of seats/members in an assembly
number of seats in legislature (P1410) number of seats a political party has in a given legislature
total valid votes (P1697) total valid votes

Questions to solve[edit]

  • Observe, that there is many ways to set up an election. Sometimes you vote for political parties, other times you vote for persons. Anything between that is also possible.
  • How the elected candidates are choosen also differ, sometimes even within one single election. One example of that is the EU-parliament, where each country have their own specific rules.
  • Some elections uses constituencies, sometimes there is one MP for every constituency, other times there are several elected candidate in one constituency.
  • Some elections makes use of electoral colleges.
  • In some cases there is more elected MP's than there is seats.
  • Many elections are repeated if the first round did not give a majority to one candidate.
  • Sometimes there are different kinds of cooperations between political parties.
  • There are independant candidates. How should we describe them?
  • Some candidates are not member of the political party they represent, or change membership after the election. How should that be described?
  • In historical records, the names of the candidates are no longer known. We maybe not even know the number of votes. How should that be described in a good way?
  • How should we describe indirect elections, like the election of the Prime minister of UK?

In modern local elections, there is maybe a lot of information about each election. Thousands of persons and political parties do get one single or only a few votes in every Swedish election. Is it worth the effort to list them, when all we know is their name? They can even bee fictional, like Donald Duck (Q6550), who gets a number of votes every four years.

Political party / Parti politique / Partido político[edit]

Wikidata property Data type Qualifiers EN FR ES Creation level Description
Multilingual text (not available yet) - name nom - - name of the party
logo image (P154) URL - logo logo - Created Logo of the party.
sRGB color hex triplet (P465) String - colorcode Sièges/hex - Created Color code of the party. HTML color code (e.g. red, #FF0000 ) or transparent for no coloring.

Officeholder / Politicien / Autoridad[edit]

Politics of / Politique en[edit]

Even in these models are not infoboxs they could be included in this taskforce.

Template:Politics box (Q6064622)

General information about the election
Wikidata property Datatype Qualifiers EN FR ES Creation level Description
- modèle Model name
country (P17) Item - country pays país Created Country where the election take place
Item - article Article sur l'article sur la politique du pays (fr) – (Please translate this into English.)
coat of arms image (P94) commons media file - armoiries Created coat-of-arms image to display.
flag image (P41) commons media file - drapeau Created specify the full name of the flag to display.

Partcipants[edit]