Difference between revisions of "Template:ACMajority"

From blackwiki
Jump to navigation Jump to search
blackwiki>AGK
m (Protected Template:ACMajority ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite)))
blackwiki>Jenks24
m (fixed dashes using a script)
Line 11: Line 11:
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))+1}}
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))+1}}
 
{{!-}}
 
{{!-}}
{{!}} 1-2
+
{{!}} 1–2
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))}}
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))}}
 
{{!-}}
 
{{!-}}
{{!}} 3-4
+
{{!}} 3–4
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))-1}}
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))-1}}
 
|
 
|
{{!}} 0-1
+
{{!}} 0–1
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))+1}}
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))+1}}
 
{{!-}}
 
{{!-}}
{{!}} 2-3
+
{{!}} 2–3
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))}}
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))}}
 
{{!-}}
 
{{!-}}
{{!}} 4-5
+
{{!}} 4–5
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))-1}}
 
{{!}} {{#expr:(floor ({{{active|{{{1|13}}}}}}/2))-1}}
 
}}
 
}}

Revision as of 09:26, 8 March 2011

For this case, there are 13 active arbitrators, so 7 support votes are a majority.

Majority reference
Abstentions Support votes needed for majority
0–1 7
2–3 6
4–5 5

Syntax: {{ACMajority|active = # |inactive = # |recused = # }}

{{ACMajority|active = 11 |inactive = 1 |recused = 2 }} yields:
For this case, there are 11 active arbitrators, not counting 1 who is inactive and 2 who are recused, so 6 support votes are a majority.

Majority reference
Abstentions Support votes needed for majority
0–1 6
2–3 5
4–5 4