Difference between revisions of "Template:Admin service awards/select"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jkudlick
(no longer necessary)
blackwiki>Jkudlick
(updated actions for each level)
Line 1: Line 1:
 +
{{ #ifexpr: {{{actions|2000000}}} >= 62000
 +
        and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} + 16 years}}            | 20 |
 
{{ #ifexpr: {{{actions|2000000}}} >= 42000
 
{{ #ifexpr: {{{actions|2000000}}} >= 42000
        and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} + 16 years}}            | 20 |
 
{{ #ifexpr: {{{actions|2000000}}} >= 36000
 
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} + 14 years}}            | 19 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} + 14 years}}            | 19 |
{{ #ifexpr: {{{actions|2000000}}} >= 20000
+
{{ #ifexpr: {{{actions|2000000}}} >= 27000
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} + 12 years}}            | 18 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} + 12 years}}            | 18 |
{{ #ifexpr: {{{actions|2000000}}} >= 7800
+
{{ #ifexpr: {{{actions|2000000}}} >= 17000
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} + 10 years}}            | 17 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} + 10 years}}            | 17 |
{{ #ifexpr: {{{actions|2000000}}} >= 6000
+
{{ #ifexpr: {{{actions|2000000}}} >= 12000
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  8 years}}            | 16 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  8 years}}            | 16 |
{{ #ifexpr: {{{actions|2000000}}} >=  5100
+
{{ #ifexpr: {{{actions|2000000}}} >=  9000
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  7 years}}            | 15 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  7 years}}            | 15 |
{{ #ifexpr: {{{actions|2000000}}} >=  4200
+
{{ #ifexpr: {{{actions|2000000}}} >=  7000
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  6 years}}            | 14 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  6 years}}            | 14 |
{{ #ifexpr: {{{actions|2000000}}} >=  3300
+
{{ #ifexpr: {{{actions|2000000}}} >=  5700
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  5 years}}            | 13 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  5 years}}            | 13 |
{{ #ifexpr: {{{actions|2000000}}} >=  2850
+
{{ #ifexpr: {{{actions|2000000}}} >=  4500
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  4 years + 6 months}} | 12 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  4 years + 6 months}} | 12 |
{{ #ifexpr: {{{actions|2000000}}} >=  2400
+
{{ #ifexpr: {{{actions|2000000}}} >=  3500
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  4 years}}            | 11 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  4 years}}            | 11 |
{{ #ifexpr: {{{actions|2000000}}} >=  2000
+
{{ #ifexpr: {{{actions|2000000}}} >=  2600
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  3 years + 6 months}} | 10 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  3 years + 6 months}} | 10 |
{{ #ifexpr: {{{actions|2000000}}} >=  1600
+
{{ #ifexpr: {{{actions|2000000}}} >=  1800
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  3 years}}            |  9 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  3 years}}            |  9 |
 
{{ #ifexpr: {{{actions|2000000}}} >=  1200
 
{{ #ifexpr: {{{actions|2000000}}} >=  1200
Line 27: Line 27:
 
{{ #ifexpr: {{{actions|2000000}}} >=  800
 
{{ #ifexpr: {{{actions|2000000}}} >=  800
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  2 years}}            |  7 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  2 years}}            |  7 |
{{ #ifexpr: {{{actions|2000000}}} >=  600
+
{{ #ifexpr: {{{actions|2000000}}} >=  500
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  1 year  + 6 months}} |  6 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  1 year  + 6 months}} |  6 |
{{ #ifexpr: {{{actions|2000000}}} >=  400
+
{{ #ifexpr: {{{actions|2000000}}} >=  350
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  1 year}}            |  5 |
 
         and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} +  1 year}}            |  5 |
 
{{ #ifexpr: {{{actions|2000000}}} >=  200
 
{{ #ifexpr: {{{actions|2000000}}} >=  200

Revision as of 09:17, 23 August 2019

20

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

This is the {{Admin service awards/select}} subtemplate.

Usage

This subtemplate is called by {{Admin service awards}} to determine which award to display based upon an administrator's length of service and number of administrative actions taken. The output is a number from 1 to 20 to reflect the level of the award, or 0 if the editor is not entitled to an award.

Do not use this template directly. Use {{Admin service awards}} instead.

Parameter Definition
{{{date}}} The date on which the editor was created an administrator, in yyyy-mm-dd format. (Passed from {{Admin service awards}})
{{{actions}}} The number of administrative actions taken by the administrator. (Passed from {{Admin service awards}})

See also