Difference between revisions of "Template:Infobox multichoice referendum"
Jump to navigation
Jump to search
imported>Ahnoneemoos m (→top) |
imported>Ahnoneemoos (→top) |
||
| Line 12: | Line 12: | ||
| label3 = Voting system | | label3 = Voting system | ||
| data3 = {{{voting_system|}}} | | data3 = {{{voting_system|}}} | ||
| − | | header4 = {{#ifeq:{{{status|}}}|scheduled||{{#ifeq:{{{status|}}}|ongoing|Preliminary results|Results}}}} | + | | header4 = {{{part1_subject|{{#ifeq:{{{status|}}}|scheduled||{{#ifeq:{{{status|}}}|ongoing|Preliminary results|Results}}}}}}} |
| data5 = {{bar box | | data5 = {{bar box | ||
| border_width = 0 | | border_width = 0 | ||
| Line 19: | Line 19: | ||
| barwidth = {{{barwidth|60px}}} | | barwidth = {{{barwidth|60px}}} | ||
| bars= | | bars= | ||
| − | {{bar percent|barwidth={{{barwidth|60px}}}|{{{choice1|}}}|green|{{{percentage1|}}}}} | + | {{bar percent|barwidth={{{barwidth|60px}}}|{{{choice1|{{{part1_choice1|}}}}}}|{{{choice1_color|{{{part1_choice1_color|green}}}}}}|{{{percentage1|{{{part1_percentage1|}}}}}}}} |
| − | {{bar percent|barwidth={{{barwidth|60px}}}|{{{choice2|}}}|red|{{{percentage2|}}}}} | + | {{bar percent|barwidth={{{barwidth|60px}}}|{{{choice2|{{{part1_choice2|}}}}}}|{{{choice2_color|{{{part1_choice2_color|red}}}}}}|{{{percentage2|{{{part1_percentage2|}}}}}}}} |
| − | {{#if:{{{choice3|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice3|}}}|blue|{{{percentage3|}}}}}}} | + | {{#if:{{{choice3|{{{part1_choice3|}}}}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice3|{{{part1_choice3|}}}}}}|{{{choice3_color|{{{part1_choice3_color|blue}}}}}}|{{{percentage3|{{{part1_percentage3|}}}}}}}}}} |
| − | {{#if:{{{choice4|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice4|}}}|orange|{{{percentage4|}}}}}}} | + | {{#if:{{{choice4|{{{part1_choice4|}}}}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice4|{{{part1_choice4|}}}}}}|{{{choice4_color|{{{part1_choice4_color|orange}}}}}}|{{{percentage4|{{{part1_percentage4|}}}}}}}}}} |
| − | {{#if:{{{choice5|}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice5|}}}|teal|{{{ | + | {{#if:{{{choice5|{{{part1_choice5|}}}}}}|{{bar percent|barwidth={{{barwidth|60px}}}|{{{choice5|{{{part1_choice5|}}}}}}|{{{choice5_color|{{{part1_choice5_color|teal}}}}}}|{{{percentage5|{{{part1_percentage5|}}}}}}}}}} |
| − | | caption = {{{results_caption|}}} | + | | caption = {{{results_caption|{{{results1_caption|}}}}}} |
}} | }} | ||
| − | | header6 = Website | + | | header6 = {{{part2_subject|{{#ifeq:{{{status|}}}|scheduled||{{#ifeq:{{{status|}}}|ongoing|Preliminary results|Results}}}}}}} |
| + | | data7 = {{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|}}} | ||
| + | }} | ||
| + | | header8 = Website | ||
| below = {{{website|}}} | | below = {{{website|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||