Template:Infobox elections/Referendum/results: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with "{| class="wikitable" style="width:25em; margin:0 auto" |- style="background-color:#EEEEEE" {{#if: {{{yes|}}} | ! style="width: 50%; {{!}} {{left|Choice}} ! scope="col" style="width: 25%" {{!}} Votes ! scope="col" style="width: 25%" {{!}} % {{!}}- {{#ifexpr: {{formatnum:{{{yes}}}|R}} > {{formatnum:{{{no}}}|R}} | {{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|'''{{{yes_text}}}'''|File:Check-71-128-204-brightblue.svg |14px|link=|...") |
No edit summary |
||
Line 7: | Line 7: | ||
{{!}}- | {{!}}- | ||
{{#ifexpr: {{formatnum:{{{yes}}}|R}} > {{formatnum:{{{no}}}|R}} | | {{#ifexpr: {{formatnum:{{{yes}}}|R}} > {{formatnum:{{{no}}}|R}} | | ||
{{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|'''{{{yes_text}}}'''|[[File: | {{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|'''{{{yes_text}}}'''|[[File:Yes check.png |14px|link=|alt=]] '''Yes'''}} | ||
{{!}} style="text-align: right;margin-right: 0.5em" {{!}} '''{{formatnum: {{formatnum:{{{yes}}}|R}} }}''' | {{!}} style="text-align: right;margin-right: 0.5em" {{!}} '''{{formatnum: {{formatnum:{{{yes}}}|R}} }}''' | ||
{{!}} style="text-align: right;margin-right: 0.5em" {{!}} '''{{percentage| {{formatnum:{{{yes}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }}''' | {{!}} style="text-align: right;margin-right: 0.5em" {{!}} '''{{percentage| {{formatnum:{{{yes}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }}''' | ||
{{!}}- | {{!}}- | ||
{{!}} style="text-align: left;" {{!}} {{#if:{{{no_text|}}}|'''{{{no_text}}}'''| [[File: | {{!}} style="text-align: left;" {{!}} {{#if:{{{no_text|}}}|'''{{{no_text}}}'''| [[File:X mark.png |14px|link=|alt=]] '''No'''}} | ||
{{!}} style="text-align: right;" {{!}} {{formatnum: {{formatnum:{{{no}}}|R}} }} | {{!}} style="text-align: right;" {{!}} {{formatnum: {{formatnum:{{{no}}}|R}} }} | ||
{{!}} style="text-align: right;" {{!}} {{percentage| {{formatnum:{{{no}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} | {{!}} style="text-align: right;" {{!}} {{percentage| {{formatnum:{{{no}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} | ||
Line 27: | Line 27: | ||
}} | }} | ||
| | | | ||
{{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|{{{yes_text}}}|[[file: | {{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|{{{yes_text}}}|[[file:Yes check.png |14px|link=|alt=]] Yes}} | ||
{{!}} style="text-align: right;margin-right: 0.5em" {{!}} {{formatnum: {{formatnum:{{{yes}}}|R}} }} | {{!}} style="text-align: right;margin-right: 0.5em" {{!}} {{formatnum: {{formatnum:{{{yes}}}|R}} }} | ||
{{!}} style="text-align: right;margin-right: 0.5em" {{!}} {{percentage| {{formatnum:{{{yes}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} | {{!}} style="text-align: right;margin-right: 0.5em" {{!}} {{percentage| {{formatnum:{{{yes}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} | ||
{{!}}- | {{!}}- | ||
{{!}} style="text-align: left;" {{!}} {{#if:{{{no_text|}}}|{{{no_text}}}| [[File: | {{!}} style="text-align: left;" {{!}} {{#if:{{{no_text|}}}|{{{no_text}}}| [[File:X mark.png |14px|link=|alt=]] No}} | ||
{{!}} style="text-align: right;margin-right: 0.5em" {{!}} '''{{formatnum: {{formatnum:{{{no}}}|R}} }}''' | {{!}} style="text-align: right;margin-right: 0.5em" {{!}} '''{{formatnum: {{formatnum:{{{no}}}|R}} }}''' | ||
{{!}} style="text-align: right;margin-right: 0.5em" {{!}} '''{{percentage| {{formatnum:{{{no}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }}''' | {{!}} style="text-align: right;margin-right: 0.5em" {{!}} '''{{percentage| {{formatnum:{{{no}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }}''' |
Revision as of 16:17, 12 December 2024
Result not yet known |
[create] Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |