Module:United Nations Security Council election results/doc
![]() | This is a documentation subpage for Module:United Nations Security Council election results. It may contain usage information, categories and other content that is not part of the original module page. |
![]() | This is a documentation subpage for Module:United Nations Security Council election results. It may contain usage information, categories and other content that is not part of the original module page. |
Usage
This module produces a table of results of elections of non-permanent members of the United Nations Security Council.
The numbered arguments contain the votes for the individual countries. Each numbered argument should be a colon-separated list, the last element of which is a comma-separated list of vote counts in the rounds of voting. The remaining elements are the name and arguments of a template to be called to display the country. Usually, this will just be the three-letter country code, so a typical argument would be ITA:65,108,128
, which displays the country as {{ITA}}
→ Italy. Some South American countries use a special state variant of their flag at the United Nations; the more general form of the argument allows for such variants; e.g.
flag:Peru:state:99,101
displays the country as {{flag|Peru|state}}
→ Peru.
The named arguments are as follows:
Parameter | Description | Status |
---|---|---|
valid
|
counts of valid ballots | required |
invalid
|
counts of invalid ballots | optional |
abstentions
|
counts of abstentions | required |
group
|
regional group(s) | required |
ref
|
content for reference tag | optional |
ref_name
|
name for reference tag | optional |
The counts are specified as comma-separated lists. The counts of valid ballots and abstentions are required; they are used to calculate the number of members present and voting (valid ballots minus abstentions) and the required two-thirds majority (two thirds of those present and voting, rounded up). The counts of invalid ballots may also be specified; they are only displayed if they are not all zero. If at least one of ref
and ref_name
is specified, a reference tag is inserted after the table's title. Any number of such reference tags can be produced using ref2
and/or ref_name2
etc. (with ref1
and ref_name1
being aliases for ref
and ref_name
, respectively).
The named arguments with counts must specify a count for each round. The numbered arguments may specify fewer counts; the remaining counts are taken to be zero. (This is useful when a country withdraws during the election.) Zero counts for countries (whether specified or not) are displayed as dashes; zero counts in named arguments are displayed as zeros. Country vote counts greater or equal to the required majority are displayed in bold.
Example
{{#invoke:United Nations Security Council election results|table
|ETH:185
|KAZ:113,138
|THA:77,55
|valid=192,193
|invalid=1,0
|abstentions=2,0
|group=African and Asia-Pacific Groups
|ref_name=ga
|ref={{UN document|docid=A/70/PV.106|body=A|session=70|type=V|meeting=106|meetingtime=10 a.m.|page=2|date=28 June 2016|accessdate=4 August 2024}}
}}
African and Asia-Pacific Groups election results[1] | ||
---|---|---|
Member | Round 1 | Round 2 |
![]() |
185 | — |
![]() |
113 | 138 |
![]() |
77 | 55 |
valid ballots | 192 | 193 |
invalid ballots | 1 | 0 |
abstentions | 2 | 0 |
present and voting | 190 | 193 |
required majority | 127 | 129 |
- ^ United Nations General Assembly Session 70 Verbatim record 106. A/70/PV.106 page 2. 28 June 2016 at 10 a.m. Retrieved accessdate.