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

Content deleted Content added
captions
sync from sandbox. Add competingpasses and associated behaviour
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" {{!}}|{{{{{|safesubst:}}}#ifeq:{{yesno|{{{competingpasses|}}}}}|yes|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" {{!}}|{{{{{|safesubst:}}}#ifeq:{{yesno|{{{competingpasses|}}}}}|yes|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" {{!}}|{{{{{|safesubst:}}}#ifeq:{{yesno|{{{competingpasses|}}}}}|yes|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" {{!}}|{{{{{|safesubst:}}}#ifeq:{{yesno|{{{competingpasses|}}}}}|yes|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=Cannot pass|link=]] | {{{{{|safesubst:}}}#ifeq:{{{pass|}}}|pass|bgcolor="#CCFFCC" {{!}} [[File:Artículo bueno.svg|20px|Passing|alt=Passing|link=]]|{{{{{|safesubst:}}}#ifeq:{{yesno|{{{competingpasses|}}}}}|yes|bgcolor="#FFCCCC" {{!}} [[Image:Symbol delete vote darkened.svg|Cannot pass due to a competing motion passing|20px|alt=Cannot pass|link=]]|bgcolor="#E0E0E0" {{!}} [[Image:Symbol na class.svg|20px|Currently not passing, but with more supports could pass|alt=Currently not passing|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" {{!}}|{{{{{|safesubst:}}}#ifeq:{{yesno|{{{competingpasses|}}}}}|yes|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:}}}#ifeq:{{yesno|{{{competingpasses|}}}}}|yes| Cannot 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" {{!}}|{{{{{|safesubst:}}}#ifeq:{{yesno|{{{competingpasses|}}}}}|yes|style="background:#FDEDED !important" {{!}}|style="background:#f7f7f7 !important" {{!}} }} }} }} {{{notes|{{{{{|safesubst:}}}#ifeq:{{yesno|{{{competingpasses|}}}}}|yes|Cannot pass due to a competing motion passing|}}}}}<noinclude>
{{documentation}}
</noinclude>