Difference between revisions of "Template:Infobox referendum/results"
From NSWiki
(Created page with "{| class="wikitable" style="text-align:right; width:25em; margin:0" |+ style="background-color:#f2f2f2;margin-bottom:-1px;border:1px solid #aaa;padding:.2em .4em" | Results |-...") |
m |
||
Line 8: | Line 8: | ||
{{!}}- | {{!}}- | ||
{{#ifexpr: {{formatnum:{{{yes}}}|R}} > {{formatnum:{{{no}}}|R}} | | {{#ifexpr: {{formatnum:{{{yes}}}|R}} > {{formatnum:{{{no}}}|R}} | | ||
− | {{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|'''{{{yes_text}}}'''|[[Image:Yes_check. | + | {{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|'''{{{yes_text}}}'''|[[Image: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}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }}''' | {{!}} style="text-align: right;margin-right: 0.5em" {{!}} '''{{percentage| {{formatnum:{{{yes}}}|R}} | {{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }}''' | ||
{{!}}- | {{!}}- | ||
− | {{!}} style="text-align: left;" {{!}} {{#if:{{{no_text|}}}|'''{{{no_text}}}'''|[[Image:X_mark.svg|14px|link=|alt=]] '''No'''}} | + | {{!}} style="text-align: left;" {{!}} {{#if:{{{no_text|}}}|'''{{{no_text}}}'''|[[Image:X_mark.svg.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}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} | {{!}} style="text-align: right;" {{!}} {{percentage| {{formatnum:{{{no}}}|R}} | {{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} |
Latest revision as of 02:28, 6 February 2017
Result not yet known |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |