Editing Template:VoteSummary
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 9: | Line 9: | ||
{{#ifeq:{{{keep|0}}}|0|| {{!}} {{keep}} Votes}} | {{#ifeq:{{{keep|0}}}|0|| {{!}} {{keep}} Votes}} | ||
{{#ifeq:{{{delete|0}}}|0|| {{!}} {{delete}} Votes}} |- valign="top" | {{#ifeq:{{{delete|0}}}|0|| {{!}} {{delete}} Votes}} |- valign="top" | ||
{{#ifeq:{{{support|0}}}|0|| {{!}} {{#ifeq:{{#expr:{{#expr:({{{support}}} / {{{totalvotes}}} | {{#ifeq:{{{support|0}}}|0|| {{!}} {{#ifeq:{{#expr:{{#expr:({{{support}}} / {{{totalvotes}}} * 100}} >= 80}}|1|class="infoboxheader"}} align="center" {{!}} {{{support}}} ({{roundup|{{#expr:({{{support}}} / {{{totalvotes}}}) * 100}}}}%) }} | ||
{{#ifeq:{{{oppose|0}}}|0|| {{!}} {{#ifeq:{{#expr:{{#expr:({{{oppose}}} / {{{totalvotes}}} | {{#ifeq:{{{oppose|0}}}|0|| {{!}} {{#ifeq:{{#expr:{{#expr:({{{oppose}}} / {{{totalvotes}}} * 100}} >= 80}}|1|class="infoboxheader"}} align="center" {{!}} {{{oppose}}} ({{roundup|{{#expr:({{{oppose}}} / {{{totalvotes}}}) * 100}}}}%) }} | ||
{{#ifeq:{{{neutral|0}}}|0|| {{!}} align="center" {{!}} {{{neutral}}} ({{roundup|{{#expr:({{{neutral}}} / {{{totalvotes}}}) * 100}}}}%) }} | {{#ifeq:{{{neutral|0}}}|0|| {{!}} align="center" {{!}} {{{neutral}}} ({{roundup|{{#expr:({{{neutral}}} / {{{totalvotes}}}) * 100}}}}%) }} | ||
{{#ifeq:{{{abstain|0}}}|0|| {{!}} align="center" {{!}} {{{abstain}}} ({{roundup|{{#expr:({{{abstain}}} / {{{totalvotes}}}) * 100}}}}%) }} | {{#ifeq:{{{abstain|0}}}|0|| {{!}} align="center" {{!}} {{{abstain}}} ({{roundup|{{#expr:({{{abstain}}} / {{{totalvotes}}}) * 100}}}}%) }} | ||
{{#ifeq:{{{keep|0}}}|0|| {{!}} {{#ifeq:{{#expr:{{#expr:({{{keep}}} / {{{totalvotes}}} * 100}} | {{#ifeq:{{{keep|0}}}|0|| {{!}} {{#ifeq:{{#expr:{{#expr:({{{keep}}} / {{{totalvotes}}} * 100}} >= 80}}|1|class="infoboxheader"}} align="center" {{!}} {{{keep}}} ({{roundup|{{#expr:({{{keep}}} / {{{totalvotes}}}) * 100}}}}%) }} | ||
{{#ifeq:{{{delete|0}}}|0|| {{!}} {{#ifeq:{{#expr:{{#expr:({{{delete}}} / {{{totalvotes}}} * 100}} | {{#ifeq:{{{delete|0}}}|0|| {{!}} {{#ifeq:{{#expr:{{#expr:({{{delete}}} / {{{totalvotes}}} * 100}} >= 80}}|1|class="infoboxheader"}} align="center" {{!}} {{{delete}}} ({{roundup|{{#expr:({{{delete}}} / {{{totalvotes}}}) * 100}}}}%) }} |- style="text-align: center;" | ||
! class="infoboxheader" colspan="{{{typetotal}}}" | Total Votes: {{{totalvotes}}} | ! class="infoboxheader" colspan="{{{typetotal}}}" | Total Votes: {{{totalvotes}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
This template is used by the [[User:VoteBot|Vote Bot]] is displaying the votes that tallied. It will only show base on what is greater than 0 | This template is used by the [[User:VoteBot|Vote Bot]] is displaying the votes that tallied. It will only show base on what is greater than 0. | ||
== Example Code & Output == | == Example Code & Output == | ||
<pre> | <pre> | ||