Template:Infobox WA resolution/doc: Difference between revisions

From IDU Wiki
Jump to navigation Jump to search
m (1 revision imported)
 
No edit summary
Line 5: Line 5:


== Usage ==
== Usage ==
{{Generic template demo |_display=italics |meeting |code |document |subject |for=[{{thinsp|''for''}}] |against=[{{thinsp|''against''}}] |abstention=[{{thinsp|''abstention''}}] |absent=[{{thinsp|''absent''}}] |presentnotvoting={{smaller|[{{thinsp|''presentnotvoting''}}]}} |result}}
{{Generic template demo |_display=italics |meeting |code |document |subject |for=[{{thinsp|''for''}}] |against=[{{thinsp|''against''}}] |abstention=[{{thinsp|''abstention''}}] |absent=[{{thinsp|''absent''}}] |result}}
{{clear}}
{{clear}}


Line 23: Line 23:
     "date": {
     "date": {
       "required": true,
       "required": true,
       "description": "The date and month the resolution was voted on"
       "description": "The date and month the resolution was passed"
     },
     },
     "year": {
     "year": {
       "required": true,
       "required": true,
       "description": "The year the resolution was voted on"
       "description": "The year the resolution was voted on"
     },
      
    "meeting": {
      "description": "The number of the meeting"
     },
     },
     "code": {
     "code": {
       "description": "The official code given to the resolution"
      "required": true,
       "description": "The official code given to the resolution (e.g. GA#30)"
     },
     },
     "document": {
     "document": {
       "description": "A link to the resolution text, preferably from the UN website"
       "description": "A link to the resolution text"
     },
     },
     "for": {
     "for": {
Line 43: Line 42:
     },
     },
     "abstention": {
     "abstention": {
      "required": true,
       "description": "How many member states abstained"
       "description": "How many member states abstained"
     },
     },
     "absent": {
     "absent": {
       "description": "How many member states were absent"
       "description": "How many member states were absent"
    },
    "presentnotvoting": {
      "description": "How many member states were present not voting"
     },
     },
     "against": {
     "against": {
Line 56: Line 51:
       "description": "How many member states voted against the resolution"
       "description": "How many member states voted against the resolution"
     },
     },
     "subject": {
     "title": {
       "description": "The subject of the resolution"
       "description": "The title of the resolution"
     },
     },
     "result": {
     "result": {
       "required": true,
       "required": true,
       "description": "Use 'Adopted', 'Failed' or 'Vetoed by <country>'"
       "description": "Use 'Adopted', 'Failed' or 'Discarded by [[World Assembly Secretariat|Secretariat]]'"
     },
     },
     "image": {
     "image": {
Line 84: Line 79:
| date =
| date =
| year =
| year =
| meeting =
| code =
| code =
| document =
| document =
Line 90: Line 84:
| abstention =
| abstention =
| absent =
| absent =
| presentnotvoting =
| against =
| against =
| subject =
| title =
| result =
| result =
| image =
| image =
Line 101: Line 94:
===Example===
===Example===
{{Infobox UN resolution
{{Infobox UN resolution
| number = 2017
| number = 432
| organ = SC
| organ = GA
| date = 31 October
| date = 07 June
| year = 2011
| year = 2018
| meeting = 6,644
| code = GA#432
| code = S/RES/2017
| document =  
| document =  
| for = 15
| for = 11,231
| abstention = 0
| against = 6,925
| against = 0
| subject = Preventing Desertification
| subject = {{nowrap|[[Libya]]n situation}}
| result = Adopted
| result = Adopted
| image =  
| image =  
Line 119: Line 110:
<pre>
<pre>
{{Infobox UN resolution
{{Infobox UN resolution
| number = 2017
| number = 432
| organ = SC
| organ = GA
| date = 31 October
| date = 07 June
| year = 2011
| year = 2018
| meeting = 6,644
| code = GA#432
| code = S/RES/2017
| document =  
| document =  
| for = 15
| for = 11,231
| abstention = 0
| against = 6,925
| against = 0
| subject = Preventing Desertification
| subject = {{nowrap|[[Libya]]n situation}}
| result = Adopted
| result = Adopted
| image =  
| image =  
Line 136: Line 125:
</pre>
</pre>
{{clear}}
{{clear}}
==Tracking category==
*{{clc|Pages using infobox UN resolution with unknown parameters}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:United Nations templates]]
}}</includeonly>

Revision as of 17:51, 17 June 2018

This template can be used to display a summary of United Nations Security Council and General Assembly resolutions.

Usage

WA (World Assembly)
Resolution {{{number}}}
Date{{{date}}} {{{year}}}
Codecode ([document Document])
Voting summary
[for ] voted for
[against ] voted against
[abstention ] abstained
[absent ] absent
Resultresult

Parameters

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox WA resolution

No description.

Template parameters

ParameterDescriptionTypeStatus
numbernumber

The number of the resolution

Unknownrequired
organorgan

Use 'SC' for Security Council or 'GA' for General Assembly

Unknownrequired
datedate

The date and month the resolution was passed

Unknownrequired
yearyear

The year the resolution was voted on

Unknownrequired
codecode

The official code given to the resolution (e.g. GA#30)

Unknownrequired
documentdocument

A link to the resolution text

Unknownoptional
forfor

How many member states voted for the resolution

Unknownrequired
abstentionabstention

How many member states abstained

Unknownoptional
absentabsent

How many member states were absent

Unknownoptional
againstagainst

How many member states voted against the resolution

Unknownrequired
titletitle

The title of the resolution

Unknownoptional
resultresult

Use 'Adopted', 'Failed' or 'Discarded by [[World Assembly Secretariat|Secretariat]]'

Unknownrequired
imageimage

A suitable image

Unknownoptional
captioncaption

A caption for the image

Unknownoptional
votemapvotemap

A map of the vote

Unknownoptional

Syntax

{{Infobox UN resolution
| number =  
| organ =
| date =
| year =
| code =
| document =
| for =
| abstention =
| absent =
| against =
| title =
| result =
| image =
| caption =
}}

Example

WA General Assembly
Resolution 432
Date07 June 2018
CodeGA#432 ([ Document])
Voting summary
11,231 voted for
6,925 voted against
ResultAdopted
{{Infobox UN resolution
| number = 432
| organ = GA
| date = 07 June
| year = 2018
| code = GA#432
| document = 
| for = 11,231
| against = 6,925
| subject = Preventing Desertification
| result = Adopted
| image = 
| caption = 
}}