Difference between revisions of "Template:Infobox multichoice referendum"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (adding a maintenance category for curiosity)
imported>Primefac
(execute merger/redirect)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{infobox
+
#REDIRECT [[Template:Infobox referendum]]
| abovestyle = background-color:#eeeeee; font-size:135%; border-bottom: #aaa 1px solid; padding:0.25em;
+
{{r from merge}}
| above = {{{name|}}}
 
| subheaderstyle = padding:0.2em
 
| subheader = {{{title|}}}
 
 
 
| headerstyle = background-color:#ccc;
 
| labelstyle = white-space: nowrap
 
| datastyle = text-align: left
 
| image = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{image_width|240px}}}|{{{image_alt|}}}]]}}
 
| caption = {{{caption|}}}
 
| imagestyle = border-bottom: 1px solid #CCC
 
| label1 = Date
 
| data1= {{{date|}}}
 
| label2 = Location
 
| data2 = {{{location|}}}
 
| label3 = Voting system
 
| data3 = {{{voting_system|}}}
 
| header4 = {{{part1_subject|{{#ifeq:{{{status|}}}|scheduled||{{#ifeq:{{{status|}}}|ongoing|Preliminary results|Results}}}}}}}{{#if:{{{status|}}}|[[Category:referendum templates that use status]]}}
 
| data5 = {{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|}}}}}}}}}
 
}}
 
| header6 = {{{part2_subject|}}}
 
| data7 = {{#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:{{{part2_choice3|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{part2_choice3|}}}|{{{part2_choice3_color|blue}}}|{{{part2_percentage3|}}}}}}}
 
{{#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|}}}}}}
 
}}|}}
 
| header8 = {{{part3_subject|}}}
 
| data9 = {{#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|}}}}}}
 
}}|}}
 
| header10 = {{{part4_subject|}}}
 
| data11 = {{#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|}}}}}}
 
}}|}}
 
| header12 = {{#if:{{{website|}}}|Website}}
 
| below = {{{website|}}}
 
}}</includeonly><noinclude>
 
{{being merged|2014 March 17|merge=Template:Infobox referendum}}
 
{{documentation}}
 
</noinclude>
 

Latest revision as of 21:54, 17 February 2016

  • From a merge: This is a redirect from a page that was merged into another page. This redirect was kept in order to preserve this page's edit history after its content was merged into the target page's content. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated) or delete this page.