Difference between revisions of "Template:AfC backlog elimination drive/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Enterprisey
m (Updated sandbox version to match main version (correct dates))
m (11 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ombox
+
{{Ombox
|text=
+
  | text = {{#ifeq:{{{1|}}}|none|The next backlog elimination drive has not been scheduled.|{{countdown
{{#switch: {{{1}}}
+
    | year         = {{#time:Y|{{{1|1/1/100}}}}}
| none = The next backlog elimination drive has not been scheduled.
+
    | month         = {{#time:m|{{{1|1/1/100}}}}}
| start = {{countdown | year = 2013 | month = 7 | day = 01 | hour=00 | minute=00
+
    | day           = {{#time:j|{{{1|1/1/100}}}}}
        | event = the [[Wikipedia:WikiProject Articles for creation/July 2013 Backlog Elimination Drive|next backlog elimination drive]] starts
+
    | hour         = 00
        | eventend = The [[Wikipedia:WikiProject Articles for creation/July 2013 Backlog Elimination Drive|backlog elimination drive]] started on July 1st.
+
    | minute       = 00
      }}
+
    | duration      = {{#time:t|{{{1|1/1/100}}}}}
| end = {{countdown | year=2013 | month=7 | day=31 | hour=23 | minute=59
+
    | duration unit = days
        |event = the [[Wikipedia:WikiProject Articles for creation/July 2013 Backlog Elimination Drive|backlog elimination drive]] ends
+
    | event         = the [[Wikipedia:WikiProject Articles for creation/{{#time:F Y|{{{1|1/1/100}}}}} Backlog Elimination Drive|next backlog elimination drive]] starts
        |eventstart =
+
    | eventstart    = The [[Wikipedia:WikiProject Articles for creation/{{#time:F Y|{{{1|1/1/100}}}}} Backlog Elimination Drive|backlog elimination drive]] started on {{#time:F "1st," Y|{{{1|1/1/100}}}}} (UTC).
        |eventend = The [[Wikipedia:WikiProject Articles for creation/July 2013 Backlog Elimination Drive|backlog elimination drive]] ended at 00:00 April 1, 2013 (UTC).
+
    | eventend      = The [[Wikipedia:WikiProject Articles for creation/{{#time:F Y|{{{1|1/1/100}}}}} Backlog Elimination Drive|backlog elimination drive]] ended on {{#time:F {{#time:t|{{{1|1/1/100}}}}}, Y|{{{1|1/1/100}}}}} (UTC).
      }}
+
  }} }}
| The next backlog elimination drive has not been scheduled.
+
  {{Navbar|AfC backlog elimination drive|mini=1|style=float: right;}}
}}
+
}}<noinclude>{{Documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS --></noinclude>
{{navbar|AfC backlog elimination drive|mini=1|style=float:right}}
 
}}<noinclude>
 
 
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 

Latest revision as of 10:56, 18 October 2020

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

The sole purpose of this template is to provide a way to announce the time of the next AfC backlog drive, or the lack thereof. To this end, the template has one parameter that can be set to each of the three different states.

Usage

The only place this template should be used is on the AfC WikiProject's Backlog elimination drives page via the header template.

Parameters

This template takes one optional unnamed parameter. The three possible values of that parameter are:

  • none - No drive scheduled. The default state.
  • start month/year - Countdown to start. Shows a countdown to the start of the next drive.

Examples

Who can I blame for this template?

If you have any questions or comments, feel free to yell at Technical 13 (talk⧼dot-separator⧽contribs) or APerson (talk⧼dot-separator⧽contribs).

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for AfC backlog elimination drive

The sole purpose of this template is to provide a way to announce the time of the next AfC backlog drive, or the lack thereof. The only place this template should be used is on the AfC WikiProject's Backlog elimination drives page.

Template parameters

ParameterDescriptionTypeStatus
Type1

This template takes one optional unnamed parameter. The three possible values of that parameter are:

  • <kbd>none</kbd> - '''No drive scheduled.''' The default state.
  • <kbd>start</kbd> - '''Countdown to start.''' Shows a countdown to the start of the next drive. The template should be left in this state until shortly after the drive actually starts.
  • <kbd>end</kbd> - '''Countdown to end.''' Shows a countdown to the end of the upcoming or current drive. The template should be changed to this state one day before the start of the upcoming or current drive.

    Default
    none
Stringrequired