Module:European and national party data/Documentation
Usage
{{#invoke:European and national party data|main|<type_de_parti>|<type_de_données>|<parti>|<institution>|paramètres supplémentaires}}
Paramètres
Paramètre | Description |
---|---|
1 | Le type de parti considéré ; peut être soit :
Ce paramètre est obligatoire. |
2 | Le type de données demandées et extraites de Wikidata, à partir de la liste suivante :
Ce paramètre est obligatoire. |
3 | Le nom de l'entité, à partir de la liste suivante :
Ce paramètre est facultatif lorsqu'il est appelé à partir de la page de l'entité en question. Les acronymes suivants sont utilisés pour les partis européens :
En outre, les alliances politiques européennes suivantes sont couvertes :
En outre, quatre paramètres spéciaux peuvent être utilisés à la place des partis européens (donc pas avec
Notes :
|
4 | Le nom de l'institution, à partir de la liste suivante :
Notes :
Ce paramètre est obligatoire lorsque le type de données est |
paramètres supplémentaires | Les paramètres supplémentaires suivants peuvent également être utilisés, en fonction du type_de_données demandé :
Ces paramètres sont facultatifs. Notes : dans la version française, les paramètres |
Modèles liés
Le module est directement implémenté par deux modèles :
- Modèle:Données PPEU, qui présélectionne
|party_type=entite_europeenne
; - Modèle:Données parti politique, qui présélectionne
|party_type=parti_national
; et - Modèle:Sièges institutions UE, qui renvoie uniquement le nombre de sièges des institutions de l'UE (y compris toutes les chambres basses ou hautes combinées).
Tests
Le module comporte deux pages de tests :
- Module:European and national party data/testcases composition bar pour le type de données « barre de composition des sièges » ; et
- Module:European and national party data/testcases pour tous les autres types de données.
Mise à jour du module
Le module tire ses données de deux sources :
- Wikidata pour tous les points de données renvoyés par le module ; et
- commons:Data:Mapping of national parties members of European parties to lower and upper houses.tab qui cartographie les partis nationaux membres des partis politiques européens et sert également à relier les États membres (et donc les partis nationaux) à leurs chambres basse et haute.
Exemples
Type de données sieges
Code | Result | Output |
---|---|---|
{{#invoke:European and national party data|main|european_entity|seats|EPP|EP}}
|
182 | number of seats of the European People's Party in the European Parliament |
{{#invoke:European and national party data|main|european_entity|seats|PES|EC|reference=yes}}
|
4[1] | number of seats of the Party of European Socialists in the European Commission, with reference |
{{#invoke:European and national party data|main|european_entity|seats|ind|EUCO}}
|
5 | number of seats of independent politicians in the European Council |
{{#invoke:European and national party data|main|european_entity|seats|ALDE|ms-lower-house}}
|
416 | number of seats of the Alliance of Liberals and Democrats for Europe in member states' lower houses |
{{#invoke:European and national party data|main|european_entity|seats|EGP|ms-upper-house|reference=yes}}
|
50 | number of seats of the European Green Party in member states' upper houses, without reference (see table above) |
{{#invoke:European and national party data|main|european_entity|seats|Q208242|EC}}
|
11 | number of seats of the European People's Party (called by its Wikidata qID) in the European Commission |
{{#invoke:European and national party data|main|european_entity|seats|Q208242|ms-upper-house}}
|
457 | number of seats of the European People's Party (called by its Wikidata qID) in member states' upper houses |
{{#invoke:European and national party data|main|national_party|seats|Q13564543|ms-lower-house|reference=yes}}
|
17[2] | number of seats of Austria's NEOS (called by its Wikidata qID) in the National Council, with reference |
{{#invoke:European and national party data|main|national_party|seats|Q138198|ms-upper-house}}
|
91 | number of seats of the Spanish Socialist Workers' Party (called by its Wikidata qID) in the Senate |
{{#invoke:European and national party data|main|national_party|seats|Q49768|EP}}
|
14 | number of seats of the Social Democratic Party of Germany (called by its Wikidata qID) in the European Parliament |
{{#invoke:European and national party data|main|european_entity|seats|all|EP}}
|
634 | number of seats of all European parties combined in the European Parliament |
{{#invoke:European and national party data|main|european_entity|seats|none|EP}}
|
86 | number of seats not occupied by European parties in the European Parliament |
Type de données part de sieges
Code | Result | Output |
---|---|---|
{{#invoke:European and national party data|main|european_entity|seat share|EPP|EP|reference=yes}}
|
25.28 | share of seats of the European People's Party in the European Parliament, with reference |
{{#invoke:European and national party data|main|european_entity|seat share|ind|EUCO}}
|
18.52 | share of seats of independent politicians in the European Council |
{{#invoke:European and national party data|main|european_entity|seat share|ALDE|ms-lower-house}}
|
6.68 | share of seats of the Alliance of Liberals and Democrats for Europe in member states' lower houses |
{{#invoke:European and national party data|main|european_entity|seat share|Q208242|EC}}
|
40.74 | share of seats of the European People's Party (called by its Wikidata qID) in the European Commission |
{{#invoke:European and national party data|main|national_party|seat share|Q13564543|ms-lower-house}}
|
9.29 | share of seats of Austria's NEOS (called by its Wikidata qID) in the National Council |
{{#invoke:European and national party data|main|national_party|seat share|Q655611|ms-lower-house|constituency=61}}
|
4.92 | share of seats of Belgium's Écolo (called by its Wikidata qID) in the French-speaking seats of the Chamber of Representatives |
{{#invoke:European and national party data|main|national_party|seat share|Q49768|EP|reference=yes}}
|
14.58 | share of seats of the Social Democratic Party of Germany (called by its Wikidata qID) in the European Parliament, with reference |
{{#invoke:European and national party data|main|european_entity|seat share|all|EP}}
|
88.06 | share of seats of all European parties combined in the European Parliament |
Type de données barre de composition des sieges
Code | Result | Output |
---|---|---|
{{#invoke:European and national party data|main|european_entity|seat composition bar|EPP|EP|reference=yes}}
|
[3]
|
composition bar of seats of the European People's Party in the European Parliament, with reference |
{{#invoke:European and national party data|main|european_entity|seat composition bar|ind|EUCO|percent=yes}}
|
composition bar of seats of independent politicians in the European Council, with reference | |
{{#invoke:European and national party data|main|european_entity|seat composition bar|ALDE|ms-lower-house}}
|
composition bar of seats of the Alliance of Liberals and Democrats for Europe in member states' lower houses | |
{{#invoke:European and national party data|main|european_entity|seat composition bar|Q208242|EC|percent=yes|reference=yes}}
|
[4]
|
composition bar of seats of the European People's Party (called by its Wikidata qID) in the European Commission, with reference |
{{#invoke:European and national party data|main|national_party|seat composition bar|Q655611|ms-lower-house|constituency=61}}
|
composition bar of seats of Belgium's Écolo (called by its Wikidata qID) in the French-speaking seats of the Chamber of Representatives | |
{{#invoke:European and national party data|main|national_party|seat composition bar|Q49768|EP|width=80%|background-color=blue|border=green|bar-color=red}}
|
composition bar of seats of the Social Democratic Party of Germany (called by its Wikidata qID) in the European Parliament, with special parameters | |
{{#invoke:European and national party data|main|european_entity|seat composition bar|all|EP|width=80%|background-color=#FFFF00|border=#008080|bar-color=#A020F0}}
|
composition bar of seats of all European parties combined in the European Parliament, with special parameters |
Autres type de données
Code | Result | Output |
---|---|---|
{{#invoke:European and national party data|main|european_entity|acronym|EPP}}
|
PPE | acronym of the European People's Party |
{{#invoke:European and national party data|main|european_entity|color|PES}}
|
#F0001C | colour of the Party of European Socialists |
{{#invoke:European and national party data|main|european_entity|color|PES}}
|
Tchéquie | country of Levice (called by its Wikidata qID) |
{{#invoke:European and national party data|main|european_entity|foundation date|PES}}
|
10 novembre 1992 | foundation date of the Party of European Socialists |
{{#invoke:European and national party data|main|european_entity|individual members|EPP|reference=yes}}
|
25[5] | individual members of the European People's Party, with reference |
{{#invoke:European and national party data|main|european_entity|label|ALDE}}
|
Parti de l'Alliance des libéraux et des démocrates pour l'Europe | label of the Alliance of Liberals and Democrats for Europe |
{{#invoke:European and national party data|main|european_entity|official name|EGP}}
|
official name of the European Green Party | |
{{#invoke:European and national party data|main|european_entity|parliamentary group|EFA}}
|
Groupe des Verts/Alliance libre européenne | parliamentary group of the European Free Alliance |
{{#invoke:European and national party data|main|european_entity|public funding|EGP}}
|
171 460,56 euros | public funding of the European Green Party, with reference |
{{#invoke:European and national party data|main|national_party|website|Q667680}}
|
groenlinks.nl | website of the Netherlands' GroenLinks |
{{#invoke:European and national party data|main|national_party|official name|Q22748|verbose=yes}}
|
Error: {{Données des partis européens et nationaux}}: pas de données Wikidata disponibles pour P1448 ; voir https://www.wikidata.org/wiki/Q22748 (aide) | official name of Germany Die PARTEI, showing verbose error message |
- ↑ « PES in the EU institutions » (consulté le )
- ↑ « Sitzplan & Mandatsverteilung » (consulté le )
- ↑ « European People's Party », Autorité pour les partis politiques européens et les fondations politiques européennes (consulté le )
- ↑ « Parties and partners » (consulté le )
- ↑ « List of members as per Article 32(2) of Regulation 1141/2014 (English) » (consulté le )