Template:Infobox referendum/results and Template:Infobox referendum/results/sandbox: Difference between pages
(Difference between pages)
m (1 revision imported) |
m (1 revision imported) |
||
| Line 1: | Line 1: | ||
{| class="wikitable" style="text-align:right; width:27em; margin:0" | |||
{| class="wikitable" style="width: | |||
|- style="background-color:#EEEEEE" | |- style="background-color:#EEEEEE" | ||
{{#if: {{{yes|}}} | | {{#if: {{{yes|}}} | | ||
! style="width: 50%; {{!}} {{left| | ! style="width: 50%; {{!}} {{left|Response}} | ||
! scope="col" style="width: 25%" {{!}} Votes | ! scope="col" style="width: 25%" {{!}} Votes | ||
! scope="col" style="width: 25%" {{!}} % | ! scope="col" style="width: 25%" {{!}} % | ||
{{!}}- | {{!}}- | ||
{{#ifexpr: {{formatnum:{{{yes}}}|R}} > {{formatnum:{{{no}}}|R}} | | {{#ifexpr: {{formatnum:{{{yes}}}|R}} > {{formatnum:{{{no}}}|R}} | | ||
{{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|'''{{{yes_text}}}'''|[[ | {{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|'''{{{yes_text}}}'''|[[file:Check-71-128-204-brightblue.svg |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}}} }}''' | ||