{{i}} Документація шаблону[перегляд] [редагувати] [історія] [очистити кеш]



Використання

ред.

Для перенесення з англійської вікі можна використовувати Шаблон:Infobox election.

Відповідно від типу виборів необхідно використовувати певні поля.

{{Картка виборів
| election_name     = 
| country           = 
| flag_year         = 
| flag_image        = 
| type              = <!-- presidential, legislative, or parliamentary -->
| vote_type         = Popular <!-- default -->
| ongoing           = 
| party_colour      = 
| party_name        = 
| previous_election = 
| previous_year     = 
| previous_mps      = 
| election_date     = <!-- {{Start date|YYYY|MM|DD}} -->
| elected_mps       = 
| next_election     = 
| next_year         = 
| next_mps          =
| votes_for_election= 
| needed_votes      = 
| seats_for_election= 
| majority_seats    = 
| opinion_polls     = 
| turnout           = 
<!--        person 1        -->
| image1            = 
| colour1           = 
| nominee1          = <!-- presidential only, when appropriate, candidate1 can be used instead -->
| leader1           = <!-- legislative or parliamentary only-->
| party1            = 
| alliance1         = 
<!-- presidential -->
| home_state1       = 
| running_mate1     = 
| electoral_vote1   = 
| delegate_count1   = 
| states_carried1   = 
<!-- legislative or parliamentary -->
| leader_since1     = 
| leaders_seat1     = 
| last_election1    = 
| seats_before1     = 
| seats_needed1     = 
| seats1            = 
| seats_after1      = 
| seat_change1      = 
<!-- any -->
| popular_vote1     = 
| percentage1       = 
| swing1            = <!-- legislative or parliamentary only-->
<!--        person 2        -->
| image2            = 
| colour2           = 
| nominee2          = <!-- presidential only, when appropriate, candidate2 can be used instead -->
| leader2           = <!-- legislative or parliamentary only-->
| party2            = 
| alliance2         = 
<!-- presidential -->
| home_state2       = 
| running_mate2     = 
| electoral_vote2   = 
| delegate_count2   = 
| states_carried2   = 
<!-- legislative or parliamentary -->
| leader_since2     = 
| leaders_seat2     = 
| last_election2    = 
| seats_before2     = 
| seats_needed2     = 
| seats2            = 
| seats_after2      = 
| seat_change2      = 
<!-- any -->
| popular_vote2     = 
| percentage2       = 
| swing2            = <!-- legislative or parliamentary only-->
<!-- polls -->
| poll1_date        = 
| poll1_source      = 
| poll1_nominee1    = <!-- presidential only, when appropriate, poll1_candidate1 can be used instead -->
| poll1_party1      = <!-- legislative or parliamentary only-->
| poll1_nominee2    = <!-- presidential only, when appropriate, poll1_candidate2 can be used instead -->
| poll1_party2      = <!-- legislative or parliamentary only-->
| poll2_date        = 
| poll2_source      = 
| poll2_nominee1    = <!-- presidential only, when appropriate, poll2_candidate1 can be used instead -->
| poll2_party1      = <!-- legislative or parliamentary only-->
| poll2_nominee2    = <!-- presidential only, when appropriate, poll2_candidate2 can be used instead -->
| poll2_party2      = <!-- legislative or parliamentary only-->
<!-- auxiliary rows -->
| 1blank            = 
| 1data1            = 
| 1data2            = 
| 2blank            = 
| 2data1            = 
| 2data2            = 
<!-- map -->
| map_image         = 
| map_size          = 
| map_alt           = 
| map               = 
| map_caption       = 
<!-- bottom -->
| title             = 
| before_election   = 
| before_party      = 
| posttitle         = 
| after_election    = 
| after_party       = 
}}
*Non-optional fields.
† only displayed if the election is yet to take place.
‡ only displayed if the election has finished.

Див. також

ред.