Difference between revisions of "Template:Admin service awards/select"
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}}} + 14 years}} | 19 | | and {{#time:U}} >= {{#time:U|{{{date|1995-01-01}}} + 14 years}} | 19 | | ||
| − | {{ #ifexpr: {{{actions|2000000}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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}}} >= | + | {{ #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
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
- Template:Admin service awards
- Template:Service awards - the template and associated subtemplates on which this template and associated subtemplates are based. Please see the histories of those templates for attribution.
| The above documentation is transcluded from Template:Admin service awards/select/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |