匿名用戶
「模板:Infobox referendum/results」:修訂間差異
無編輯摘要
imported>Ericchiueric (建立內容為「<includeonly>{{#switch: {{{float|}}} | left |right=|#default=<table style="margin:{{#ifeq:{{{float|}}}|center|0 auto|0}}; border:none;"><tr><td style="border:none; padding:0;">}}<div class="barbox {{#switch: {{{float|}}} | left = tleft | right = tright|center|none=tnone}}" style="overflow-x: auto;{{{style|}}}"> <div style="border:{{{border_width|1}}}px solid silver; font-size:88%; padding:0.4em; width:{{{width|auto}}}; background: {{{background-color|white}}…」的新頁面) |
imported>Ericchiueric 無編輯摘要 |
||
第1行: | 第1行: | ||
{| class="wikitable" style="text-align:right; width:25em; margin:0" | |||
|+ style="background-color:#f2f2f2;margin-bottom:-1px;border:1px solid #aaa;padding:.2em .4em" | 結果 | |||
|- style="background-color:#EEEEEE" | |||
{{#if:{{{ | {{#if: {{{yes|}}} | | ||
{{!}} style="width: 17em; background-color:#f2f2f2" {{!}} | |||
! scope="col" style="width: 5em" {{!}} 票數 | |||
! scope="col" style="width: 7em" {{!}} % | |||
{{!}}- | |||
{{#ifexpr: {{formatnum:{{{yes}}}|R}} > {{formatnum:{{{no}}}|R}} | | |||
{{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|'''{{{yes_text}}}'''|[[Image:Yes_check.svg|14px|link=|alt=]] '''同意'''}} | |||
{{!}} 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: left;" {{!}} {{#if:{{{no_text|}}}|'''{{{no_text}}}'''|[[Image:X_mark.svg|14px|link=|alt=]] '''不同意'''}} | |||
{{!}} 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}}} }} | |||
{{!}}- | |||
{{#if:{{{blank|}}}| | |||
{{!}} style="text-align: left;" {{!}} {{#if:{{{blanktype|}}}|{{{blanktype}}}|空白票}} | |||
{{!}} style="text-align: right;" {{!}} {{formatnum: {{formatnum:{{{blank}}}|R}} }} | |||
{{!}} style="text-align: right;" {{!}} {{percentage| {{formatnum:{{{blank}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} | |||
}} | }} | ||
{{!}}- | |||
{{#if:{{{other|}}}| | |||
{{#if:{{{ | {{!}} style="text-align: left;" {{!}} {{#if:{{{othertype|}}}|{{{othertype}}}|其他}} | ||
{{!}} style="text-align: right;" {{!}} {{formatnum: {{formatnum:{{{other}}}|R}} }} | |||
{{!}} style="text-align: right;" {{!}} {{percentage| {{formatnum:{{{other}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} | |||
}} | }} | ||
| | |||
{{!}} style="text-align: left;" {{!}} {{#if:{{{yes_text|}}}|{{{yes_text}}}|[[Image:Yes_check.svg|14px|link=|alt=]] 同意}} | |||
{{#if:{{{ | {{!}} 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: left;" {{!}} {{#if:{{{no_text|}}}|{{{no_text}}}|[[Image:X_mark.svg|14px|link=|alt=]] 不同意}} | |||
{{!}} 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}}} }}''' | |||
{{!}}- | |||
{{#if:{{{blank|}}}| | |||
{{!}} style="text-align: left;" {{!}} {{#if:{{{blanktype|}}}|{{{blanktype}}}|空白票}} | |||
{{!}} style="text-align: right;" {{!}} {{formatnum: {{formatnum:{{{blank}}}|R}} }} | |||
{{!}} style="text-align: right;" {{!}} {{percentage| {{formatnum:{{{blank}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} | |||
}} | }} | ||
{{!}}- | |||
{{{ | {{#if:{{{other|}}}| | ||
{{#if:{{{ | {{!}} style="text-align: left;" {{!}} {{#if:{{{othertype|}}}|{{{othertype}}}|其他}} | ||
{{!}} style="text-align: right;" {{!}} {{formatnum: {{formatnum:{{{other}}}|R}} }} | |||
{{!}} style="text-align: right;" {{!}} {{percentage| {{formatnum:{{{other}}}|R}} | {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | pad = {{{pct_prec|2}}} }} | |||
}} | }} | ||
}} | |||
{{!}}- style="background-color:#EEEEEE" | |||
{{#if: {{{total|}}}{{{invalid|}}} | | |||
{{#if:{{{invalid|Ø}}}| | |||
{{!}} style="text-align: left" {{!}} 有效票 | |||
{{!}} style="text-align: right;" {{!}} {{formatnum: {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} }} | |||
{{!}} style="text-align: right;" {{!}} {{percentage| {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | {{formatnum:{{#if:{{{total|}}}|{{formatnum:{{{total}}}|R}}|{{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}} + {{{invalid}}}|R}} }}}}|R}} | pad = {{{pct_prec|2}}} }} | |||
{{!}}- style="background-color:#EEEEEE" | |||
{{!}} style="text-align: left" {{!}} 無效{{#ifeq:{{{othertype|}}}|空白票| |{{#if:{{{blank|}}}| |或空白}} }}票 | |||
{{!}} style="text-align: right;" {{!}} {{formatnum: {{formatnum: {{{invalid|{{#expr: {{formatnum:{{{total}}}|R}} - {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} }}}}} |R}} }} | |||
{{!}} style="text-align: right;" {{!}} {{percentage| {{formatnum:{{{invalid|{{#expr: {{formatnum:{{{total}}}|R}} - {{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} }}}}}|R}} | {{formatnum:{{#if:{{{total|}}}|{{formatnum:{{{total}}}|R}}|{{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}} + {{{invalid}}}|R}} }}}}|R}} | {{{pct_prec|2}}} | pad = {{{pct_prec|2}}} }} | |||
}} | |||
{{!}}- style="background-color:#EEEEEE" | |||
{{!}} style="text-align: left" {{!}} '''總票數'''{{{totalref|}}} | |||
{{!}} style="text-align: right;" {{!}} '''{{formatnum:{{#if:{{{total|}}}|{{formatnum:{{{total}}}|R}}|{{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}} + {{{invalid}}}|R}} }}}} }}''' | |||
{{!}} style="text-align: right;" {{!}} '''100.00%''' | |||
}}| | |||
{{!}}- | |||
{{!}} colspan="3" {{unk|結果不明}} | |||
}} | |||
|- style="background-color:#EEEEEE" | |||
{{#if: {{both|{{{electorate|}}}|{{{total|}}}{{{invalid|}}}}}{{{turnoutpct|}}} | | |||
{{!}} style="text-align: left" {{!}} {{#ifeq:{{{voter_registration|}}}|no|投票資格|已登記選民}}/投票率 | |||
{{!}} style="text-align: right;" {{!}} {{formatnum: {{formatnum:{{{electorate|}}}|R}} }} | |||
{{!}} style="text-align: right;" {{!}} {{#if:{{{turnoutpct|}}}|{{{turnoutpct}}}%|{{percentage| {{formatnum:{{#if:{{{total|}}}|{{formatnum:{{{total}}}|R}}|{{#expr: {{formatnum:{{{yes}}} + {{{no}}} + {{#if:{{{blank|}}}|{{{blank}}}|0}} + {{#if:{{{other|}}}|{{{other}}}|0}} + {{{invalid}}}|R}} }}}}|R}} | {{formatnum:{{{electorate}}}|R}} | 2 }}}} | |||
}} | |||
|}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |