Difference between revisions of "Template:ACImplNotes/Proposal"

From blackwiki
Jump to navigation Jump to search
blackwiki>Timotheus Canens
m (more)
blackwiki>Callanecc
(Adding documentation)
Line 8: Line 8:
 
| {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|bgcolor="#E9FEE9" {{!}} |bgcolor="#FDEDED" {{!}}  }} {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|fail|pass}}}}}<!-- this is intentionally backwards -->|fail|'''·'''|{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}})  | Cannot pass | {{{{{|safesubst:}}}#expr:((floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1) - {{{support|0}}} }}}} }}
 
| {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|bgcolor="#E9FEE9" {{!}} |bgcolor="#FDEDED" {{!}}  }} {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|fail|pass}}}}}<!-- this is intentionally backwards -->|fail|'''·'''|{{{{{|safesubst:}}}#ifexpr: ((floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1 + {{{oppose|0}}}) > ({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}})  | Cannot pass | {{{{{|safesubst:}}}#expr:((floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1) - {{{support|0}}} }}}} }}
 
|  {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|bgcolor="#E9FEE9" {{!}} |bgcolor="#FDEDED" {{!}}  }} {{{notes|}}}<noinclude>
 
|  {{{{{|safesubst:}}}#ifeq:{{{pass|{{{{{|safesubst:}}}#ifexpr: (floor (({{{active|{{{{{|safesubst:}}}Casenav/data|{{{{{|safesubst:}}}#titleparts: {{{{{|safesubst:}}}FULLPAGENAME}} | 1 | 4 }}-active}}}}} - {{{abstain|0}}}) div 2)) + 1 <= {{{support|0}}}|pass|fail}}}}}|pass|bgcolor="#E9FEE9" {{!}} |bgcolor="#FDEDED" {{!}}  }} {{{notes|}}}<noinclude>
----
+
{{documentation}}
;Syntax
+
</noinclude>
 
 
<nowiki>{{</nowiki>{{PAGENAME}}
 
| anchor = HTML section anchor, if different from name (for cases with special characters or duplicate section names).
 
            This follows the # in your address bar when clicking on the section name from the TOC.
 
| name = Name of the proposal
 
| number = PD Reference number (1, 1.1, etc.)
 
| support = # of Arbs supporting (including 1st/2nd conditional votes)
 
| oppose = # of Arbs opposing
 
| abstain = # of Arbs abstaining
 
| pass = "fail" (without quotes) if an alternate version of the proposal is passing. This will override the automatic pass/fail calculator.
 
| notes = Use <nowiki><ref></nowiki> tags here to mark special circumstances (An alternate is passing, passing due to abstentions, etc.)
 
}}<noinclude>{{pp-template|small=yes}}{{pp-move-indef|small=yes}}</noinclude>
 

Revision as of 00:05, 18 April 2014

|- ! style="background:#FDEDED !important;" | {{{number}}} | bgcolor="#FDEDED" | [[#{{{name}}}|{{{name}}}]] | bgcolor="#FDEDED" | 0 | bgcolor="#FDEDED" | 0 | bgcolor="#FDEDED" | 0 | bgcolor="#FFCCCC" | 20px | bgcolor="#FDEDED" | Cannot pass | bgcolor="#FDEDED" |

50px Template documentation[view] [edit] [history] [purge]

Usage

{{ACImplNotes/Proposal |anchor=                        |name=                        
                                                           |number= |support= |oppose= |abstain= |notes= }}
{{ACImplNotes/Proposal |name=                              |number= |support= |oppose= |abstain= |notes= }}
{{ACImplNotes/Proposal |name=                              |number= |support= |oppose= |abstain= |notes= }}
{{ACImplNotes/Proposal |name=                              |number= |support= |oppose= |abstain= |notes= }}
{{ACImplNotes/Proposal |name=                              |number= |support= |oppose= |abstain= |notes= }}

Parameters

{{ACImplNotes/Proposal
| anchor = HTML section anchor, if different from name (for cases with special characters or duplicate section names). 
           This follows the # in your address bar when clicking on the section name from the table of contents.
| name = Name of the proposal
| number = PD Reference number (1, 1.1, etc.)
| support = Number of Arbs supporting (including 1st/2nd conditional votes)
| oppose = Number of Arbs opposing
| abstain = Number of Arbs abstaining
| pass = "fail" (without quotes) if an alternate version of the proposal is passing or "pass" (without quotes) for the standard enforcement provision. This will override the automatic pass/fail calculator. 
| notes = Use <ref> tags here to mark special circumstances (An alternate is passing, notate first and second choices)
| active = override the number of active arbitrators which is normally pulled from {{casenav/data}}; do not use this parameter (with or without a value) unless you want to do that.
}}