Difference between revisions of "Template:Bureaucrat candidate"

From blackwiki
Jump to navigation Jump to search
imported>Enterprisey
(changing the Xtools report to the vote-history tool)
imported>Enterprisey
(well, shame on me for thinking that MediaWiki could handle a non-external link in there :))
Line 7: Line 7:
 
|{{#ifeq:{{{expired}}}|yes|style="background-color: #F8CDC6;"}}|{{#invoke:String|replace|{{{time left}}}|(1 %l+)s|%1|5=false}}{{#ifeq:{{lc:{{{dups}}}}}|hide||
 
|{{#ifeq:{{{expired}}}|yes|style="background-color: #F8CDC6;"}}|{{#invoke:String|replace|{{{time left}}}|(1 %l+)s|%1|5=false}}{{#ifeq:{{lc:{{{dups}}}}}|hide||
 
<td style="{{#ifeq:{{{expired}}}|yes|background: #F8CDC6;}}text-align: center;">{{{dups}}}</td>}}
 
<td style="{{#ifeq:{{{expired}}}|yes|background: #F8CDC6;}}text-align: center;">{{{dups}}}</td>}}
|{{#ifeq:{{{expired}}}|yes|style="background-color: #F8CDC6;"}}|[[toollabs:apersonbot/vote-history?page=WP:Requests_for_{{#ifeq:{{{rfa}}}|yes|adminship|bureaucratship}}/{{urlencode:{{{candidate}}}}}|report]]</includeonly><noinclude>
+
|{{#ifeq:{{{expired}}}|yes|style="background-color: #F8CDC6;"}}|[//tools.wmflabs.org/apersonbot/vote-history?page=WP:Requests_for_{{#ifeq:{{{rfa}}}|yes|adminship|bureaucratship}}/{{urlencode:{{{candidate}}}}} report]</includeonly><noinclude>
  
 
<!-- ADD INTERWIKIS AND CATEGORIES TO THE DOCUMENTATION, NOT HERE THANKS -->
 
<!-- ADD INTERWIKIS AND CATEGORIES TO THE DOCUMENTATION, NOT HERE THANKS -->
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:34, 22 January 2017


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

This template is used by Template:U, for RfA and RfB statistical tracking. It's designed to be used inside of a wikitable. You can see this template in action at the RfX Report.

Parameters

  • Candidate = The candidate's Wikipedia nick
  • Support = The number of supports
  • Oppose = The number of Opposes
  • Neutral = The Number of Neutrals
  • End date = The date the RfX ends
  • Time left = The amount of time left before the RfX ends
  • Dups = If the bot detected duplicates
  • Rfa = Yes, if it's an RfA, corrects links
  • crat = yes, if it's an RfB
  • Expired = If yes, the RfX is past closing time

Example

{{Bureaucrat candidate|candidate=Example|support=60|oppose=6|neutral=4|end date=01:16, 22 September 2025|time left=6 days, 6 hours|dups=no|rfa=yes}}

Would output (Inside a wikitable):

Example 60 6 4 91 01:16, 22 September 2025 6 days, 6 hoursno report

Colors

Template:Bureaucrat candidate/expr sets the color associated with each percentage level of support:

100%
99% 98% 97% 96% 95% 94% 93% 92% 91% 90%
89% 88% 87% 86% 85% 84% 83% 82% 81% 80%
79% 78% 77% 76% 75% 74% 73% 72% 71% 70%
69% 68% 67% 66% 65% 64% 63% 62% 61% 60%
59% 58% 57% 56% 55% 54% 53% 52% 51% 50%
49% 48% 47% 46% 45% 44% 43% 42% 41% 40%
39% 38% 37% 36% 35% 34% 33% 32% 31% 30%
29% 28% 27% 26% 25% 24% 23% 22% 21% 20%
19% 18% 17% 16% 15% 14% 13% 12% 11% 10%
9% 8% 7% 6% 5% 4% 3% 2% 1% 0%

As WP:RFB says, "the expectation for promotion to bureaucratship is significantly higher than for admin, requiring a clearer consensus. In general, the threshold for consensus is somewhere around 85%.", Template:Bureaucrat candidate/expr2 is used to set the color map for bureaucrats:

100%
99% 98% 97% 96% 95% 94% 93% 92% 91% 90%
89% 88% 87% 86% 85% 84% 83% 82% 81% 80%
79% 78% 77% 76% 75% 74% 73% 72% 71% 70%
69% 68% 67% 66% 65% 64% 63% 62% 61% 60%
59% 58% 57% 56% 55% 54% 53% 52% 51% 50%
49% 48% 47% 46% 45% 44% 43% 42% 41% 40%
39% 38% 37% 36% 35% 34% 33% 32% 31% 30%
29% 28% 27% 26% 25% 24% 23% 22% 21% 20%
19% 18% 17% 16% 15% 14% 13% 12% 11% 10%
9% 8% 7% 6% 5% 4% 3% 2% 1% 0%