Jump to content

Шаблон:Infobox multichoice referendum

Мавод аз Википедиа — донишномаи озод
Ҳуҷҷатгузорӣ

Purpose

This template is meant to deprecate {{infobox referendum}} which works but only for referendums with polar questions and with only one question. This template can handle both: polar and non-polar questions, as well as referendums having multiple questions. The template also provides a visual aid by using horizontal bars to denote votes.

Parameters

{{Infobox multichoice referendum
| title = 
| image = 
| image_width = 
| image_alt = 
| caption = 
| location = 
| date = <!-- {{Start date and years ago|YYYY|MM|DD}} -->
| voting_system = 
| width = 
| barwidth = 
| status = 
| part1_subject = 
| part1_choice1 = 
| part1_percentage1 = 
| part1_color1 = 
| part1_choice2 = 
| part1_percentage2 = 
| part1_color2 = 
| part1_choice3 = 
| part1_percentage3 = 
| part1_color3 = 
| part1_choice4 =
| part1_percentage4 = 
| part1_color4 = 
| part1_choice5 =
| part1_percentage5 = 
| part1_color5 = 
| part1_caption = 
| part2_subject = 
| part2_choice1 = 
| part2_percentage1 = 
| part2_color1 = 
| part2_choice2 = 
| part2_percentage2 = 
| part2_color2 = 
| part2_choice3 = 
| part2_percentage3 = 
| part2_color3 = 
| part2_choice4 =
| part2_percentage4 = 
| part2_color4 = 
| part2_choice5 =
| part2_percentage5 = 
| part2_color5 = 
| part2_caption = 
| website = 
}}

Examples

{{Infobox multichoice referendum
| title = Crimean referendum, 2014
| location = [[Crimea]], [[Ukraine]]
| date = {{Start date and years ago|2014|03|16|df=y}}  
| image = Crimea location map.svg
| caption = The peninsula of Crimea and its local administrative subdivisions
| status = ongoing
| choice1 = Join the Russian Federation
| percentage1 = 90
| choice2 = Restore the 1992 Constitution and its status within Ukraine
| percentage2 = 10
| choice3 = Blank votes
| percentage3 = 0
| choice4 = Invalid
| percentage4 = 0
| website = [http://referendum2014.ru referendum2014.ru]
}}

Documentation

  • status:
    • scheduled does not display the header for 'Results'
    • ongoing displays the header as 'Preliminary results'
    • default value is to display the header as 'Results'
    • parameter is ignored if the part1_subject parameter is assigned any value

See also