Difference between revisions of "Template:BotTask"
Jump to navigation
Jump to search
imported>Enterprisey (adding an icon for the "BRFA open" state) |
imported>Enterprisey (+name param) |
||
| Line 1: | Line 1: | ||
<noinclude>{{BotTask/Top}}</noinclude> | <noinclude>{{BotTask/Top}}</noinclude> | ||
|- | |- | ||
| − | | {{#switch: {{{2}}} |#default=[[Wikipedia:Bots/Requests_for_approval/{{BASEPAGENAME}}_{{#switch: {{{1}}} |1=|#default={{{1|1}}}}}|Task {{{1|1}}}]] |NA=Task {{{1}}}}} | + | | {{#switch: {{{2}}} |#default=[[Wikipedia:Bots/Requests_for_approval/{{{name|{{BASEPAGENAME}}}}}_{{#switch: {{{1}}} |1=|#default={{{1|1}}}}}|Task {{{1|1}}}]] |NA=Task {{{1}}}}} |
|| {{#switch: {{{2}}} |#default={{Bot{{{2|Status}}}}} |NA='''Not Applicable''' |Open=[[Image:Symbol wait.svg|17px]] '''BRFA open'''}} | || {{#switch: {{{2}}} |#default={{Bot{{{2|Status}}}}} |NA='''Not Applicable''' |Open=[[Image:Symbol wait.svg|17px]] '''BRFA open'''}} | ||
|| {{{4|No Description}}} | || {{{4|No Description}}} | ||
Revision as of 17:22, 6 December 2016
| Bot Task | Status | Description | Activity |
|---|---|---|---|
| Task 1 | No Description | Template:WP:Registered bots/inactive |
Contents
Usage
{{BotTask|Task number|Status|Activity|Description}}
where:
- Task number is the number of this bot; for instance, ExampleBot's second BRFA would have a task number of 2.
- Status is, for instance, Approved, Denied, Trial, ExtendedTrial, TrialComplete or Open (i.e. the BRFA was just opened). Any name of a bot status subtemplate will work, such as Speedy (which will transclude {{BotSpeedy}}) or, in general, Foo (which will transclude {{BotFoo}}). See {{BAG Tools}} for a complete list.
- Activity is, for instance, active or inactive. Any name of a subpage of WP:Registered bots will work.
- Description is a description of the bot's task.
Example
You'll need to add a {{BotTask/Top}} before a list of bot tasks and a |} afterwards, like so:
{{BotTask/Top}}
{{BotTask|1|Approved|active|Reticulates splines.}}
{{BotTask|2|Approved|inactive|Templates Jimbo.}}
|}
which will produce this table:
| Bot Task | Status | Description | Activity |
|---|---|---|---|
| Task 1 | Reticulates splines. | Template:WP:Registered bots/active | |
| Task 2 | Templates Jimbo. | Template:WP:Registered bots/inactive |
Other bot name
You can override the bot name used in the BRFA link by passing in a |name= parameter.
See also
- {{BotS}}
| The above documentation is transcluded from Template:BotTask/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |