Template:Presidential Election: Difference between revisions

mNo edit summary
mNo edit summary
Line 23: Line 23:
{| style="table-layout: fixed;width:100%;height: auto;"
{| style="table-layout: fixed;width:100%;height: auto;"
| colspan="1" style="width:33%;{{#if:{{{ongoing|}}}||display:none;}}" | '''Completion rate'''
| colspan="1" style="width:33%;{{#if:{{{ongoing|}}}||display:none;}}" | '''Completion rate'''
| colspan="2" style="width:67%;{{#if:{{{ongoing|}}}||display:none;}}" |<span style="margin:auto;">{{#if:{{{ongoing|}}}|{{PercentageBox|#1BCE0E|{{#expr: ({{#time: U|{{CurrentTime}} }} - {{#time: U|{{{start_timestamp}}} }}) / ({{#time: U|{{{end_timestamp}}} }} - {{#time: U|{{{start_timestamp}}} }}) * 100 round 2 }}%}}|}}<br>as of '''{{CURRENTTIME}} GMT'''</span>
| colspan="2" style="width:67%;{{#if:{{{ongoing|}}}||display:none;}}" |<span style="margin: 0 auto;">{{#if:{{{ongoing|}}}|{{PercentageBox|#1BCE0E|{{#expr: ({{#time: U|{{CurrentTime}} }} - {{#time: U|{{{start_timestamp}}} }}) / ({{#time: U|{{{end_timestamp}}} }} - {{#time: U|{{{start_timestamp}}} }}) * 100 round 2 }}%}}|}}<br>as of '''{{CURRENTTIME}} GMT'''</span>
|}
|}
|-
|-