Difference between revisions of "Template:BotTask/doc"

From blackwiki
Jump to navigation Jump to search
imported>Enterprisey
(→‎Usage: update)
imported>Enterprisey
(add category)
Line 31: Line 31:
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
+
[[Category:Wikipedia bot-related templates|{{PAGENAME}}]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 19:41, 20 December 2016

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  Approved. Reticulates splines. Template:WP:Registered bots/active
Task 2  Approved. 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.