Template:Initiated/sandbox
(Initiated 0 days ago on 11 November 2024)
This is the template sandbox page for Template:Initiated (diff). See also the companion subpage for test cases. |
Usage
[edit]This template adds some color coding to requests on WP:ANRFC that allows a closer to quickly see which ones have been waiting the longest for a close.
{{Initiated|DATE|type=|done=}}
Replace DATE
with the day the discussion was initiated in "DAY MONTH YEAR" format with the month as a word (example: 22 January 2014).
Set the type by filling in the |type=
parameter with the discussion type's code (which will be automatically normalized to lowercase letters). Valid values are: afd; block; cfd; drv; ffd; mfd; mrv; rfa; rfc (default); rfd; rm; rmv; tban; tfd; xfd. If another value is used, or this parameter is left blank, it defaults to rfc.
It color codes into three categories:
- If the request was initiated less than 30 (7 for XfD, 14 for RM, 3 for Topic Ban requests) days ago, the template text will display in blue.
- If the request was initiated 31 to 60 (8 to 21 for XfD, 15 to 30 for RM, 3 to 7 for Topic Ban requests) days ago, the template text will display in green.
- If the request was initiated more than 60 (21 for XfD, 30 for RM, 7 for Topic Ban requests) days ago, the template text will display in red.
In addition to the visual colorings, requests more than 60 (21 for XfD/xRv, 7 for Topic Ban requests) days old will also add non-"archive" pages the template is used on to Category:Administrative backlog.
You can also use this to mention previous discussions by using the |from=
parameter which will prevent coloring and categorization but will use the same styling.
When requests are completed, please mark them with |done=yes
to remove the formatting and disable the categorization.
TemplateData
[edit]TemplateData for Initiated
This template adds some color coding to requests on WP:ANRFC that allows the closer to quickly see which ones have been waiting for the longest for a close.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | 1 | no description | Date | required |
from | from | no description | Unknown | optional |
Request completed? | done | When no further action is required for this request, set this parameter to "yes"
| String | optional |
closed | closed | no description | Unknown | optional |
Discussion type | type | Code of the discussion type
| String | optional |