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

Content deleted Content added
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.
captions
Line 4:
| {{{{{|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}}}|fail|pass<!-- this is intentionally backwards -->}}}}}|fail|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|Cannot pass due to not having enough remaining votes to reach a support majority|20px|alt=CANNOTCannot PASSpass|link=]] | {{{{{|safesubst:}}}#ifeq:{{{pass|}}}|pass|bgcolor="#CCFFCC" {{!}} [[File:Artículo bueno.svg|20px|Passing|alt=PASSINGPassing|link=]]|bgcolor="#E0E0E0" {{!}} [[Image:Symbol na class.svg|20px|Currently not passing, but with more supports could pass|alt=CURRENTLYCurrently NOTnot PASSINGpassing|link=]] }}}}}}
| {{{{{|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" {{!}} }} }} {{{{{|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>