Moderators, Administrators, verified
1,927
edits
mNo edit summary |
Tag: Undo |
||
Line 1:
<includeonly>{{infobox
| bodystyle = background:#ffffff; border-collapse:collapse; {{#switch: {{{float}}}
| left = margin: 0.5em 1em 0.5em 0; float:left; clear:left;
| none = float:none; clear:none; margin:0.5em 0.5em 0.5em 0
| right
| #default =
}}
| abovestyle = background-color:#eeeeee; font-size:135%; border-bottom: #aaa 1px solid; padding:0.25em;
| above = {{{name|}}}
| headerstyle = background-color:#ccc;
| subheaderstyle = padding:0.2em
| subheader = {{{title|}}}
| datastyle = padding:0.2em
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|240px}}}|alt={{{image_alt|}}}}}
| caption = {{{caption|}}}
| imagestyle = border-bottom: 1px solid #CCC
| label1 = Location
| class1 = location
| data1 = {{{location|}}}
| label2 = Date
| data2 = {{{date|}}}
| label3 = Voting system
| data3 = {{{voting_system|}}}
| data4 = {{#if:{{{yes|}}}{{{no|}}}{{{blank|}}}{{{other|}}}{{{total|}}}|{{Infobox referendum/results| yes_text = {{{yes_text|}}}| yes = {{{yes|}}}| no_text = {{{no_text|}}}| no = {{{no|}}}| blanktype = {{{blanktype|}}} |blank = {{{blank|}}}| othertype = {{{othertype|}}} | other = {{{other|}}} | {{#ifeq:{{{invalid|Ø}}}|Ø|Ø|invalid}} = {{{invalid|}}} | total= {{{total|}}}| totalref= {{{totalref|}}} | turnoutpct = {{{turnoutpct|}}}| electorate = {{{electorate|}}}| voter_registration = {{{voter_registration|}}} }}
}}
| data5 = {{#if:{{{
|map = {{{map}}}
|map_header = Results by {{#if:{{{mapdivision|}}} | {{{mapdivision}}} | county }}
|map_caption = {{{mapcaption|}}}
|detailed_legend = {{{detailed_legend|}}}
|legend_yes={{{legend_yes|#24B14C}}}
|legend_no={{{legend_no|#DF0A24}}}
|yes_text = {{{yes_text|Yes}}}
|no_text = {{{no_text|No}}}
| data6 = {{#if:{{{map2|}}}|{{Infobox referendum/map
|map = {{{map2}}}
|map_header = Results by {{#if:{{{mapdivision2|}}} | {{{mapdivision2}}} | county }}
|map_caption = {{{mapcaption2|}}}
|detailed_legend = {{{detailed_legend2|}}}
|legend_yes={{{legend_yes2|#24B14C}}}
|legend_no={{{legend_no2|#DF0A24}}}
|yes_text = {{{yes_text2|Yes}}}
|no_text = {{{no_text2|No}}}
}}}}
| header7 = {{{part1_subject|{{#if:{{{choice1|}}}{{{part1_choice1|}}}|Results|}}}}}
| data8 = {{#if:{{{part1_subject|}}}{{{choice1|}}}{{{part1_choice1|}}}|{{bar box
| border_width = 0
| background-color = transparent
| width = {{{width|240px}}}
| barwidth = {{{barwidth|60px}}}
| bars=
{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice1|{{{part1_choice1|}}}}}}|{{{choice1_color|{{{part1_choice1_color|green}}}}}}|{{{percentage1|{{{part1_percentage1|}}}}}}}}
{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice2|{{{part1_choice2|}}}}}}|{{{choice2_color|{{{part1_choice2_color|red}}}}}}|{{{percentage2|{{{part1_percentage2|}}}}}}}}
{{#if:{{{choice3|{{{part1_choice3|}}}}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice3|{{{part1_choice3|}}}}}}|{{{choice3_color|{{{part1_choice3_color|blue}}}}}}|{{{percentage3|{{{part1_percentage3|}}}}}}}}}}
{{#if:{{{choice4|{{{part1_choice4|}}}}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice4|{{{part1_choice4|}}}}}}|{{{choice4_color|{{{part1_choice4_color|orange}}}}}}|{{{percentage4|{{{part1_percentage4|}}}}}}}}}}
{{#if:{{{choice5|{{{part1_choice5|}}}}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice5|{{{part1_choice5|}}}}}}|{{{choice5_color|{{{part1_choice5_color|teal}}}}}}|{{{percentage5|{{{part1_percentage5|}}}}}}}}}}
| caption = {{{results_caption|{{{results1_caption|{{{part1_caption|}}}}}}}}}
}}|}}
| header9 = {{{part2_subject|}}}
| data10 = {{#if:{{{part2_subject|}}}|{{bar box
| border_width = 0
| background-color = transparent
| width = {{{width|240px}}}
| barwidth = {{{barwidth|60px}}}
| bars=
{{bar percent|barwidth={{{barwidth|60px}}}|{{{part2_choice1|}}}|{{{part2_choice1_color|green}}}|{{{part2_percentage1|}}}}}
{{bar percent|barwidth={{{barwidth|60px}}}|{{{part2_choice2|}}}|{{{part2_choice2_color|red}}}|{{{part2_percentage2|}}}}}
{{#if:
{{#if:{{{part2_choice4|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{part2_choice4|}}}|{{{part2_choice4_color|orange}}}|{{{part2_percentage4|}}}}}}}
{{#if:{{{part2_choice5|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{part2_choice5|}}}|{{{part2_choice5_color|teal}}}|{{{part2_percentage5|}}}}}}}
| caption = {{{results2_caption|{{{part2_caption|}}}}}}
}}|}}
| header11 = {{{part3_subject|}}}
| data12 = {{#if:{{{part3_subject|}}}|{{bar box
| border_width = 0
| background-color = transparent
| width = {{{width|240px}}}
| barwidth = {{{barwidth|60px}}}
| bars=
{{bar percent|barwidth={{{barwidth|60px}}}|{{{part3_choice1|}}}|{{{part3_choice1_color|green}}}|{{{part3_percentage1|}}}}}
{{bar percent|barwidth={{{barwidth|60px}}}|{{{part3_choice2|}}}|{{{part3_choice2_color|red}}}|{{{part3_percentage2|}}}}}
{{#if:{{{part3_choice3|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{part3_choice3|}}}|{{{part3_choice3_color|blue}}}|{{{part3_percentage3|}}}}}}}
{{#if:{{{part3_choice4|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{part3_choice4|}}}|{{{part3_choice4_color|orange}}}|{{{part3_percentage4|}}}}}}}
{{#if:{{{part3_choice5|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{part3_choice5|}}}|{{{part3_choice5_color|teal}}}|{{{part3_percentage5|}}}}}}}
| caption = {{{results3_caption|{{{part3_caption|}}}}}}
}}|}}
| header13 = {{{part4_subject|}}}
| data14 = {{#if:{{{part4_subject|}}}|{{bar box
| border_width = 0
| background-color = transparent
| width = {{{width|240px}}}
| barwidth = {{{barwidth|60px}}}
| bars=
{{bar percent|barwidth={{{barwidth|60px}}}|{{{part4_choice1|}}}|{{{part4_choice1_color|green}}}|{{{part4_percentage1|}}}}}
{{bar percent|barwidth={{{barwidth|60px}}}|{{{part4_choice2|}}}|{{{part4_choice2_color|red}}}|{{{part4_percentage2|}}}}}
{{#if:{{{part4_choice3|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{part4_choice3|}}}|{{{part4_choice3_color|blue}}}|{{{part4_percentage3|}}}}}}}
{{#if:{{{part4_choice4|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{part4_choice4|}}}|{{{part4_choice4_color|orange}}}|{{{part4_percentage4|}}}}}}}
{{#if:{{{part4_choice5|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{part4_choice5|}}}|{{{part4_choice5_color|teal}}}|{{{part4_percentage5|}}}}}}}
| caption = {{{results4_caption|{{{part4_caption|}}}}}}
}}|}}
|label15 = Outcome
|data15 = {{{outcome|}}}
| belowstyle = text-align:left; background:#fafafa; border-top: #aaa 1px solid; padding:0.2em;
| below = {{br separated entries
| 1 = {{#if:{{{website|}}}|'''Website''': {{{website}}}}}
| 2 = {{{notes|}}}
}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
|