Khác biệt giữa bản sửa đổi của “Bản mẫu:Infobox referendum/results”

Nội dung được xóa Nội dung được thêm vào
Không có tóm lược sửa đổi
Thẻ: Sửa đổi di động Sửa đổi từ trang di động Sửa đổi di động nâng cao
Cập nhật bên en
Thẻ: Sửa đổi di động Sửa đổi từ trang di động Sửa đổi di động nâng cao
Dòng 76:
{{documentation}}
</noinclude>
 
 
 
{| border="1" cellpadding="4" cellspacing="0" style="width:25em; margin: 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;"
|- style="text-align: center; background-color:#E9E9E9"
! colspan="3" | Kết quả
{{!}}- bgcolor="#EEEEEE"
{{#if: {{{yes|}}} |
! style="width: 17em" {{!}} Đồng ý<br> hoặc từ chối
! style="width: 5em" {{!}} Số phiếu
! style="width: 7em" {{!}} Tỷ lệ
{{!}}-
{{#ifexpr: {{formatnum:{{{yes}}}|R}} > {{formatnum:{{{no}}}|R}} |
{{!}} style="text-align: left;" {{!}} [[Image:Yes_check.svg|14px|link=]] '''Đồng ý'''
{{!}} 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}} }} | 2 }}'''
{{!}}-
{{!}} style="text-align: left;" {{!}} [[Image:X_mark.svg|14px|link=]] Từ chối
{{!}} align="right" {{!}} {{formatnum: {{formatnum:{{{no}}}|R}} }}
{{!}} align="right" {{!}} {{percentage| {{formatnum:{{{no}}}|R}} | {{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | 2 }}
{{!}}-
{{#if:{{{other|}}}|
{{!}} style="text-align: left;" {{!}} {{#if:{{{othertype|}}}|{{{othertype}}}|Khác}}
{{!}} align="right" {{!}} {{formatnum: {{formatnum:{{{other}}}|R}} }}
{{!}} align="right" {{!}} {{percentage| {{formatnum:{{{other}}}|R}} | {{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | 2 }}
}}
|
{{!}} style="text-align: left;" {{!}} [[Image:Yes_check.svg|14px|link=]] Đồng ý
{{!}} 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}} }} | 2 }}
{{!}}-
{{!}} style="text-align: left;" {{!}} [[Image:X_mark.svg|14px|link=]] '''Từ chối'''
{{!}} 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}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | 2 }}'''
{{!}}-
{{#if:{{{other|}}}|
{{!}} style="text-align: left;" {{!}} {{#if:{{{othertype|}}}|{{{othertype}}}|Khác}}
{{!}} align="right" {{!}} {{formatnum: {{formatnum:{{{other}}}|R}} }}
{{!}} align="right" {{!}} {{percentage| {{formatnum:{{{other}}}|R}} | {{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | 2 }}
}}
}}
{{!}}- bgcolor="#EEEEEE"
{{#if: {{{total|}}}{{{invalid|}}} |
{{#if:{{{invalid|Ø}}}|
{{!}} style="text-align: right" {{!}} Phiếu hợp lệ
{{!}} align="right" {{!}} {{formatnum: {{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} }}
{{!}} align="right" {{!}} {{percentage| {{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} | {{formatnum:{{#if:{{{total|}}}|{{{total}}}|{{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} + {{formatnum:{{{invalid}}}|R}} }}}}|R}} | 2 }}
{{!}}- bgcolor="#EEEEEE"
{{!}} style="text-align: right" {{!}} Phiếu không hợp lệ hoặc trống
{{!}} align="right" {{!}} {{formatnum: {{{invalid|{{#expr: {{formatnum:{{{total}}}|R}} - {{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} }}}}} }}
{{!}} align="right" {{!}} {{percentage| {{formatnum:{{{invalid|{{#expr: {{formatnum:{{{total}}}|R}} - {{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} }} }}}}}|R}} | {{formatnum:{{#if:{{{total|}}}|{{{total}}}|{{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} + {{formatnum:{{{invalid}}}|R}} }}}}|R}} | 2 }}
}}
{{!}}- bgcolor="#EEEEEE"
{{!}} style="text-align: right; margin-right: 0.5em" {{!}} '''Tổng số phiếu'''{{{totalref|}}}
{{!}} align="right" {{!}} '''{{formatnum:{{#if:{{{total|}}}|{{{total}}}|{{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} + {{formatnum:{{{invalid}}}|R}} }}}} }}'''
{{!}} align="right" {{!}} '''100.00%'''
}}|
{{!}}-
{{!}} colspan="3" align="center" {{!}} '''Kết quả chưa được biết'''
}}
|- bgcolor="#EEEEEE"
{{#if: {{both|{{{electorate|}}}|{{{total|}}}{{{invalid|}}}}}{{{turnoutpct|}}} |
{{!}} style="text-align: right" {{!}} Tỉ lệ tham gia
{{!}} colspan="2" align="right" {{!}} {{#if:{{{turnoutpct|}}}|{{{turnoutpct}}}%|{{percentage| {{formatnum:{{#if:{{{total|}}}|{{{total}}}|{{#expr: {{formatnum:{{{yes}}}|R}} + {{formatnum:{{{no}}}|R}} + {{formatnum:{{#if:{{{other|}}}|{{{other}}}|0}}|R}} + {{formatnum:{{{invalid}}}|R}} }}}}|R}} | {{formatnum:{{{electorate}}}|R}} | 2 }}}}
}}
|- bgcolor="#EEEEEE"
{{#if: {{{electorate|}}} |
{{!}} style="text-align: right" {{!}} Tổng số cử tri
{{!}} colspan="2" align="right" {{!}} {{formatnum: {{{electorate}}} }}
}}
|}