Difference between revisions of "Template:BotTask/doc"

From blackwiki
Jump to navigation Jump to search
imported>Enterprisey
(add category)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
where:
 
where:
  
* <tt>''Task number''</tt> is the number of this bot; for instance, ExampleBot's second BRFA would have a task number of 2.
+
* <kbd>''Task number''</kbd> is the number of this bot; for instance, ExampleBot's second BRFA would have a task number of 2.
* <tt>''Status''</tt> is, for instance, <tt>Approved</tt>, <tt>Denied</tt>, <tt>Trial</tt>, <tt>ExtendedTrial</tt>, <tt>TrialComplete</tt> or <tt>Open</tt> (i.e. the BRFA was just opened). Any name of a [[Template:Botstatus|bot status]] subtemplate will work, such as <tt>Speedy</tt> (which will transclude {{tl|BotSpeedy}}) or, in general, <tt>Foo</tt> (which will transclude {{tl|BotFoo}}). See {{tl|BAG Tools}} for a complete list.
+
* <kbd>''Status''</kbd> is, for instance, <kbd>Approved</kbd>, <kbd>Denied</kbd>, <kbd>Trial</kbd>, <kbd>ExtendedTrial</kbd>, <kbd>TrialComplete</kbd> or <kbd>Open</kbd> (i.e. the BRFA was just opened). Any name of a [[Template:Botstatus|bot status]] subtemplate will work, such as <kbd>Speedy</kbd> (which will transclude {{tl|BotSpeedy}}) or, in general, <kbd>Foo</kbd> (which will transclude {{tl|BotFoo}}). See {{tl|BAG Tools}} for a complete list.
* <tt>''Activity''</tt> is, for instance, <tt>active</tt> or <tt>inactive</tt>. Any name of a [[Special:PrefixIndex/WP:Registered bots|subpage of WP:Registered bots]] will work.
+
* <kbd>''Activity''</kbd> is, for instance, <kbd>active</kbd> or <kbd>inactive</kbd>. Any name of a [[Special:PrefixIndex/WP:Registered bots|subpage of WP:Registered bots]] will work.
* <tt>''Description''</tt> is a description of the bot's task.
+
* <kbd>''Description''</kbd> is a description of the bot's task.
  
 
=== Example ===
 
=== Example ===
You'll need to add a {{tl|BotTask/Top}} before a list of bot tasks and a <tt><nowiki>|}</nowiki></tt> afterwards, like so:
+
You'll need to add a {{tl|BotTask/Top}} before a list of bot tasks and a <kbd><nowiki>|}</nowiki></kbd> afterwards, like so:
  
 
  {{tl|BotTask/Top}}
 
  {{tl|BotTask/Top}}
Line 29: Line 29:
 
You can override the bot name used in the [[WP:BRFA|BRFA]] link by passing in a {{para|name}} parameter.
 
You can override the bot name used in the [[WP:BRFA|BRFA]] link by passing in a {{para|name}} parameter.
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
== See also ==
 +
* {{tl|BotS}}
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Wikipedia bot-related templates|{{PAGENAME}}]]
 
[[Category:Wikipedia bot-related templates|{{PAGENAME}}]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 00:16, 24 April 2020

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.

See also