Template:Infobox referendum: Difference between revisions

From RoPlay
Jump to navigation Jump to search
No edit summary
No edit summary
Line 30: Line 30:
{| class="wikitable" style="margin-left: auto; margin-right: auto;width:99%;"
{| class="wikitable" style="margin-left: auto; margin-right: auto;width:99%;"
|-
|-
! Party !! Leader !! % !! Seats !! +/–
! Choice !! Votes !! %
|- style = "{{#if:{{{party1|}}}{{{name1|}}}{{{percentage1|}}}{{{seatswon1|}}}{{{seatchange1|}}}| |display:none;}} border-left: 4px solid {{{color1|}}}"
|- style = "{{#if:{{{party1|}}}{{{name1|}}}{{{percentage1|}}}{{{seatswon1|}}}{{{seatchange1|}}}| |display:none;}} border-left: 4px solid {{{color1|}}}"
| yes1 || yes2 || yes3 || yes4 || yes5
| yes1 || yes2 || yes3 || yes4 || yes5

Revision as of 18:17, 22 September 2024

Infobox referendum
Turnout
Choice Votes %
yes1 yes2 yes3 yes4 yes5
{{{map_image}}}
{{{officer}}} before
{{{old}}}
{{{officer}}} after
{{{new}}}

For if the other election templates dont work. This one holds up to 12 parties! Can be used for mearly any election. Template is below with values shown here.

Infobox referendum
Turnout
Choice Votes %
yes1 yes2 yes3 yes4 yes5
{{{officer}}} before
{{{old}}}
{{{officer}}} after
{{{new}}}

Example usage:

{{Infobox referendum
|yes=1500
|yes_percentage=50%
|no=1500
|no_percentage=50%
}}