Template:Arbitration motion implementation notes/Motion: Difference between revisions

Content deleted Content added
fix
sync from sandbox. Add grey colour when motion could pass if it receives more support, so that only motions which cannot pass are shown in red.
Line 1:
|-
! {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|style="background:#E9FEE9 !important;" {{!}} |{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|0}}} - {{{abstain|0}}}) |style="background:#FDEDED !important;" {{!}}|style="background:#f7f7f7 !important" {{!}} }} }} [[#{{{anchor|{{{name}}}}}}|{{{name}}}]]
| {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|style="background:#E9FEE9 !important;" {{!}} |{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|0}}} - {{{abstain|0}}}) |style="background:#FDEDED !important;" {{!}}|style="background:#f7f7f7 !important" {{!}} }} }} {{{support|0}}}
| {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|style="background:#E9FEE9 !important;" {{!}} |{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|0}}} - {{{abstain|0}}}) |style="background:#FDEDED !important;" {{!}}|style="background:#f7f7f7 !important" {{!}} }} }} {{{oppose|0}}}
| {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|style="background:#E9FEE9 !important;" {{!}} |{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|0}}} - {{{abstain|0}}}) |style="background:#FDEDED !important;" {{!}}|style="background:#f7f7f7 !important" {{!}} }} }} {{{abstain|0}}}
| {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail|pass<!-- this is intentionally backwards -->}}}}}|passfail|bgcolor="#CCFFCC" {{!}} [[File:Artículo bueno.svg|20px|alt=PASSING|link=]]|{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|0}}} - {{{abstain|0}}}) | bgcolor="#FFCCCC" {{!}} [[Image:Symbol delete vote darkened.svg|20px|alt=CANNOT PASS|link=]] | {{{{{|safesubst:}}}#ifeq:{{{pass|}}}|pass|bgcolor="#CCFFCC" {{!}} [[File:Artículo bueno.svg|20px|alt=PASSING|link=]]|bgcolor="#E0E0E0" {{!}} [[Image:Symbol na class.svg|20px|alt=CURRENTLY NOT PASSING|link=]] }}}}}}
| {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|bgcolorstyle="background:#E9FEE9 !important" {{!}} |bgcolor{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|0}}} - {{{abstain|0}}}) |style="background:#FDEDED !important" {{!}}|style="background:#f7f7f7 !important" {{!}} }} }} {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|fail|pass<!-- this is intentionally backwards -->}}}}}|fail|'''·'''|{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|0}}} - {{{abstain|0}}}) | Cannot pass | {{{{{|safesubst:}}}#ifeq:{{{pass|}}}|pass|'''·'''|{{{{{|safesubst:}}}#expr:((floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1) - {{{support|0}}} }}}}}} }}
| {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|style="background:#E9FEE9 !important;" {{!}} |{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|0}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|0}}} - {{{abstain|0}}}) |style="background:#FDEDED !important;" {{!}}|style="background:#f7f7f7 !important" {{!}} }} }} {{{notes|}}}<noinclude>
{{documentation}}
</noinclude>